Mercurial > hg > dml-open-cliopatria
annotate 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 |
rev | line source |
---|---|
Daniel@0 | 1 function dml_fsetup(w,h,units) |
Daniel@0 | 2 % dml_fsetup(width,height,units) |
Daniel@0 | 3 % similar to asetup, but sizes figure |
Daniel@0 | 4 % instead of axes. units default to |
Daniel@0 | 5 % centimetres. |
Daniel@0 | 6 |
Daniel@0 | 7 if nargin<3, units='centimeters'; end |
Daniel@0 | 8 set(gcf,'Units',units); |
Daniel@0 | 9 set(gcf,'PaperUnits',units); |
Daniel@0 | 10 set(gcf,'PaperPosition',[0 0 w h]); |