Changeset 2147 for palm/trunk/SCRIPTS/NCL
- Timestamp:
- Feb 9, 2017 4:52:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/NCL/cross_sections.ncl
r2030 r2147 416 416 cs_res@tmYLMode ="Automatic" 417 417 418 cs_res@cnLevelSelectionMode = " ManualLevels"418 cs_res@cnLevelSelectionMode = "AutomaticLevels" 419 419 cs_res@lbLabelFontHeightF = font_size_legend 420 420 cs_res@lbLabelStride = legend_label_stride … … 1819 1819 if(check) then 1820 1820 1821 space=( MaxVal(varn)-MinVal(varn))/241821 space=(decimalPlaces(MaxVal(varn),3,True)-decimalPlaces(MinVal(varn),3,True))/24 1822 1822 1823 cs_res@cnMinLevelValF = MinVal(varn) 1824 cs_res@cnMaxLevelValF = MaxVal(varn) 1825 1826 cs_res@cnLevelSpacingF = space 1823 ;cs_res@cnMinLevelValF = decimalPlaces(MinVal(varn),3,True) 1824 ;cs_res@cnMaxLevelValF = decimalPlaces(MaxVal(varn),3,True) 1825 1826 ;cs_res@cnLevelSpacingF = space 1827 cs_res@cnMaxLevelCount = 26 1827 1828 1828 1829 ; **************************************************** … … 1980 1981 end if 1981 1982 1983 ;if (topo .EQ. 0) then 1984 ;nothing to be done 1985 ;else 1986 ; print("'topo' is set to " + topo) 1987 1988 ;plot(n) = gsn_csm_contour(wks_ps,\ 1989 ;data(varn,lo,li-lis,:,:),cs_res) 1990 ;if(vNam(varn) .EQ. "zwwi" .OR. \ 1991 ; vNam(varn) .EQ. "zusi") then 1992 ; to_res@cnFillPalette = "GMT_gray" 1993 ;plot_topo = gsn_csm_contour(wks_ps,\ 1994 ; data(varn,lo,li-lis,:,:),to_res) 1995 ;end if 1996 ;overlay(plot(n), plot_topo) 1997 ;end if 1998 1982 1999 if (vector .EQ. 1 .AND. plotvec .EQ. "plotvec") then 1983 2000 ;nothing to be done
Note: See TracChangeset
for help on using the changeset viewer.