Is there any way to have grid on as default?
Show older comments
Hi!
Is there any way to make matlab plot all my figures (bode, step, simple plots etc.) with grids? I find it much better.
Thanks!
Accepted Answer
More Answers (1)
Guilherme Scofano
on 20 Feb 2026
TL;DR:
ctrlpref
Then "Style" tab > Show grids by default.
The Control Toolbox plot functions (bode, bodeplot, pzmap, step, stepplot, lsim, etc.) have a different set of configurations, so changing properties in groot, generally does not work.
If you want to change default settings (grids on/off, title font size, etc.) for these functions, you have to go to the "Control System and System Identification Toolbox Preferences" dialog window.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!