GetRandomLineStyleF​orPlot()

Randomly create a line style for plotting

您现在正在关注此提交

This function creates the random style for your plot (as a cell array with one element). Colors iterate over all colors except for white one. One can use it whenever needs to plot many different data sets on the same plot for preliminary purposes.
Usage example:
lineStyle = GetRandomLineStyleForPlot();
plot(t,y, lineStyle{1});

引用格式

Alexander (2026). GetRandomLineStyleForPlot() (https://ww2.mathworks.cn/matlabcentral/fileexchange/52653-getrandomlinestyleforplot), MATLAB Central File Exchange. 检索时间: .

类别

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

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

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