Home > hfrc > matlab > @HFRC > axis.m

axis

PURPOSE ^

AXIS - sets figure axis scaling according to HFRC object.

SYNOPSIS ^

function v = axis( h, varargin )

DESCRIPTION ^

 AXIS - sets figure axis scaling according to HFRC object.

 Usage: V = axis( hfrc_obj, ... )

 This uses the spatial extent of an HFRC object to set the figure axis
 scaling.  It takes various parameter, value pairs:

   'factor' - number that sets the fractional spacing
              around HFRC object.  Defaults to 0.1.  If a vector with
              two elements, then the first will be the spacing for the
              x-direction and the second will be for the y direction.

   'apply' - boolean that determines whether or not to actually scale
             axis.  If false, axis extents will be computed but not
             applied.  Defaults to true.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

     $Id: axis.m,v 1.4 2006-06-26 20:07:23 dmk Exp $    

 Copyright (C) 2004 David M. Kaplan
 Licence: GPL (Gnu Public License)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 18-Dec-2006 07:26:46 by m2html © 2003