Coloring of specific text in a title

5 views (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 24 Mar 2018

More Answers (0)


Community Treasure Hunt

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

Start Hunting!