1.网格线设置
T=0.0001; t=0:T:20; m=sin(6*pi*t); plot(t,m); axis([0 1 -1.1 1.1]); grid on %主网格线 grid minor %次网格线%取消网格线grid off