On Sep 7, 2009, at 7:15 PM, 감은아 wrote:
> Dear Mary.
>
> I not getting expected results.
>
> Still, contour line colors aren't want color.
>
> Filled color is RGB color.
>
> I made RGB color.
>
> ncolors = 6
> #  r   g   b
>  255 255 255
>  255 255 234
>  255 241 188
>  255 214 153
>  255 172 117
>  255 120  86
>
>
> code is plot part.
> ;
> ; Plot
> ;
>     res = True
>     res_at_InitTime = True
>     res_at_Footer = False
>     res_at_TimeLabel = times(it)
>
>     res_at_gsnMaximize = True
>
> ; geopotential height
>     res2 = res
>     res2_at_cnMonoLineColor = False
>     res2_at_cnLineColors = "blue"
This is wrong. Use this:
res2_at_cnMonoLineColor = True
res2_at_cnLineColor = "blue"
>     res2_at_cnLineThicknessF = 1.5
>     res2_at_cnInfoLabelOn = False
>     res2_at_cnLineLabelsOn = True
>     res2_at_cnLineLabelBackgroundColor = "white"
>     res2_at_cnLevelSpacingF = 60.
>
>     contour_geoh = wrf_contour(in_file,wks,geo_h,res2)
>
> ; temperature [C]
>     res3 = res
>     res2_at_cnMonoLineColor = False
>     res3_at_cnLineColors = "red"
This is wrong. Use this:
res3_at_cnMonoLineColor = True
res3_at_cnLineColor = "red"
--Mary
>     res3_at_cnLineThicknessF = 1.5
>     res3_at_cnInfoLabelOn = False
>     res3_at_cnLineLabelBackgroundColor = "white"
>     res3_at_cnLevelSpacingF = 3.
>     res3_at_gsnContourPosLineDashPattern = 1
>
>     contour_tc = wrf_contour(in_file,wks,tc_plane,res3)
>
> ; vector
>     res4                       = res
>     res4_at_vcLevelSelectionMode = "ManualLevels"
>     res4_at_vcGlyphStyle          = "WindBarb"
>     res4_at_vcRefMagnitudeF       = 10.
>     res4_at_vcRefLengthF          = 0.025
>     res4_at_vcRefAnnoOn           = True
>     res4_at_vcMinDistanceF        = 0.025
>     res4_at_vcWindBarbTickLengthF = 0.4
>     res4_at_vcWindBarbColor       = "black"
>
>     vector                     =  
> wrf_vector(in_file,wks,u_plane,v_plane,res4)
>
> ; vorticity
>     res5 = res
>     res5_at_cnFillOn = True
>     res5_at_cnLevelSpacingF = 10
>
>     contour_vrt = wrf_contour(in_file,wks,av_plane,res5)
>
> ;
>     pltres                       = True
>     mpres                        = True
>     mpres_at_mpGeophysicalLineColor = "black"
>
>     plot = wrf_map_overlays(in_file,wks,(/ 
> contour_vrt,contour_tc,contour_geoh,vector/),pltres,mpres)
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 07 2009 - 20:41:15 MDT
This archive was generated by hypermail 2.2.0 : Tue Sep 08 2009 - 11:49:50 MDT