retrieve named colors

From: James Correia <jimmyc42_at_nyahnyahspammersnyahnyah>
Date: Wed Sep 21 2011 - 13:35:07 MDT

Hi-
I am trying to use the existing colors in my colormap to color specific
contours in my contour plot. How do I assign the value for col(q) in the
example below? Or should I be using the gsnSpreadColorStart (and End) to use
the different colors individually for each specific contour?

colors=(/"white","black","white","blue"/)
  gsn_merge_colormaps(wks,colors,"radar")

res@cnLineColor = col(q)

-- 
James Correia Jr.
OU CIMMS Research Associate
SPC HWT Liaison
"The highest function of the teacher consists not so much in imparting
knowledge as in stimulating the pupil in its love and pursuit. To know how
to suggest is the art of teaching."
------------------------------------------------------------------------------------------
The views expressed in this email do not necessarily reflect those of NOAA,
the National Weather Service, or the University of Oklahoma.
------------------------------------------------------------------------------------------

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 21 15:35:14 2011

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2011 - 17:12:44 MDT