how to change one part of the string to NOT italic font?

9 ビュー (過去 30 日間)
Kobi
Kobi 2014 年 4 月 11 日
編集済み: Joseph Cheng 2014 年 4 月 11 日
i have this code:
xlhand = get(gca,'xlabel');set(xlhand,'string','string and not italic',...
'fontsize',15,'FontAngle','italic');
i need the text 'not italic' to be normal how can i do that?

採用された回答

Joseph Cheng
Joseph Cheng 2014 年 4 月 11 日
編集済み: Joseph Cheng 2014 年 4 月 11 日
you can do something like this
>> title('this text is {\bfbold} this text is {\ititalizized}')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by