different colours in title MATLAB 2020B
9 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
David K.
2021-3-16
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Title 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!