How can I change polar plot's degree of interval?

조회 수: 3 (최근 30일)
MANWOO
MANWOO 2012년 10월 17일
답변: Adam Danz 2014년 3월 30일
Hi, Guys.
I have a question.
When I plotted polar plot, plot's interval of degree is 30.
I want to change this interval.
So, I want to make plot's interval of degree to 15.
How do I.....

답변 (1개)

Adam Danz
Adam Danz 2014년 3월 30일
Hello, I had the same issue and couldn't find a solution so I wrote a code that does the trick.
After creating your polar plot, you can run this code to adjust the circumference intervals and tickmarks. For example,
p = polar (deg2rad([25, 25]), [0, 33])
h = polarticks(8, p)
This will remove all radii and ticks and replace them with 8 equally spaced intervals (ie, 45 deg). See description within code for more details.
Adam

카테고리

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