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.
Bill and all: First, please remind me how to create a set of pre-defined color tables, and apply them to a display. I found this much in the mail list archive: "you could try computing a color table: ColorControl control = (ColorControl) cmap.getControl(); float[][] table = new float[3][256]; for (int j=0; j<256; j++) { table[0][j] = ... // j-th red table[1][j] = ... // j-th green table[2][j] = ... // j-th blue } control.setTable(table);" then how do I use a ColorControl? And is there a VisAD example that shows how to create a cross section (2D display) for a plane across a 3D display? Are there pre-defined cross-sections like the old drafting elevation-plan-section, or is the cross section on an arbitrary plane? Thanks, Stu Wier
visad
archives: