Multiple plot line colors

Extend default "recycle every 6 colors" plot behavior to N different colors

您现在正在关注此提交

By default MATLAB "recycles" every 6 plot line colors. Replace default "recycle every 6 lines" behavior of MATLAB graphics functions (e.g. plot) by N different colors usin this simple script.

引用格式

Igal (2026). Multiple plot line colors (https://ww2.mathworks.cn/matlabcentral/fileexchange/49170-multiple-plot-line-colors), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Line Plots 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0