ylabel Italic , Two fonts
164 次查看(过去 30 天)
显示 更早的评论
Hello,
I have question regarding y axis in MATLAB
In y-axis , is it possible to use two font in y axis so we can write the symbol, for exapmle, in the (italic) font and the unit in the ( Arial) font
I did this figure on Excel.
As you can see that C44 is writen in the ( italic ) font and GPa is ( Arial )
Is it possible to do that on MATALB ?
0 个评论
采纳的回答
Star Strider
2020-2-27
Use ‘\it’ to begin the italic string and ‘\rm’ to reset to the normal display:
ylabel('\itc44\rm(GPa)')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dialog Boxes 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!