% for more visit: % http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure_props.html % this creates jpeg files. % SET command changes the paper units to inches and and so on, here the size is 8 by 11 square inches. plot(1:10) set(gcf,'PaperUnits','inches','PaperPosition',[ 8 10 8.5 11]) print -djpeg matout.jpg -r100