image thumbnail

plot_ellipse

version 1.0.0.0 (2.2 KB) by M MA
Draw ellipse using major, minor, inc and phase.

5K Downloads

Updated 04 Oct 2005

View License

It is common to find routines to plot ellipses without the ellipse phase angle parameter.
Phase angle provides important information in many applications...

This function also allows ellipse to be drawn at different z levels.

Three ways to show ellipse phase is shown in the screenshot:

plot_ellipse(2,1,45,20);
axis equal
hold on
plot_ellipse(2,1,45,20,[0 -2],'r',2);
plot_ellipse(2,1,45,20,[0 -4],'k',3);

Cite As

M MA (2022). plot_ellipse (https://www.mathworks.com/matlabcentral/fileexchange/8604-plot_ellipse), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!