From: Jeffrey Roth on
Is there an option with the command-line version of the matlab print command that will provide the ability to resize/rescale the graphic?

That is, I would like to rescale the image size for printing to the printer, but would like to do so using the command line (below) and not the menu/GUI print dialog box.

>> print -Pprintername -options

Thanks!
Jeff
From: us on
"Jeffrey Roth" <jroth(a)ll.mit.edu> wrote in message <hss2ak$eed$1(a)fred.mathworks.com>...
> Is there an option with the command-line version of the matlab print command that will provide the ability to resize/rescale the graphic?
>
> That is, I would like to rescale the image size for printing to the printer, but would like to do so using the command line (below) and not the menu/GUI print dialog box.
>
> >> print -Pprintername -options
>
> Thanks!
> Jeff

a hint:
- you can tune your figure using these figure parameters...

set(gcf,...
'PaperUnits',...,...
'PaperOrientation',...,...
'PaperPosition',...,...
'PaperSize',...,...
'PaperType',...,...
);

us
From: Rob Newman on
"Jeffrey Roth" <jroth(a)ll.mit.edu> wrote in message <hss2ak$eed$1(a)fred.mathworks.com>...
> Is there an option with the command-line version of the matlab print command that will provide the ability to resize/rescale the graphic?
>
> That is, I would like to rescale the image size for printing to the printer, but would like to do so using the command line (below) and not the menu/GUI print dialog box.
>
> >> print -Pprintername -options
>
> Thanks!
> Jeff

If you are going to use the command line interface, why not just send the image to the ImageMagick 'convert' command that you can embed in your Matlab script? Imagemagick is a very powerful series of CLI tools that can manipulate images from multiple formats. Check it out at imagemagick.org.

Good luck!