Figure Management

These M-files are a collection of utilities for managing groups of figures. The concept of a figure group is introduced as a collection of figures which may be treated as a single group. A figure group can be tiled on the screen with any desired layout. New groups can be created or a group or can be formed from figures already created. A figure group can also be simply brought to the front of the display screen. Figure groups will work with multiple monitor displays, also known as the extended desktop, though figure groups do not span more than one monitor. Figure groups are defined and accessed by a variable which is an array of the figure handles in the group. Thus for example to close the entire figure group, use close(a) where a is the array of figure handles (i.e. [1,3,4,6,7,9]).

Actions such as tiling, creating, and viewing can create figure groups. At right is an example of 6 figures tiled on the screen with room for the taskbar. The figures have their own numbering scheme designated by #N. Thus if the figure group is referenced by the variable a, then a(2) refers to the second figure in the group irregardless of the figure's handle number.

Support is also provided for working with docked figures in the Matlab desktop using DOCKFIG and NEWDFIG. The utility MAXFIG will maximize a figure to fill the screen, remembering it's prior position and size. A subsequent call to MAXFIG will restore the figure. Two versions are provided for MAXFIG, NEWFIG, and TILEFIG in the folders "Windows" and "Platform Independent" to provide support for multiple monitors. The "Windows" versions use the root property "MonitorPositions" and thus may not work properly on all platforms and will not work for Matlab versions prior to version 7 (R14). The "Platform Independent" versions should work on earlier releases and all platforms.

Folder Contents

dockfig    DOCK one or more FIGures.
newdfig    create NEW Docked FIGures.
vf    View one or more Figures.
getfigdim    GET FIGure DIMensions.

    Platform Independent Folder

    maxfig    MAXimize a FIGure to fill the screen.
    newfig    create NEW FIGures.
    tilefig    TILE 1 or more FIGures.

    Windows Folder

    maxfig    MAXimize a FIGure to fill the screen.
    newfig    create NEW FIGures.
    tilefig    TILE 1 or more FIGures.
    getmondim    GET MONitor DIMensions.
    screenxyabs    SCREEN X-Y ABSolute coordinates.
    screenxymon    SCREEN X-Y MONitor coordinates.