A simple utility function to make working with colors easier, adding a method for quick visualization.
Pass in a 1x3 RGB color vector to generate a color swatch, a small image plot showing only that color.
Accepts floating point values in the range of 0 to 1 or numbers with integer value in the range 0 to 255.
Zitieren als
Robert Watson (2025). showColor (https://de.mathworks.com/matlabcentral/fileexchange/179314-showcolor), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2024b
Kompatibel mit R2019b und späteren Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0 |
