legend doesn't resize with figure
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I meet such a problem that the legend for the gigure overlaps with some lines when it's originally drawn. Then when I maximize the window of figure, the legend doesn't overlap the lines. I use saveas function to save figure and the function only save the original size figure (even if I resize the figure before I run the saveas function). I am wondering if there is a way to set the legend auto resize with the figure. Thanks!
0 comentarios
Respuestas (3)
Walter Roberson
el 19 de Abr. de 2011
Check the PaperPosition property of figures.
Or use the Matlab File Exchange submission "export_fig"
0 comentarios
dk
el 20 de Abr. de 2011
Make sure "Match figure screen size" is checked under Preferences-->Figure Copy Template-->Copy Options.
0 comentarios
Ver también
Categorías
Más información sobre Legend 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!