Changing the radial range in a polar plot

10 次查看(过去 30 天)
Dear All,
I would like to change the radial range of a polar plot. How can I change the following plot such that radius range is for example 0.3 to 0.4 instead of 0.0 to 0.5?
t = 0 : .01 : 2 * pi;
polar(t, sin(2 * t) .* cos(2 * t), '--r');
Thanks!

回答(1 个)

Kyle Rocha-Brownell
编辑:Kyle Rocha-Brownell 2019-9-18
For future googlers,
After polar(...),
rlim([.3 .5])

类别

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