This is a planned feature for the next IDL release. When that launches, you'll be able to create a discrete colorbar. There are some other optional enhancements such as tapered ends, as well as the option to create a color bar independently (i.e. with no specific target graphic).
There are a lot of things to look forward to for the next release, so stay tuned.
-Josh
Exelis Vis
|