rose diagram, changes with the matlab2014?

1 view (last 30 days)
jaribeiro
jaribeiro on 6 Jul 2015
Edited: jaribeiro on 7 Jul 2015
Until now I've been using the 2011b version. Just got the update to the matlab 2014b.
I had some rose diagrams which code worked just fine in the old version, now with the 2014b, the coloring of the rose diagram doesn't work.
Could someone help me with this?
This is my code:
b=rose(degtorad(A.data(:,2)),72);
set(b,'LineWidth',1,'Color','k');
x = get(b,'XData');
y = get(b,'YData');
g=patch(x,y,'r');
set(gca,'View',[-90 90],'YDir','reverse');

Answers (0)

Categories

Find more on Chemistry in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!