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

7 vues (au cours des 30 derniers jours)
Rajiv Shah
Rajiv Shah le 22 Oct 2020
Commenté : Rajiv Shah le 23 Oct 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

Réponses (1)

Sudhakar Shinde
Sudhakar Shinde le 22 Oct 2020
Modifié(e) : Sudhakar Shinde le 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 commentaire
Rajiv Shah
Rajiv Shah le 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Polar Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by