Complicated circle plot in MATLAB

1 vue (au cours des 30 derniers jours)
Lars Simonsen
Lars Simonsen le 26 Mai 2013
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

Réponse acceptée

Image Analyst
Image Analyst le 26 Mai 2013
Did you see the polar() function, and give that a try?
  2 commentaires
Lars Simonsen
Lars Simonsen le 26 Mai 2013
Modifié(e) : Lars Simonsen le 26 Mai 2013
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 le 26 Mai 2013
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Language Fundamentals dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by