rose diagram - Rotating and reflecting Polarhistogram in MATLAB -
the default orientation polarhistogram plots in matlab 90degrees @ top , 270degrees @ bottom. example:
i orientate plot such north (0degrees) @ top, 90degrees on right, 180degrees on bottom , 270 degrees on left i.e. normal compass. rose (now outdated?) have been possible with:
set(gca,'view',[-90 90],'ydir','reverse');
however, produces errors polarhistogram:
error using matlab.graphics.axis.polaraxes/set polaraxes view property must [0 90]. error in untitled5 (line 77) set(gca,'view',[-90 90],'ydir','reverse');
how can reorientate polarhiostogram?
all modifications can done within polaraxes class
set(gca,'thetazerolocation','top',... 'thetadir','counterclockwise');
Comments
Post a Comment