fig executes: figure; hold on, box on, grid on,

fig executes: figure; hold on, box on, grid on,

You are now following this Submission

fig executes: figure; hold on, box on, grid on,

Inputs:

H (optional) handle to an existing figure.

If H is given... fig(H); executes: figure(H); hold on, box on, grid on,
If H is not given... H = fig; executes: H = figure; hold on, box on, grid on,

The only point of this function is to save key strokes. If you use Matlab often and you value your time, then this function may appeal to you.

Cite As

Brenden Epps (2026). fig executes: figure; hold on, box on, grid on, (https://uk.mathworks.com/matlabcentral/fileexchange/37065-fig-executes-figure-hold-on-box-on-grid-on), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Interactive Control and Callbacks 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.1.0.0

updated Description

1.0.0.0