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

6 次查看(过去 30 天)
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

回答(1 个)

Sudhakar Shinde
Sudhakar Shinde 2020-10-22
编辑:Sudhakar Shinde 2020-10-22
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 个评论
Rajiv Shah
Rajiv Shah 2020-10-23
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Polar Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by