GetRandomLineStyleF​orPlot()

Randomly create a line style for plotting

Vous suivez désormais cette soumission

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});

Citation pour cette source

Alexander (2026). GetRandomLineStyleForPlot() (https://fr.mathworks.com/matlabcentral/fileexchange/52653-getrandomlinestyleforplot), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0