colormapgen
Generates a colormap with linear luminance, linear hue and constant saturation.
RGB = colormapgen() generates "mauricio" colormap.
RGB = colormapgen(M,G1,G2,H1,H2,S) generates a colormap with M colors, with luminance or grayscale [0,1] from G1 to G2, with hue [0,360] from H1 to H2, and with saturation S [0,1].
colormapgen() plots a sample of the generated colormap.
Example: mauricio = colormapgen(64,0.2,0.9,300,-60,0.9);
Citation pour cette source
Jorge Querol (2024). colormapgen (https://github.com/jorgequerol/colormapgen), GitHub. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : Colorspace Transformations
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |
|