I am trying to plot normalized, probability histogram with rose function in matlab (I can't use polarhistogram because I do not have the latest version of Matlab. My version is 2015b).
In a normal histogram, I usually do it like this:
h = histogram(x,'Normalization','probability');
But the same doesn't work for rose. If I try passing h.Values to rose plot, this doesn't work, because the rose uses this as the data, not as values...
x=rand(100)*90;
xRad = x(:)./180*pi;
xRadProb = histogram(xRad,'Normalization','probability');
figure(1)
hax = axes();
rose(hax, xRadProb.Values,10)
Any suggestions how to do this? Thanks a lot!