Change axis colour to a user-define color
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I want to change the color of part of a plot label. I can do it like this:
ylabel('\color{blue}{A}, \color{orange}B, \color{yellow}C, 'interpreter', 'tex');
But I want to define my own colors, in such a way that they match the colors of the plot.
How can I do this?
0 Commenti
Risposta accettata
dpb
il 6 Mag 2020
Use rgb color form:
color[rgb]{specifier} Replace specifier with a three-element RGB triplet.
\color[rgb]{0,0.5,0.5} text
1 Commento
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Axis Labels in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!