filled contour over filled map with transparent missing values

From: Xanthe Papadakis <xpapadak_at_nyahnyahspammersnyahnyah>
Date: Thu, 06 Jul 2006 11:37:36 -0400

Hello,

Does anyone know if it's possible to display a filled contour plot with
"transparent" missing values, over a filled map plot, so that the filled
map and it's colors show through where the data has missing values?
(e.g. Display just clouds over a filled map so that clear areas don't
cover the map). The transparent values don't seem to be truly transparent.

This works fine if the map plot is not filled, or if the contour plot
uses just contour lines instead of contour fill, but not if both
cnFillOn=True and mpFillOn=True

Below is a snippet of the code:

   res@mpFillOn=True
   res@mpFillBoundarySets="Geophysical"
   res@mpOutlineOn="True"
   res@mpLandFillColor="Green"
   res@mpInlandWaterFillColor="Blue"
   res@mpOceanFillColor="Blue"

   clddata@_FillValue = -999
   res@cnMissingValFillColor=-1

   res@cnFillOn = True
   res@gsnSpreadColors=True

   plot=gsn_csm_contour_map(wks,clddata,res);

Thanks!
Xanthe

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 06 2006 - 09:37:36 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 10 2006 - 09:18:19 MDT