how can one create a new color?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I create a new color (that is, a new RGB setting). How can one save it as a new color so that I do not need to type RGB each time?
Antworten (1)
Walter Roberson
am 13 Aug. 2020
You can create a function that returns the rgb triple. There are also some approaches involving a class with static methods that would allow you to pack multiple items in one classdef
Unfortunately there is no way to add a new single letter color code such as 'r', no way to extend those to say that 'e' is 'emerald' for example: those are built in several places in the software.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Blue finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!