different colours in title MATLAB 2020B
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how can i get the colours in my title to be those stated colours so the text 'Green/Healthy' in the actual colour green.
Thank You
0 commentaires
Réponse acceptée
David K.
le 16 Mar 2021
strcat(['\color{green}Green/Healthy= ',num2str(Healthy),',\color{orange}/Infected= ',...
num2str(Infected),', \color{red}Red/Sick= ',num2str(Sick),', \color{blue}Blue/Recovered= ',...
num2str(Recovered)])
Please use the code entering functionality. The image makes it a lot harder for us than it needs to be.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Title dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!