fig

A function to easily create and select figures

You are now following this Submission

This function is a replacement for `figure`.

It either creates or selects a figure with the string name specified:
fig('myplot');

Rather than a window title of "Figure 4", "myplot" will be displayed. (E.g., in the Windows taskbar.)

No more having to deal with figure numbers!

Cite As

Will Robertson (2026). fig (https://www.mathworks.com/matlabcentral/fileexchange/11236-fig), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Printing and Saving in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0