Draws an ellipse or arc on the current or specified axes
Updated 23 Nov 2009

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
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

Fixed error in handling non-zero axis tilt

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

Updated help comments