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.
Hi, Has anyone written a legend-widget, i.e. a widget which extracts the colour table from the LabeledRGBWidget, prints the max and min values of the map it's attached to and also has a string for the units? Such a widget would be very useful to put on top of a display (especially if one needs to produce screenshots of it). There are more complicated issues like when one wants to use a colour table with discrete values. This legend-widget would then need to include all those values. I've tried to extract the colour table from the LabeledRGBWidget, but it came with the colour distribution lines (which are sometimes not really relevant). I'm also no Java expert :-) Anyone out there with the same needs? Thanks, Ugo
visad
archives: