效果如下:. 如果需要将X轴的坐标设置为文字,需要使用XTick和XTickLabel属性,举例如下:. x = 0 : 24;. y = x .^ 2;. plot (x, y, '*-', 'linewidth', 2);.
確定! 回上一頁