From: Luca Zanotti Fragonara on 22 Jul 2010 09:06 Hello, I need to save one of my figure in eps format (I can also use the .emf format, which works fine, but the paper which I should submit the paper requires .eps images). My figure is a whole screen subplot (3x3 plots). So I have initialized the figure in this way: h=figure('Units','normalized','Position',[0 0 1 1]); When I print the eps with this commands: set(gcf,'PaperPositionMode','auto'); print(h,'-depsc','NNM1'); I obtain an cropped image: looks like that the matlab figure is "too big" for the paper where I "print" my figure. I have tried to change 'Papersize' but it seems not the right way... Moreover, if I need my images in Latex is better to have an eps in A4 format... Any hints? I am kind of lost...! Cheers and thanks in advance, Luca
From: Luca Zanotti Fragonara on 22 Jul 2010 11:01 I have tried using export_fig from file exchange, but I get the same problem (when I open in GsView the *.eps file is cropped). The only difference with export_fig is that is cropped only from one side, while with print I have a little crop on both sides... I have tried and LaTeX seems to do not manage *.emf files, which usually works fine as vectorized images for MS Word. I need to use *.eps, but I do not want to resize the figure on the screen, otherwise I will get little graphs compared to the margins that subplot employs... Do you have any hints?
From: Luca Zanotti Fragonara on 22 Jul 2010 11:28 "Luca Zanotti Fragonara" <Luca_Zanotti(a)libero.it> wrote in message <i29mga$auu$1(a)fred.mathworks.com>... > I have tried using export_fig from file exchange, but I get the same problem (when I open in GsView the *.eps file is cropped). > > The only difference with export_fig is that is cropped only from one side, while with print I have a little crop on both sides... > > I have tried and LaTeX seems to do not manage *.emf files, which usually works fine as vectorized images for MS Word. I need to use *.eps, but I do not want to resize the figure on the screen, otherwise I will get little graphs compared to the margins that subplot employs... > > Do you have any hints? At the end is just GSView that shows the eps cropped, actually in the eps file there is the whole image, and when I import it in LateX, it works fine.
|
Pages: 1 Prev: Multiple line push button string Next: reading after space |