Coloring of specific text in a title

3 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2018-3-24
https://www.mathworks.com/matlabcentral/answers/389850-adding-and-customisng-a-single-tick-mark

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by