Documentation of global_figs


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

global_figs(hsz1, vsz1, midh1, midv1, tmarg1);

Help text


  global_figs(hsz, vsz, midh, midv, tmarg):  
 
  hsz = horizontal size of axes
  vsz = vertical size of axes
  midh = space between columns
  midv = space between rows
  tmarg = space at top of figure
 
  All inputs are assumed to be in inches.  This routine
  works with sp.m.  Type help sp for more info.


Cross-Reference Information

This function is called by

Listing of function global_figs

function global_figs(hsz1, vsz1, midh1, midv1, tmarg1);

global HSZ VSZ TMARG MIDH MIDV

sz = get(gcf, 'PaperSize'); 
hw = 1/sz(1); vw = 1/sz(2);

if nargin < 5; tmarg1 = 1.0; end;
if nargin < 4; midv1 = 0.0; end;
if nargin < 3; midh1 = 0.0; end;
if nargin < 2; vsz1 = 1.5; end;
if nargin == 0; hsz1 = 2.75; end;

HSZ = hsz1*hw;
VSZ = vsz1*vw;
MIDH = midh1*hw;
MIDV = midv1*vw;
TMARG = tmarg1*vw;