newfig
create NEW FIGures.
Contents
Syntax
fighandle = newfig(numfigs,figname,extend,aspect)
Description
Tiles the screen with multiple figures starting at the top left hand corner. If the specified layout only creates one row, then the figure height is chosen to maintain the desired aspect ratio.
"fighandle" output is an array of handle numbers for the figures.
"numfigs" (first numeric argument) determines the number of figures to create. If numfigs is a vector (rows,columns) then the layout is also specified.
"figname" (any argument position) is an optional string for the figures' name.
"extend" (second numeric argument) 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...
"aspect" (third numeric argument) is the desired aspect ratio (minimum horizontal/vertical size of the figure) used for determining the layout, it is ignored if the layout is specified by numfigs.
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. The figures are numbered within this group of figures and not by their figure handles. 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)".
Examples:
newfig(3,'Title',1+i,2)
newfig('Title')
newfig
figh=newfig(6);
figh=newfig(4,i,1.5);
newfig([1,5],-1);
- Copyright 2006 Mirtech, Inc. created 09/18/2006 by Mirko Hrovat on Matlab Ver. 7.2
email: mhrovat@email.com