You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 .
General Information
- Version 1.1.0.0 (1.21 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
