Mercurial > hg > dml-open-cliopatria
comparison cpack/dml/matlab/dml_fsetup.m @ 0:718306e29690 tip
commiting public release
author | Daniel Wolff |
---|---|
date | Tue, 09 Feb 2016 21:05:06 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:718306e29690 |
---|---|
1 function dml_fsetup(w,h,units) | |
2 % dml_fsetup(width,height,units) | |
3 % similar to asetup, but sizes figure | |
4 % instead of axes. units default to | |
5 % centimetres. | |
6 | |
7 if nargin<3, units='centimeters'; end | |
8 set(gcf,'Units',units); | |
9 set(gcf,'PaperUnits',units); | |
10 set(gcf,'PaperPosition',[0 0 w h]); |