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