||
1.坐标轴位置的设置
pos=[left bottom width height];
subplot('position',pos);
2.colorbar位置的设置
hh=colorbar('fontsize',14,'fontweight','normal');
set(hh,'position',[0.825 0.1 0.018 0.2]) % colorbar 位置
3.figure背景颜色设置
figure('color','w') %===背景为白色
figure('color',[0.5 0.5 0.5]) %===背景为灰色
4.print的图片颜色发生变化的解决方案
set(gcf,'InvertHardcopy','off')
set(gcf,'paperposition',[0 0 15 8])
pngnam=strcat(outdir,'station_topo_v2');
print(pngnam,'-dtiff','-r400')
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-4-26 13:09
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社