MATLAB: A command for having the ygrid on only , on figure , with set(gca , ),, … .. …How

MATLABygrid

, So I dont have to take out the xgrid manualy for big number of figures
Thanks

Best Answer

set(gca, 'YGrid', 'on', 'XGrid', 'off')