view 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
line wrap: on
line source
function dml_fsetup(w,h,units)
% dml_fsetup(width,height,units)
%	similar to asetup, but sizes figure
%	instead of axes. units default to
%   centimetres.

if nargin<3, units='centimeters'; end
set(gcf,'Units',units);
set(gcf,'PaperUnits',units);
set(gcf,'PaperPosition',[0 0 w h]);