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

35 visualizaciones (últimos 30 días)
Kobi
Kobi el 11 de Abr. de 2014
Editada: Joseph Cheng el 11 de Abr. de 2014
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?

Respuesta aceptada

Joseph Cheng
Joseph Cheng el 11 de Abr. de 2014
Editada: Joseph Cheng el 11 de Abr. de 2014
you can do something like this
>> title('this text is {\bfbold} this text is {\ititalizized}')

Más respuestas (0)

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by