Why does the legend not resize when I modify the legend font size in MATLAB 7.0 (R14)?
Mostrar comentarios más antiguos
I create a simple plot with a legend using the following code:
plot(rand(4))
h_legend=legend('One','Two','Three','Four');
get(h_legend,'Position')
h_text = findobj(h_legend,'type','text');
set(h_text,'FontUnits','points','FontSize',4)
get(h_legend,'Position')
The legend box does not change to fit the text.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Legend en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!