Prev: how do I click a button in an Excel sheet automatically?
Next: Problem with plotting local Maxima and Minima of CWT.
From: Luca Cerone on 4 Mar 2010 11:31 Hi, is there a way to remove the "white" border around figures saved using print? Usually there is 1-2cm of white border around the pictures and I'd like to remove them. Thank you very much in advance. Cheers, -Luca
From: S. Kauth on 4 Mar 2010 12:31 Am 04.03.2010 17:31, schrieb Luca Cerone: > Hi, > is there a way to remove the "white" border around figures saved using > print? > Usually there is 1-2cm of white border around the pictures and I'd like > to remove them. > Thank you very much in advance. > Cheers, -Luca try this to save it as an eps-file: saveas(figure1,'location\filename','epsc'); you might also want to execute these beforehand: set(Fig, 'paperunits', 'points' ) set(Fig,'position',[100 100, 600 450]); % set(Fig,'papersize',[600 450]); set(Fig,'PaperPositionMode','Auto');
From: Oliver Woodford on 4 Mar 2010 14:46
"S. Kauth" wrote: > Am 04.03.2010 17:31, schrieb Luca Cerone: > > Hi, > > is there a way to remove the "white" border around figures saved using > > print? > > Usually there is 1-2cm of white border around the pictures and I'd like > > to remove them. > > Thank you very much in advance. > > Cheers, -Luca > > try this to save it as an eps-file: > saveas(figure1,'location\filename','epsc'); > > you might also want to execute these beforehand: > set(Fig, 'paperunits', 'points' ) > set(Fig,'position',[100 100, 600 450]); % > set(Fig,'papersize',[600 450]); > set(Fig,'PaperPositionMode','Auto'); Failing that, export_fig on the file exchange will do it automatically. |