Code covered by the BSD License  

Highlights from
Figure Management Utilities

4.66667

4.7 | 3 ratings Rate this file 32 Downloads (last 30 days) File Size: 103 KB File ID: #12607
image thumbnail

Figure Management Utilities

by

 

11 Oct 2006 (Updated )

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

| Watch this File

File Information
Description

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.

Acknowledgements

Tilefigs.M and Useful Figure Management Utilities inspired this file.

This file inspired Get Monitor Dimensions and Dynamical Systems Toolbox.

MATLAB release MATLAB 7.2 (R2006a)
Other requirements Files in the Windows folder will not work on versions prior to 7.0 (R14). As these utilities were developed on a Windows system, compatibility with other platforms is not known. Email me with your experience and add comments for others.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
27 Aug 2013 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.

05 Sep 2012 Ivar Eskerud Smith  
21 Feb 2009 Tim

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

21 Oct 2008 Thierry Dalon

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

12 Dec 2006 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].

09 Dec 2006 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.

Contact us