plot and save figures WITH the white margin
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi, When I save the figures with the save button from the figure's toolbar I always get an EPS file WITH the a white margin around the figure. This actually is useful for me because when I have to align multiple panels in Illustrator this becomes piece of cake. But because I want to save many figures in an automatic way I use the following code which doesn't retain the white margins:
set(FigHandle, 'PaperPositionMode', 'auto')
print(FigHandle, '-depsc', '-painters', 'name.eps');
close(FigHandle)
This removes the white margin and aligning the panels in the end is more difficult. Could you please tell me how I can keep the white margins when I save the figures with the print command?
Thanks,
Razvan
0 Commenti
Risposte (1)
Jamie
il 28 Ott 2013
Hi Razvan,
Its been a while but I believe the width of the margin is determined by the PaperSize propery.
If you open the figure GUI you should be to play aroung with the properties to determine the ideal widths / size
figure >> file >> print preview
0 Commenti
Vedere anche
Categorie
Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!