color bar

From: H.Dang <danghy_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 18 2011 - 08:13:10 MDT

Good Morning!

I got some new questions about color bar, please see my plot in the
attachment. I used the following setting:

 gsn_define_colormap(wks,"rainbow+white+gray")
...
 colors(7:) = ispan(165,237,4)

 res@lbBoxLineColor = "white"
 res@lbFillLineThicknessF = "0.8"
 res@lbLabelStride = 5
 res@cnLevels = levels
 res@cnFillColors = colors

My question is: based on the color I choose, the 237th for
"rainbow+white+gray", but I got deep purple for label >19.5, I've tried 238
too, the same result.

And how should I do to make the white interval between different colors not
so wide?

Thank you.

-- 
Cordially,
Hongyan(鸿雁)
Tel: 1-519-8884567ext36667


_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

colorbar.jpg
Received on Thu Aug 18 08:13:51 2011

This archive was generated by hypermail 2.1.8 : Mon Aug 22 2011 - 08:13:37 MDT