annotate _misc/figures/.svn/text-base/printme.m.svn-base @ 8:b5b38998ef3b

added all that other stuff
author matthiasm
date Fri, 11 Apr 2014 15:54:25 +0100
parents
children
rev   line source
matthiasm@8 1 function printme(width)
matthiasm@8 2
matthiasm@8 3 set(gcf, 'PaperUnits', 'centimeters');
matthiasm@8 4 papersize = get(gcf, 'PaperSize');
matthiasm@8 5 paperratio = papersize(2) / papersize(1);
matthiasm@8 6 set(gcf, 'PaperSize', [1 paperratio] * width);
matthiasm@8 7 set(gcf, 'Renderer', 'painters')
matthiasm@8 8