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

2 ビュー (過去 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 Center および File ExchangePolar Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by