cnFillPalette: last contour fill reverts to black

From: jonathan meyer <tallj03_at_nyahnyahspammersnyahnyah>
Date: Thu Sep 05 2013 - 11:46:47 MDT

Hi Devs,
I've been enjoying the functionality of the cnFillPalette resource for my panel plots where different color tables are desired.
I am wondering how to reset the last contour fill which is reassigned to a black color (foreground color).
>From the documentation:
"If you set cnFillPalette using a predefined color map, it will have two fewer elements than if you set wkColorMap using the same color map. This is because the wkColorMap resource contains special elements (0 and 1) for the Background and Foreground colors, whereas the palette-type resources do not."

My question is how to reset that color? Is it as simple as giving a named color to a different resource?
For future search reference, here is the warning generated when using the resource and a 256 color table (resdiff@cnFillPalette = "BlueYellowRed")
warning:ContourPlotSetValues: color index (255) exceeds size of palette, defaulting to foreground color for entry (21)

Thanks for the time!

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Thu Sep 5 11:46:57 2013

This archive was generated by hypermail 2.1.8 : Mon Sep 16 2013 - 13:43:52 MDT