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.
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: