How to change gap between legend line and legend text?
17 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mr M.
el 26 de Oct. de 2016
Respondida: selcuk
el 28 de Jun. de 2020
How to change (horizontal) gap between legend line and legend text?
0 comentarios
Respuesta aceptada
Thorsten
el 26 de Oct. de 2016
You can increase the space by adding blanks ' ' in front of the legend entries. This is a hack, of course.
0 comentarios
Más respuestas (2)
Rani V.S
el 26 de Oct. de 2016
Editada: Rani V.S
el 26 de Oct. de 2016
https://in.mathworks.com/help/matlab/ref/legend-properties.html Hope that this documentation will help you
selcuk
el 28 de Jun. de 2020
Horizontal space commands in latex can be used:
leg1 = legend('$\bar{x}\>$','$\tilde{x}\quad$','$\hat{x}\hspace{5mm}$');
set(leg1,'Interpreter','latex');
0 comentarios
Ver también
Categorías
Más información sobre Legend 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!