Yesterday is history, tomorrow is a mystery, but today is gift. That's why we called it the present. >>>>>>> 点此联系我

[Matlab绘图] Matlab中的YGrid、横坐标倾斜、设置字体

ax = gca;  % 设置YGrid
ax.YGrid = 'on';
ax.YMinorGrid = 'on';
set(gca, 'XTickLabelRotation', 45);  % 横坐标倾斜45度
set(gca, 'FontName', 'Times New Roman', 'FontSize', 10);  % 设置论文字体

 

 

posted @ 2021-01-11 21:58  virter  阅读(2933)  评论(0编辑  收藏  举报