GetRandomLineStyleF​orPlot()

Version 1.0.0.0 (502 Bytes) von Alexander
Randomly create a line style for plotting
51 Downloads
Aktualisiert 25. Aug 2015

Lizenz anzeigen

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

Zitieren als

Alexander (2025). GetRandomLineStyleForPlot() (https://de.mathworks.com/matlabcentral/fileexchange/52653-getrandomlinestyleforplot), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2014b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Line Plots finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0