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

조회 수: 7 (최근 30일)
Rajiv Shah
Rajiv Shah 2020년 10월 22일
댓글: Rajiv Shah 2020년 10월 23일
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