%% Create Rose Histogram
% Load the |sunspot.dat| data set which contains the 2-column matrix
% |sunspot|. Store the second column of the data set as |theta|.

% Copyright 2015 The MathWorks, Inc.


load sunspot.dat
theta = sunspot(:,2);

%%
% Create a rose histogram of |theta| using 12 bins.
figure
rose(theta,12)
