ezplot('cos(x/4)*sin(5*x)');grid onset(gca,'xtick',(-5:5)/2.5*pi,'ytick',[-1,1])
直接用鼠标点出来,再改属性试试,或者用docgridon看看帮助。