Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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: