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://jp.mathworks.com/matlabcentral/fileexchange/52653-getrandomlinestyleforplot), MATLAB Central File Exchange. 取得日: .
MATLAB リリースの互換性
作成:
R2014b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- MATLAB > Graphics > 2-D and 3-D Plots > Line Plots >
Help Center および MATLAB Answers で Line Plots についてさらに検索
タグ
| バージョン | 公開済み | リリース ノート | |
|---|---|---|---|
| 1.0.0.0 |
