NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Please see the GEBO table at http://www.ngdc.noaa.gov/mgg/image/IBCAO_GEBCO_comp_colortable_oc.jpgI am trying to influence the Displayable so that my data is shown according to the GEBCO scheme.
I am usingContourLevels cl = new IrregularContourLevels( 0, 25, 50 .... 0 as per the jpg)
displayable.setContourLevels( cl ); float[3][14] COLORS = rgbs for 14 colors as floats. displayable.setColorPalette( COLORS );It is not quite turning out as I expected. i suspect that the two calls above are not as entwined as I had hoped. I note from the javadoc the suggested use of setRangeForColor(). however is also appears that the color palette is somehow linear in the scalar map range?? The GEBCO scheme is not linear, but more discrete in its binning.
Any help gratefully appreciated. Stuart PS i hope i have not asked this before, i have trawled the logs...
idvusers
archives: