Complicated circle plot in MATLAB

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

 Risposta accettata

Image Analyst
Image Analyst il 26 Mag 2013

0 voti

Did you see the polar() function, and give that a try?

2 Commenti

Lars Simonsen
Lars Simonsen il 26 Mag 2013
Modificato: Lars Simonsen il 26 Mag 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?
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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Language Fundamentals in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by