From: Peter Brooks on
Hi all,

I was wondering if there is a faster alternative to using saveas or print when saving a figure to a file?

I'm currently using print, because saveas seems to make a call to print anyway, and the line of code I'd like to improve (if at all possible) is:

print (['-f' num2str(fighand)], '-djpeg', fname);

Thanks a lot in advance for any help you can provide...
From: Oliver Woodford on
"Peter Brooks" <pbrooks(a)ermitagegroup.com> wrote in message <hbnbl5$c5k$1(a)fred.mathworks.com>...
> Hi all,
>
> I was wondering if there is a faster alternative to using saveas or print when saving a figure to a file?
>
> I'm currently using print, because saveas seems to make a call to print anyway, and the line of code I'd like to improve (if at all possible) is:
>
> print (['-f' num2str(fighand)], '-djpeg', fname);
>
> Thanks a lot in advance for any help you can provide...

doc getframe