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.
> Si Stu, > > > First, please remind me how to create a set of pre-defined > > color tables, and apply them to a display. I'd like to have a set of pre-defined color tables (e.g. rainbow, reverse rainbow, earth...) from which a user can choose. Has anybody done anything like this with VisAD? I thought about taking a file-based approach where a ColorTable class could open/save color tables from/to files with some human readable/editable format. On the other hand, I'd rather avoid the baggage of more files to carry around. I thought of a ColorTable class with static ColorTables (akin to RealType.Longitude). I could then extend ColorTable to make MyColorTable which could define some more static ColorTables with or without using files. Any thoughts? Are there other "standard" color tables in the vis community that could be adapted to VisAD? Regards, Doug -- *----------------------------------------------------------------------* | Doug Lindholm, Software Engineer | E-mail: lind@xxxxxxxx | | Research Applications Program | Phone: 303-497-8374 | | National Center for Atmospheric Research | | | P.O. Box 3000 | There's no place | | Boulder, Colorado 80307-3000 | like $HOME | *----------------------------------------------------------------------*
visad
archives: