I noticed that the title for a plot is obscured when rotating a polar plot 90 degrees. I do this to present data in a compass orientation (0 degrees up). I would like a simple workaround for the plot changing size when the view is rotated.
Refer to the following code:
function polarViewLayoutIssue()% The title fits in this plot nicely (default view).
hAxes = drawPolar();view(hAxes, [0 -90]);% Why does the polar plot expand to obscure the title when rotated?
hAxes = drawPolar();view(hAxes, [90 -90]);endfunction hAxes = drawPolar()hFig = figure();hAxes = axes('Parent', hFig);polar([0 pi/2 pi 3*pi/3], [1 2 3 4])title('Title for this figure')end
Best Answer