-
常见问题
- 坐标轴显示字符设置:
% 挨个赋值
set(gca,'XTick',0:2:12);
set(gca,'XTickLabel',{'9/27','9/29','10/1','10/3','10/5','10/7','10/9'});
- 图形大小设置
set(gcf,’unit’,’centimeters’,’position’,[position_left position_bottom figure_width figure_height])
- 将坐标轴字体设置成白色,实现坐标轴隐藏
set(gca,'YColor','white');