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!