% % Example 10.3 Show how to use the hexplot function ... but now we vary the number of bins % % Written by: % -- % John L. Weatherwax 2005-08-14 % % email: wax@alum.mit.edu % % Please send comments and especially bug reports to the % above email address. % %----- close all; drawnow; clear functions; rehash; clc; clear; addpath( '../../Code/eda_data' ); addpath( '../../Code/eda_toolbox' ); addpath( '../Chapter1' ); load oronsay X = [oronsay(:,8),oronsay(:,9)]; % Construct a hexagon scatterplot with 15 bins along the longer dimension. nbins = 5; %hexplot(X,nbins); hexplot(X,nbins,1); colormap(gray);