| printjpg.m.html |   | 
  | Source file:   printjpg.m | 
| Directory:    /home/rjl/git/claworg/clawpack-4.x/matlab | 
| Converted:    Sat Aug  6 2011 at 21:53:05 
  using clawcode2html | 
| This documentation file will 
not reflect any later changes in the source file. | 
 
function printjpg(fname)
% PRINTJPG prints a figure as a .jpg
%
%     PRINTJPG(FNAME) makes a small 3in x 3in figure suitable for
%     putting on a webpage, and that looks better than what is obtained
%     by shrinking down the standard output from print -djpg
%
% See also MAKEFRAMEGIF, PRINTJPG, and the unix command CONVERT.
set(gcf,'paperunits','inches','paperposition',[0 0 3 3])
eval(['print -djpeg90 ' fname]);