Effacer les filtres
Effacer les filtres

Coloring of specific text in a title

5 vues (au cours des 30 derniers jours)
Bill
Bill le 24 Mar 2018
Commenté : Bill le 25 Mar 2018
I'd like to color different words in a title different colors, using the line colors generated from a plot call.
p = plot(1:10);
title('\color[rgb]{p.Color} Test')
Or, asking the same question in a different way. How do I get [0,0,1] to look like {0,0,1}? Thanks

Réponse acceptée

Walter Roberson
Walter Roberson le 24 Mar 2018
https://www.mathworks.com/matlabcentral/answers/389850-adding-and-customisng-a-single-tick-mark
  1 commentaire
Bill
Bill le 25 Mar 2018
Thank you!

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by