tilefig
TILE one or more FIGures.
Contents
Syntax
fighandle = tilefig(figs,figname,extend,layout)
Description
Tiles the screen for existing figures starting at the top left hand corner.
"fighandle" is an output array of handle numbers for the figures.
"figs" (first numeric input) is a vector of handles of the figures to be tiled. Default value is 0 or empty which tiles all open figures.
"figname" (any input position) is an optional string for each figure's name. If not specified then figure names are retained, to erase names use the blank string ' '.
"extend" (second numeric input) is a complex number indicating how
figures are to be created on multiple monitors, (extended desktop).
Examples: +1/-1 is one screen to the right/left,
0 is the primary screen (default),
+i is one screen up,
-1-0.5i is half a screen down and to the left, etc...
"layout" (third numeric input) is a vector (rows,columns) specifying the screen layout or a single number specifying the aspect ratio. If not specified then the optimal layout will be determined. If the specified layout only creates one row, then the figure height is chosen to maintain the default aspect ratio. The aspect ratio is the minimum horizontal/vertical figure size.
Figures are tiled in the order they are specified in "figs". The figures are numbered within this group of figures and not by their figure handle. The figures are accessible by their handles. Thus "figure(fighandle(4))" will make the 4th figure from this group of figures the current figure. To delete the entire group of figures use "close(fighandle)".
Will work with docked figures, will ignore modal figures. Extended monitors must have the same resolution as the primary monitor. The size and layout of the figures is determined by the aspect ratio and the number of figure columns. For a large number of figures, the menubar and toolbar are removed to increase figure space. Inspired by "Tilefigs" by Charles Plum.
Examples:
tilefig
tilefig([1,2,3],'Title',1+i)
tilefig('Title')
figh=tilefig([2:12]);
figh=tilefig([3,4],i);
tilefig(5,-1,[2,3])
- Copyright 2006 Mirtech, Inc. created 09/18/2006 by Mirko
Hrovat on Matlab Ver. 7.2
email: mhrovat@email.com