Changing the radial range in a polar plot

4 views (last 30 days)
AP
AP on 27 Feb 2014
Commented: darova on 18 Sep 2019
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!

Answers (1)

Kyle Rocha-Brownell
Kyle Rocha-Brownell on 18 Sep 2019
Edited: Kyle Rocha-Brownell on 18 Sep 2019
For future googlers,
After polar(...),
rlim([.3 .5])

Categories

Find more on Polar Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!