view _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
line wrap: on
line source
function printme(width)

set(gcf, 'PaperUnits', 'centimeters');
papersize = get(gcf, 'PaperSize');
paperratio = papersize(2) / papersize(1);
set(gcf, 'PaperSize', [1 paperratio] * width);
set(gcf, 'Renderer', 'painters')