text2

PURPOSE ^

Wrapper for text.m that ensures displayed text fits in figure.

SYNOPSIS ^

function varargout = text2( varargin )

DESCRIPTION ^

 Wrapper for text.m that ensures displayed text fits in figure.

 When text is called, Matlab displays the text, but does nothing to ensure that all of
 the text fits in the figure.  This function, after calling text, shrinks the axes until
 the text is fully visible.  Note that since font doesn't resize as the figure does, just
 because the text fully fits after text2 is called, no guaranties are made after the
 figure is resized.  Hence it is a good idea to resize the figure appropriately before
 calling text2.

 Same input/output options as Matlab's text.m command.  

 EXAMPLE
   text2( -3 , 11, 'hello world' )

 DATESTAMP
   29-Sep-2005  2:00pm

 See also TEXT

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-May-2006 23:48:50 by m2html © 2003