printpng.m.html | |
Source file: printpng.m | |
Directory: /Users/rjl/git/rjleveque/clawpack-4.6.3/matlab | |
Converted: Mon Jan 21 2013 at 20:16:02 using clawcode2html | |
This documentation file will not reflect any later changes in the source file. |
function printpng(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 9 6]) eval(['print -dpng ' fname]);