ellipseaxes.m

Add lines for the major and minor axes on an ellipse, returns the handles for post customization

You are now following this Submission

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 (2026). ellipseaxes.m (https://www.mathworks.com/matlabcentral/fileexchange/11494-ellipseaxes-m), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0