createLineInColorOr​der

版本 1.1.0.1 (2.2 KB) 作者: Greg Aloe
Force each created line to obey the axes 'ColorOrder' property.
3.0K 次下载
更新时间 2016/9/1

查看许可证

*** NOTE: As of MATLAB® 7.0 (R14), this feature is available at the axes level by using the command "hold all". Use "doc hold" for more information. ***
When lines are created using MATLAB PLOT commands, they are created in a color order specified by the axes' 'ColorOrder' property. However, this only works if you plot multiple lines using the same call to PLOT. Otherwise, they are all created using a single default color.

This function will help you to force all lines within an axes to be plotted in the 'ColorOrder' of that axes, regardless of whether they are all created using the same PLOT command or multiple plot commands.

See "help createLineInColorOrder" for more information.

Works for at least MATLAB® 5.2 (R10) and later.

引用格式

Greg Aloe (2024). createLineInColorOrder (https://www.mathworks.com/matlabcentral/fileexchange/2430-createlineincolororder), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Graphics Object Properties 的更多信息

Community Treasure Hunt

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

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

Updated license

1.1.0.0

Updated submission description to add a registered trademark to MATLAB®.

1.0.0.0

Note about feature availability in MATLAB 7.0 (R14)