CenterFigure:

Path: Common/General

% Find a position array that centers a figure
--------------------------------------------------------------------------
   Form:
   position = CenterFigure( width, height )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   width         (1,1)   Figure width
   height        (1,1)   Figure height

   -------
   Outputs
   -------
   position      (1,4)   [left bottom width height]     

--------------------------------------------------------------------------

Back to the Common Module page