I have number of occurrences of different angles, meaning a vector which is 360 elements long and each element does contains the information how often this angle occurred. I aggregate the data beforehand into 10 categories (otherwise I am running into memory problems) and want to obtain a similar plot as if I would use all categories.
clear all
close all
mydata = rand(360,1).*100;
cat_size = 10;
aggreg_sum = sum(reshape(mydata,cat_size,[]))'; %'
figure
subplot 311
rose(mydata)
set(gca,'View',[-90 90],'YDir','reverse');
title ('all raw data')
subplot 312
rose(mydata,10)
set(gca,'View',[-90 90],'YDir','reverse');
title ('all raw data summarized in 10 categories')
subplot 313
rose(aggreg_sum)
set(gca,'View',[-90 90],'YDir','reverse');
title ('aggregated data')
as the rose plot per se has only so many categories as the vector long is (subplot 1: 360, subplot two 360 but pruned down to 10, subplot 3: 10 upscaled automatically) the plots differ. How can I get subplot 3 to match with 2?