Contour and Pattern Fill in NCL

From: Jan Dutton (jfd AT unknown)
Date: Fri May 07 1999 - 11:44:20 MDT


Hello,

I am writing to ask if it is possible to fill
a contour with colors and patterns in the same object
and have the label bar reflect tis information.

I am trying to plot OMEGA (in this case) from CSM with
a hatching (i.e a pattern) over all positive values
with a solid contour fill underneath.

I tried the following
 "cnFillOn" : "True"
 "cnMonoFillColor" : "False"
 "cnFillColors" : (/2,4,6,8,10,10,8,6,4,2/) ; contour fill colors
 "cnMonoFillPattern" : "False"
 "cnFillPatterns" : (/3,3,3,3,3,-1,-1,-1,-1,-1/)

In this case the hatches aquire the colors that I specified
and there is no underlaying solid countouring. The label bar
contains the hatches as well, but not the contours.

I have also tried creating two separate contour objects
and then using the overlay function.

One object draws the fill colors and the other object draws the
fill patterns. This script can be seen at
http://www.psu.edu/~jfd/omega.ncl. The plot can be viewed
at http://www.psu.edu/~jfd/omega.html.

In this case the plot is exactly as I want it, but
the labelbar does not contain the pattern fill.

Any help with this would be appreciated.

Thanks,

Jan Dutton
 
**********************************
Jan F. Dutton
The EMS Environment Institute
University Park, PA 16801
jfd AT unknown
814-867-3673
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! http://www.essc.psu.edu/~jfd !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:40:37 MDT