Forcing the Contour Colors to span but always start with the first color

From: Craig Tierney - NOAA Affiliate <craig.tierney_at_nyahnyahspammersnyahnyah>
Date: Fri Jul 12 2013 - 11:01:29 MDT

In my contour map, I am setting using ManualLevels to specify how I want
the levels to be set.

res@cnLevelSelectionMode = "ManualLevels"
res@cnMinLevelValF = 0.
res@cnMAxLevelValF = 10.0
res@cnLevelSpacing = 0.5

I set my colormap as:

gsn_define_colormap(xwks,"precip3_16lev")

I am not very picky about the map I use, but I am plotting differences and
I want the first color to always be white.

It seems my problem is that when NCL (v. 6.1.2) spans colors, it picks
another color than the first on in the colormap. While the docs say I can
use cnSpanFillPalette=False, then my colors do not stretch across the whole
colormap.

Is there anyway to get the first value to be the first color in the
colormap and span the colormap?

Thanks,
Craig

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jul 12 11:01:41 2013

This archive was generated by hypermail 2.1.8 : Fri Jul 12 2013 - 16:37:39 MDT