From: Luca Cerone on
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
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
"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.