ellipseaxes.m

Add lines for the major and minor axes on an ellipse, returns the handles for post customization
1.6K Downloads
Updated 22 Jun 2006

No License

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/

Cite As

Dave Ciochetto (2024). ellipseaxes.m (https://www.mathworks.com/matlabcentral/fileexchange/11494-ellipseaxes-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Scatter Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0