MATLAB Answers

AP
0

Changing the radial range in a polar plot

Asked by AP
on 27 Feb 2014
Latest activity Commented on by darova
on 18 Sep 2019 at 9:43
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!

  0 Comments

Sign in to comment.

1 Answer

Answer by Kyle Rocha-Brownell on 18 Sep 2019 at 3:37
Edited by Kyle Rocha-Brownell on 18 Sep 2019 at 3:37

For future googlers,
After polar(...),
rlim([.3 .5])

  1 Comment

darova
on 18 Sep 2019 at 9:43
Look also HERE if you don't have rlim() function

Sign in to comment.