Home > simtb_v18 > display > simtb_figdimension.m

simtb_figdimension

PURPOSE ^

simtb_figdimension() - Computes position of figure given desired aspect ratio and scale

SYNOPSIS ^

function RECT = simtb_figdimension(aspectratio, scale, alignment)

DESCRIPTION ^

   simtb_figdimension() - Computes position of figure given desired aspect ratio and scale

   Usage:
    >> RECT = simtb_figdimension(aspectratio, scale, alignment);

   INPUTS: (OPTIONAL)
   aspectratio   = aspect ratio is width/height of the desired figure
   scale         = multiplicative scale, 1 leaves the same size
   alignment     = horizontal placement, vertical placement
                       'cm' = center middle
                       'lt' = left top
                       'rb' = left bottom

   OUTPUTS:
   RECT          = figure position used as figure('Position', RECT)

   see also: simtb_figure_params(), simtb_showSM()

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 29-Mar-2011 15:45:29 by m2html © 2005