How to plot polar curve in both upper and lower half region?

4 views (last 30 days)
Actually, my results data shows that pressure data generated is positive from 0 to 180 and it is negative in 180 to 360. But when i draw the polar graph for theta against pressure, i find the graph only in upper half i.e. from 0 to 180 but not in lower half. I want the graph which should be in both upper and lower half as it is reflected in result data.
I would appreciate your generous help.
Thanks....
-Rajiv Shah

Answers (1)

Sudhakar Shinde
Sudhakar Shinde on 22 Oct 2020
Edited: Sudhakar Shinde on 22 Oct 2020
Change Polar Axes Limits
By default, negative values of the radius are plotted as positive values in the polar plot. Use rlim to adjust the r-axis limit to include negative values.
see example:
rmin = min(rho);
rmax = max(rho);
rlim([rmin rmax])
  1 Comment
Rajiv Shah
Rajiv Shah on 23 Oct 2020
Thank you for your response but my version of matlab gives error message for rlim command as Undefined function or method 'rlim' for input arguments of type 'double'. I am using Matlab 7.

Sign in to comment.

Categories

Find more on Polar Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!