Changing the radial range in a polar plot

6 visualizzazioni (ultimi 30 giorni)
AP
AP il 27 Feb 2014
Commentato: darova il 18 Set 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!

Risposte (1)

Kyle Rocha-Brownell
Kyle Rocha-Brownell il 18 Set 2019
Modificato: Kyle Rocha-Brownell il 18 Set 2019
For future googlers,
After polar(...),
rlim([.3 .5])

Categorie

Scopri di più su Polar Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by