Code covered by the BSD License  

Highlights from
Naming figures (fig.m)

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 1.45 KB File ID: #3431
image thumbnail

Naming figures (fig.m)

by Aslak Grinsted

 

13 May 2003 (Updated 01 Jul 2011)

Create new figures with a windowtitle.

| Watch this File

File Information
Description

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');

MATLAB release MATLAB 5.3 (R11)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
19 May 2003

Update: Only sets any default attributes if a new figure is created... Uses orient landscape instead of set(H,'orientation','landscape').

01 Jul 2011

*added screenshot

*no longer lets it change paperorientation by default.

Tag Activity for this File
Tag Applied By Date/Time
annotation Aslak Grinsted 22 Oct 2008 07:01:33
customization Aslak Grinsted 22 Oct 2008 07:01:33
figure Aslak Grinsted 22 Oct 2008 07:01:33
name Aslak Grinsted 22 Oct 2008 07:01:33
title Aslak Grinsted 22 Oct 2008 07:01:33
window Aslak Grinsted 22 Oct 2008 07:01:33
fig Aslak Grinsted 22 Oct 2008 07:01:33
fig Mike Semenoff 13 Oct 2009 13:18:04
taskbar Aslak Grinsted 01 Jul 2011 06:57:21
windowtitle Aslak Grinsted 03 Aug 2011 07:24:20
reference Aslak Grinsted 03 Aug 2011 07:24:24
number Aslak Grinsted 03 Aug 2011 07:24:43

Contact us at files@mathworks.com