ColorSelect for Loop-Based Plotting

Provides up to 125 colors, with the goal of keeping adjacent colors distinct.

Ahora está siguiendo esta publicación

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.

Citar como

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

Categorías

Más información sobre Loops and Conditional Statements en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0

Corrected typos.

Better Title