File Exchange

image thumbnail

Figure Management Utilities

version 1.0 (103 KB) by

These M-files are a collection of utilities for managing groups of figures on multiple monitors.

4.66667
3 Ratings

6 Downloads

Updated

View License

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. These utilities support multiple monitor displays, also known as the extended desktop, though figure groups do not span more than one monitor.

Actions such as tiling, creating, and viewing can create figure groups. In the attached figure is an example of 6 figures tiled on the screen with room for the taskbar.

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.

Comments and Ratings (6)

John Adcox

Great set of functions!

Is there a way to have tilefig automatically extend onto secondary monitors if there is no additional space on the primary monitor?

i.e. if I have 13 figures and I specify a 3x4 tile on the primary monitor, then the 13th figure could be extended to the secondary monitor (following the same 3x4 structure).

I know that I can do this by picking out the desired figures and then running the code again to specify its desired location on the 2nd monitor, but it would be nice if there was an option in the function to automatically do this.

Tim

Tim (view profile)

tilefig needs to handle figures that don't have taskbars or menubars. Currently when passed such figures it puts taskbars / menubars back onto them.

Thierry Dalon

I like it very much! specially tilefig, maxfig and vf. (works fine with R2008a)

Mirko Hrovat

Dmytro, I've sent you an email.
Specific questions or comments are probably best made through direct email.

To permanently have a figure maximized one can use "tilefig" with the layout specified as [1,1].

Dmytro Vasylenko

I try
h_S11_3D=figure ('Name', 'S11 vs GENERATIONs', 'NumberTitle', 'off');
maxfig(h_S11_3D,1,'normal')
h_gain_3D=figure ('Name', 'GAIN vs GENERATIONs', 'NumberTitle', 'off');
maxfig(h_gain_3D,1,'normal');
But window with h_S11_3D is not more maximized, but I want it to be maximized??
How can I make this.

MATLAB Release
MATLAB 7.2 (R2006a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video