Text properties

3 visualizaciones (últimos 30 días)
john
john el 5 de Mayo de 2012
Hi, how can I change text properties? I mean fonr angle.
For "File" I need Normal angle, for "FileName" I need Italic and for "is loaded" I need normal.
It is possible?
set(handles.text, 'String',['File',FileName,' is loaded']);
Thank you

Respuestas (1)

Wayne King
Wayne King el 5 de Mayo de 2012
figure
text(0.4,0.5,'\rm{File} \it{filename} \rm{is loaded}')
  1 comentario
john
john el 5 de Mayo de 2012
Hi,
Your code makes figure with x,y axes and with text....
is possible to change your code for handles.text? I need print only text without axes.

Iniciar sesión para comentar.

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by