Matlab plot畫圖坐標字體、字號、范圍等設置-百度經驗
https://jingyan.baidu.com/article/ae97a646013e05bbfd461d0b.html
figure() x=0:0.2:8; plot(x,sin(x),'-k', 'LineWidth',2); set(gca,'linewidth',2,'fontsize',30,'fontname','Times'); %% 線寬 字號 字體 legend('sinx'); %%圖例 xlabel('x','Fontname', 'Times New Roman','FontSize',12); %% x坐標,顯示內容,字號,字體 set(gca,'XTick',[0:2:8]) %¸ %改變x軸坐標間隔顯示
坐標區的外觀和行為 - MATLAB - MathWorks 中國
https://ww2.mathworks.cn/help/matlab/ref/matlab.graphics.axis.axes-properties.html