Hi Vinit,
If the data over land = _FillValue, as I am guessing yours is, then all 
areas set to _FillValue are color filled with the background color, in 
most cases white.
You have two choices that I can think of:
1) If the resource applies, and you are not setting cnFillMode = 
"RasterFill", then you can set cnMissingValFillColor = "transparent".
http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnMissingValFillColor
Make sure mpLandFillColor = "black"
2) Again, set mpLandFillColor = "black", and then set mpFillDrawOrder = 
"PostDraw", which will fill the land last, covering up whatever data 
color fill was present over land.
Others might have other suggestions..
Good luck,
Adam
Asher, Vinit Narendra wrote:
> Hello,
> 
> I have a oceanic data file where I am trying to plot the ocean TEMPERATURE field
> 
> The value of the field for regions where there is land is 9.97e+36
> 
> However the displayed range of values for the variable (in ncview) shows -1.46 to 34
> 
> Could you help me figure out how to color the land black in the plot
> 
> Best Regards,
> 
> Vinit Asher
> vinit.asher_at_mavs.uta.edu
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Fri Apr 10 2009 - 11:34:06 MDT
This archive was generated by hypermail 2.2.0 : Sun Apr 12 2009 - 14:28:35 MDT