Ellipse

Draws an ellipse or arc on the current or specified axes
2.9K Downloads
Updated Mon, 23 Nov 2009 13:48:51 +0000

View License

Draw an ellipse. If an axes object is specified, draws on that axes, otherwise draws on the current axes. Can specify x,y position and x,y radii. The y radius can be omitted to draw a circle if no further input parameters are used. Optional parameters include tilt, arc start and end angles, number of points to plot, a line format string (like used in PLOT()) and parameter/value format pairs (like used in PLOT()).

Cite As

Andrew Schwartz (2024). Ellipse (https://www.mathworks.com/matlabcentral/fileexchange/25580-ellipse), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Vector Fields in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.4.0.0

Fixed error in handling non-zero axis tilt

1.3.0.0

Per file comments, made compatible with older versions of MATLAB by using plot(...,'Parent',ax) instead of plot(ax,...). Added comments.

1.2.0.0

Updated help comments

1.0.0.0