Complicated circle plot in MATLAB

조회 수: 5 (최근 30일)
Lars Simonsen
Lars Simonsen 2013년 5월 26일
Hello all matlab geniuses.
Does anyone have a suggestion of how to make a plot like the one shown in this picture: http://gyazo.com/41c961308e1d2d99edd23d024a752e2b
Best Regards, Lars

채택된 답변

Image Analyst
Image Analyst 2013년 5월 26일
Did you see the polar() function, and give that a try?
  댓글 수: 2
Lars Simonsen
Lars Simonsen 2013년 5월 26일
편집: Lars Simonsen 2013년 5월 26일
Thank you. Seems to be what I'm looking for. However, I'm not familiar with the polar function. I have six values at six different angles, which I have setup in two arrays. How am I supposed to implement this in the polar function?
I tried the following. But that didn't work.
Cd1200_0_60 = [Cd(698) Cd(703) Cd(712) Cd(717) Cd(726)]; phi = [0 15 30 45 60]; polar(phi,Cd1200_0_60/Cd1200_0_60(1),'--','color','b')
EDIT: Aaah nevermind. Of course I have to convert the angles from degrees into radians. Is there any way I can make the x- and y-axis visible like in the picture?
Image Analyst
Image Analyst 2013년 5월 26일
I haven't used it. I'd have to experiment with it and read the documentation just like you're doing, so I'll let you do that.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Language Fundamentals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by