MATLAB 亦可指定圖軸上的格線點(Ticks),例如: ... x = 0:0.1:4*pi; plot(x, sin(x)+sin(3*x)) set(gca, 'ytick', [-1 -0.3 0.1 1]); % 在y ... grid off, 取消格線.
確定! 回上一頁