Mercurial > hg > mauch-mirex-2010
comparison _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 |
comparison
equal
deleted
inserted
replaced
7:12abff5474c8 | 8:b5b38998ef3b |
---|---|
1 function printme(width) | |
2 | |
3 set(gcf, 'PaperUnits', 'centimeters'); | |
4 papersize = get(gcf, 'PaperSize'); | |
5 paperratio = papersize(2) / papersize(1); | |
6 set(gcf, 'PaperSize', [1 paperratio] * width); | |
7 set(gcf, 'Renderer', 'painters') | |
8 |