- 积分
- 3652
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-4-22
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
在文献调研中看见一张位置高度的图,希望用ncl画出类似的,参考图如下
自己写的ncl脚本,略去读入数据,仅放画图设置,如下
wks = gsn_open_wks("eps","test_H500") ; send graphics to PNG file
gsn_define_colormap(wks,"BlueDarkRed18")
res = True ; plot mods desired
res@gsnPolar = "NH" ; specify the hemisphere
res@cnFillOn = True ; turns on the color
res@mpFillOn = False ; turns off continent gray
res@cnLinesOn = True ; turn off contour lines
res@mpGridLatSpacingF = 30. ; change latitude line spacing
res@mpGridLonSpacingF = 30. ; change longitude line spacing
res@mpCenterLonF = 180
res@cnLineLabelsOn = True
res@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels
res@cnMinLevelValF = -20. ; set min contour level
res@cnMaxLevelValF = 20. ; set max contour level
res@cnLevelSpacingF = 2 ; set contour spacing
res@gsnContourZeroLineThicknessF = 3
plot = gsn_csm_contour_map_polar(wks,zg,res) ; create the plot
得到效果如下
请问如何像参考图仅保留加粗的0线而去掉其他等值线和数值?谢谢大家解答
|
|