res = True ; plot mods desired res@NoHeaderFooter = True ; Switch headers and footers off res@cnLinesOn = False res@gsnDraw = False res@gsnFrame = False res@gsnMaximize = True ; uncomment to maximize size res@lbLabelAutoStride = True ; let NCL determine label spacing res@lbTitleFontThicknessF = 10.0 res@lbTitleFontHeightF = 0.03 res@lbLabelFontHeightF = 0.03 res@lbLabelBarOn = False ;Turns off the individual label bars res@cnFillOn = True ; turn on color res@cnLinesOn = False ; turn off contour lines res@cnLineLabelsOn = False ; 可以去掉小数字 res@cnInfoLabelOn = False ; turn off cn info label res@cnLevelSelectionMode = "ExplicitLevels" ; set explicit contour levels ; PDF res@tmXTOn = False res@tmYROn = False ;res@gsnXYBarChart = True ; turn on bar chart ;res@pmLegendDisplayMode = "Always" res@pmLegendSide = "Top" ; Change location of res@pmLegendParallelPosF = 0.8 ; move units right res@pmLegendOrthogonalPosF = -0.4 ; move units down res@pmLegendWidthF = 0.125 ; Change width and res@pmLegendHeightF = 0.125 ; height of legend. res@lgPerimOn = False ; turn off/on box around res@lgLabelFontHeightF = .015 ; label font height res@xyMonoDashPattern = True ; all solid res@xyLineThicknesses = (/2.0,2.0/) res@xyLineColors = (/"red","blue"/) ;************ ; map ;************ mpres = True mpres@mpDataSetName="Earth..4" mpres@mpDataBaseVersion = "Ncarg4_1" ;mpres@mpOutlineBoundarySets = "AllBoundaries" mpres@mpOutlineSpecifiers = (/"China","Taiwan"/) mpres@mpGridAndLimbOn=False mpres@mpNationalLineThicknessF=2. ; national boundary outlines mpres@mpNationalLineColor = "grey" mpres@mpGeophysicalLineColor = "grey" mpres@mpGeophysicalLineThicknessF = 2 ; set geophysical boundary outlines e.g. coastline ;mpres@mpUSStateLineColor = "grey60" ;mpres@mpUSStateLineThicknessF = 1.8 ; set provincal boundary outlines mpres@tmYLLabelFontHeightF=0.02 ; x and y axis font size mpres@tmXBLabelFontHeightF=0.02