Ellipse
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 (2026). Ellipse (https://www.mathworks.com/matlabcentral/fileexchange/25580-ellipse), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| 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 |
