image thumbnail

setname

version 1.0.0.0 (1.46 KB) by Andrew Bliss
Changes the figure name to equal the figure title.

541 Downloads

Updated 29 Sep 2011

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

SETNAME sets the figure name to equal the figure title.
With many figure windows open, SETNAME makes it easier to disinguish
which is which in the taskbar.
SETNAME(AX) uses the axis AX instead of the current axis.
If the figure has no title, SETNAME uses the axis labels instead.

I also put the following in my STARTUP file to turn off the default figure numbering:
set(0,'defaultfigurenumbertitle','off')

Cite As

Andrew Bliss (2021). setname (https://www.mathworks.com/matlabcentral/fileexchange/33076-setname), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!