How to prevent line break after blank space when plotting text using annotation textbox?
18 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Conrado Neto
el 4 de Jul. de 2019
Editada: KALYAN ACHARJYA
el 5 de Jul. de 2019
if I try to plot this:
x = 'The blank spaces break line';
figure(1)
annotation('textbox',[0.178 0.425 0 0],'String',x);
At every blank space the text breaks to a new line. How to prevent that?
0 comentarios
Respuesta aceptada
KALYAN ACHARJYA
el 5 de Jul. de 2019
Editada: KALYAN ACHARJYA
el 5 de Jul. de 2019
x = 'The blank spaces break line';
figure(1)
annotation('textbox',[0.1 0.1 .35 .1],'String',x);
%....................^^ Dimension
I have changed it, its now working, more detail dimention example, check here
Hope it helps!
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Report Generator en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!