Hello,
When using the polarhistogram function, I've been setting the rlimits by calling rlim([min max]) after calling polarhistogram. This is the only way I know how to set these rlimits. However, it leads to some frustrating behavior. What before was a white background, now has a circle of blue, either filling the whole circle or just part of it (see below)
It's almost as if a circular polar histogram has been plotted on top of my actual data. Any insight into why this happens, or how I can avoid it?
Here's a reproducible example:
This code:
x = [14 13 17 18 19 20 21 14 16 21 10 11 13 14 20 17 13 15];edges = -190:20:170;polarhistogram('BinEdges',deg2rad(edges),'BinCounts',x, 'Normalization','probability');rlim([.03 .09])
Generates this plot:
Best Answer