Simple ellipse plotting function

版本 1.0.0.0 (1.2 KB) 作者: Frouke
Plots a filled ellipse in a certain orientation using Matlab's 'patch'.
1.6K 次下载
更新时间 2010/10/10

查看许可证

function plot_ellipse(a,b,cx,cy,angle,color)
%a: width in pixels
%b: height in pixels
%cx: horizontal center
%cy: vertical center
%angle: orientation ellipse in degrees
%color: color code (e.g., 'r' or [0.4 0.5 0.1])

引用格式

Frouke (2025). Simple ellipse plotting function (https://ww2.mathworks.cn/matlabcentral/fileexchange/28996-simple-ellipse-plotting-function), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Surfaces, Volumes, and Polygons 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0