% % Extends Example 10.2 Show how to use plotmatrix. % % Written by: % -- % John L. Weatherwax 2009-04-21 % % email: wax@alum.mit.edu % % Please send comments and especially bug reports to the % above email address. % %----- close all; drawnow; rehash; clc; clear; addpath( '../../Code/eda_data' ); addpath( '../../Code/eda_toolbox' ); addpath( '../Chapter1' ); load hamster; plotmatrix(X,'.'); % Use all of the variables: % label this outlier as a different class : inds = zeros(1,size(X,1)); inds(53) = 1; % plot all data using gplotmatrix gplotmatrix(X,[],inds); saveas( gcf, '../../WriteUp/Graphics/Chapter10/prob_10_8_gplotmatrix', 'epsc' );