setname

Changes the figure name to equal the figure title.

Vous suivez désormais cette soumission

Note de l’éditeur : 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')

Citation pour cette source

Andrew Bliss (2026). setname (https://fr.mathworks.com/matlabcentral/fileexchange/33076-setname), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0