ColorSelect for Loop-Based Plotting

Provides up to 125 colors, with the goal of keeping adjacent colors distinct.
47 download
Aggiornato 8 feb 2016

Visualizza la licenza

ColorSelect provides a pseudorandomized color vector for an input between 1 and 125. Higher or negative numbers will repeat. All colors will not be distinct.
Calling ColorSelect with no argument produces a demo plot, showing all possible colors. Calling ColorSelect with a single argument will produce a color vector that can be used with various plotting functions.
An example of how to call ColorSelect is contained in the function, lines 19-27. Additionally, it is possible to comment out line 35 in case a color gradient is desired.

Cita come

David Guglielmo (2025). ColorSelect for Loop-Based Plotting (https://it.mathworks.com/matlabcentral/fileexchange/55274-colorselect-for-loop-based-plotting), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2006a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Loops and Conditional Statements in Help Center e MATLAB Answers
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

Corrected typos.

Better Title