View License

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

» Watch video

Highlights from
Naming figures (fig.m)

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.64 KB File ID: #3431 Version: 1.4
image thumbnail

Naming figures (fig.m)


Aslak Grinsted (view profile)


13 May 2003 (Updated )

Create new figures with a window title which can be used as a handle.

| Watch this File

File Information

This function works just like the figure command in MATLAB except that you reference figures by names instead of figure handles. (you can still use the handles though)

H=fig('My figure')

The title of the window of the figure will now be 'My figure'. You can also set figure properties with the same call:

fig('My figure','renderer','opengl');

It will also place the figure window on the monitor with the current mouse position.

MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
01 Jul 2011 1.2

*added screenshot

*no longer lets it change paperorientation by default.

03 Sep 2013 1.4

Fixed a bug in positioning code.

Contact us