mpOutlineDrawOrder

From: Dave Kindig <kindig_at_nyahnyahspammersnyahnyah>
Date: Mon, 31 Mar 2008 16:42:19 -0600

Ola,
I am trying to draw Grid lines over my continent boundaries. I am using
wrf_overlay with wrf_map.

However, the best I have been able to manage is to get the grid lines to
stop at the edge of the continents. I have tried various combinations
of draw orders but this is the best I have managed. (See attachment).
I don't think it has to do with the wrf_XXX functions, but I am not sure.

; Contour options
     opts_um_at_cnFillOn = True
     opts_um_at_cnFillDrawOrder = "PreDraw"

; Map Options
     opts_mp = True
     opts_mp_at_mpGridLineColor = "Grey28"
     opts_mp_at_mpGeophysicalLineColor = "Black"
     opts_mp_at_mpGridAndLimbDrawOrder = "PostDraw"
     opts_mp_at_mpOutlineDrawOrder = "Draw"
     opts_mp_at_mpOutlineOn = False
     opts_mp_at_mpFillOn = False
     opts_mp_at_mpFillDrawOrder = "Draw"

; Get the slice of interest.
  contour_um = wrf_contour(a,wks_um,umet(26,:,:), opts_um )

; Make the map and a line referenced to the map

  map = wrf_map( wks_um, a, opts_mp )
  line = gsn_add_polyline( \
         wks_um, map, (/100, 100/), (/90, 50/), opts_ln )

; MAKE PLOTS
  wrf_map_overlay( wks_um, map, contour_um, True )
  wrf_overlay( wks_um, line, True )

Thanks for your help,
Dave

Dave Kindig
National Snow & Ice Data Center
University of Colorado
303-735-6208

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Mon Mar 31 2008 - 16:42:19 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 04 2008 - 08:43:08 MDT