Mercurial > hg > mauch-mirex-2010
annotate _misc/figures/printme.m @ 9:4ea6619cb3f5 tip
removed log files
author | matthiasm |
---|---|
date | Fri, 11 Apr 2014 15:55:11 +0100 |
parents | b5b38998ef3b |
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 |