state boundaries with mpFill = True

From: Jeff Whitaker (jswhit AT XXXXXX)
Date: Tue Jun 10 2003 - 20:03:18 MDT


Hi: I'd like to get a map of the US superimposed on a gray background
(everything except the US masked out), but with the state boundaries
drawn. Here's my attempt

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
begin
  wks = gsn_open_wks("ps","test")
  gsn_define_colormap(wks,"temp1")
  res = True
  res@mpMinLonF = 235
  res@mpMaxLonF = 293
  res@mpMinLatF = 24
  res@mpMaxLatF = 50
  res@mpOutlineBoundarySets = "GeophysicalandUSStates"
  res@mpOutlineDrawOrder = "PostDraw"
  res@mpFillOn = True
  res@mpMaskAreaSpecifiers = "USStatesLand"
  res@mpFillDrawOrder = "PreDraw"
  res@mpFillAreaSpecifiers = (/"water","land","USStatesWater"/)
  res@mpSpecifiedFillColors = (/3,3,3/)
  res@mpUSStateLineColor = "red"
  plot = gsn_csm_map_ce(wks,res)
end

This gives me a map with a white US superimposed on a gray background, but
no state boundaries. How do I get those state boundaries to show up?

-Jeff

---
Jeffrey S. Whitaker         Phone : (303)497-6313
NOAA/OAR/CDC  R/CDC1        FAX   : (303)497-6449
325 Broadway                Web   : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Wed Jun 11 2003 - 09:07:43 MDT