Plot markers around the perimeter of a shape
2 views (last 30 days)
Show older comments
I have the perimeter of a tumour plotted over a dicom image (Drawn with impoly). I want to place a user inputted number of markers (I know how to get a user to input a number) equally spaced around this perimeter. An example to visualise it is perhaps like plotting north, east, south, west, etc. on a circle. I can't find a suitable function in the help so perhaps somebody on here has solved a similar problem.
If I could get a list of x, y coordinates in clockwise order around my shape I could then select an nth pair of coordinates to place a marker on eg. plot(x, y, 1:50:end)?
Thank you.
0 Comments
Accepted Answer
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!