- 积分
- 131
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2019-1-9
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2023-1-22 20:54:42
|
显示全部楼层
res是常规的设置,画的是组图,这张是其中一个图
res4=res
res4@trYMinF = 0 ;Y轴上的最小数值
res4@trYMaxF = 65
res4@tiXAxisString = "Year"
res4@xyLineColors =(/"purple","black","purple","black"/) ;
res4@xyDashPatterns = (/0,0,1,1/);
res4@xyLineThicknessF = (/6.0,6.0/);6.0 ;折线宽度
res4@tmYROn = False
res4@tmXTOn = False
res4@gsnYRefLine = 0
res4@gsnYRefLineDashPattern = 1
res4@gsnYRefLineThicknessF = 6
;图例整体
res4@pmLegendDisplayMode = "Always" ;显示方式 ; turn on legend
res4@lgOrientation = "Vertical"
res4@pmLegendSide = "Top" ;放置位置,靠哪条坐标轴;IP
res4@pmLegendParallelPosF = 0.13 ;水平移动,正值向右移
res4@pmLegendOrthogonalPosF = -0.25 ;垂直移动,正值向上移;IP
res4@xyExplicitLegendLabels = (/"Q_I","Q_F","",""/);
res4@pmLegendWidthF = 0.25 ; 宽度Change width and
res4@pmLegendHeightF = 0.15 ;高度 height of legend.
res4@lgLabelFontHeightF = .02 ;图例数据项标注字号 change font height
res4@lgPerimOn = False ;图例边框显隐开关 no box around
res4@lgBoxMinorExtentF =0.3 ;缩短图例中每根折线的长度
res4@lgTitleString=""
plot(3) = gsn_csm_xy(wks,x1,pltarry4,res4) |
|