- 积分
- 808
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-10-25
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
照着官网做的如下:
load "~/plot/shea_util.ncl"
begin
a = addfile("~/shuju/ncl samples data/uv300.nc","r")
u = a->U(1,:,:)
;type = "x11"
type = "pdf"
;type = "png"
;type = "ps"
wks = gsn_open_wks(type,"panel_7")
res = True
res@cnLevelSelectionMode = "ManualLevels"
res@cnMinLevelValF = -10.
res@cnMaxLevelValF = 35.
res@cnLevelSpacingF = 5.
;res@gsnDraw = False
;res@gsnFrame = False
;res@cnInfoLabelOn = False
res@cnInfoLabelOrthogonalPosF = -0.07
1,1 Top
res@tmXBLabelsOn = False
res@tmXBOn = False
res@tmYRLabelsOn = False
res@tmYROn = False
res@gsnDraw = False
res@gsnFrame = False
plot = new(3,graphic)
plot(0) = gsn_csm_contour_map_ce(wks,u,res)
plot(0) = ShadeLtGtContour(plot(0),0., 3,31.9,17)
plot(1) = gsn_csm_contour_map_ce(wks,u,res)
plot(1) = ShadeLtContour(plot(1),0.1,3)
delete(res@tmXBLabelsOn)
delete(res@tmXBOn)
;res@tmXBLabelsOn = True
plot(2) = gsn_csm_contour_map_ce(wks,u,res)
plot(2) = ShadeGtContour(plot(2),30.,17)
gsn_panel(wks,plot,(/3,1/),False)
end
|
-
出图就是这样,第三个图的x轴没有labels
|