MATLAB Answers

How to draw circle with imellipse?

10 views (last 30 days)
Steven on 18 Jan 2014
Edited: Image Analyst on 18 Feb 2019
I want to draw a circle with imellipse. I used something like:
AA = imellipse(gca,[xmin ymin radius radius]);
but I can only specify the xmin and ymin of the circle, while I want to specify the center.
How can I do so?

Accepted Answer

Image Analyst
Image Analyst on 18 Jan 2014

Sign in to comment.

More Answers (1)

Tim Jackman
Tim Jackman on 25 Sep 2018
In R2018b you can create a circular ROI with the drawcircle function.
Image Analyst
Image Analyst on 18 Feb 2019
It does have a 'DrawingArea' option to restrict the drawing area to what you specify.
Have you tried waitfor()?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by