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

7 Ansichten (letzte 30 Tage)
Rajiv Shah
Rajiv Shah am 22 Okt. 2020
Kommentiert: Rajiv Shah am 23 Okt. 2020
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

Antworten (1)

Sudhakar Shinde
Sudhakar Shinde am 22 Okt. 2020
Bearbeitet: Sudhakar Shinde am 22 Okt. 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 Kommentar
Rajiv Shah
Rajiv Shah am 23 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by