ellipse.m

Adds ellipses to the current plot

49.3K Downloads

Updated Tue, 16 Mar 2021 20:51:59 +0000

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Adds ellipses to the current plot. The ellipses are specified by the semimajor axis radius, the semiminor axis radius, the orientation of the semimajor axis with an angle from the x-axis, and the ellipse center. The color can specified and multiple ellipses can be plotted with the same call. Optionally returns handles to the lines used to plot the ellipse shapes.

Cite As

David Long (2023). ellipse.m (https://www.mathworks.com/matlabcentral/fileexchange/289-ellipse-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired: psharma15/get-mve, justinblaber/image_match

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.1.0

Revised the comments section to respond to user suggestions.

1.1.0.0

updated and corrected usage notes in documentation
set so that handles to ellipses are only returned when an output is specified

1.0.0.0