Changing the radial range in a polar plot

조회 수: 7 (최근 30일)
AP
AP 2014년 2월 27일
댓글: darova 2019년 9월 18일
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일
편집: Kyle Rocha-Brownell 2019년 9월 18일
For future googlers,
After polar(...),
rlim([.3 .5])
  댓글 수: 1
darova
darova 2019년 9월 18일
Look also HERE if you don't have rlim() function

댓글을 달려면 로그인하십시오.

카테고리

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