Updated 22 Jun 2006
With ellipse.m and ellipseaxes.m you can add an ellipse, its axes or both to the current plot. It returns the line handle such that you can modify the properties with get and set after the axes are drawn.
This is useful for example in displaying the principal axes on a scatter plot of data (see Emery and Thomson, Data Analysis Methods in Physical Oceanography, 2001 and princax.m in the Sea Mat toolbox at http://woodshole.er.usgs.gov/operations/sea-mat/
Dave Ciochetto (2023). ellipseaxes.m (https://www.mathworks.com/matlabcentral/fileexchange/11494-ellipseaxes-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.