% Example 9.11
% This example shows how to use the bagplot function.

% First we load up some data to be use in the plots.
load environmental
% Now we put the data set together.
data = [Temperature,Ozone];
% Save the data in ascii format.
save data -ascii

% Now type the following.
! bagmat
data
111

% After these are entered, you will see some statements.
% Just ignore them.

% Now get the plot.
bagplot
xlabel('Temperature')
ylabel('Ozone')
