Plotting points with polar coordinates

2 views (last 30 days)
Aneesh Singhal
Aneesh Singhal on 29 Dec 2015
Answered: Image Analyst on 29 Dec 2015
I have polar coordinates of points with different radius. I want a figure like the attached one. I used 'polar' and other commands but I couldn't get a plot like that. I would like to know which command might be helpful. The black point is the axis from which the other points will be at different radii.

Answers (1)

Image Analyst
Image Analyst on 29 Dec 2015
Assuming you have radius and angle in two arrays, try this untested code:
hold on;
for k = 1 : length(angles)
[x, y] = pol2cart(angle(k), radius(k), 'r.', 'MarkerSize', 20);
end

Categories

Find more on Polar Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!