MATLAB Answers


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:

Best Regards, Lars


Log in to comment.

1 Answer

Answer by Image Analyst
on 26 May 2013
 Accepted Answer

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


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.

Log in to comment.

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Win prizes and improve your MATLAB skills

Play today