comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: IDLgrColorbar object

Re: IDLgrColorbar object
type: item
description: Peter Connell (connell2@llnl.gov) writes: > I am attempting to use the Colorbar object in IDL 5.1 as a legend for a > color-filled contour OOG plot. I am confused by the interactions of the > COORD_CONV, DIMENSIONS, TICKVALUES, TICKTEXT, and MAJOR keywords with > respect to positioning and labeling the colorbar. More specifically, > COORD_CONV and DIMENSIONS seem to be related to data/normal coordinate > conversion, while TICKVALUES seems to work with palette indices. Can anyone > provide for me a clearer succinct explanation than appears in the IDL > documentation? You and I and everyone else I know who has tried to use it are confused. I can only conclude that whoever wrote that routine understands object graphics a hell of a lot better than I do. :-( I finally resorted to writing my own, which have the advantage of thinking like I do. There is one for a horizontal color bar and one for vertical. I like them because you can give a range to the color bar with a RANGE keyword, and you can position it in your coordinate space with a POSITION keyword. Even I can understand what these keywords do. :-) You can find them on my web page: http://www.dfanning.com/programs/vcolorbar__define.pro http://www.dfanning.com/programs/hcolorbar__define.pro Cheers, David --------------------------------------------------- David Fanning, Ph.D. Fanning Software Consulting E-Mail: davidf@dfanning.com Phone: 970-221-0438 Toll-Free Book Orders: 1-888-461-0155 Coyote's Guide to IDL Programming: http://www.dfanning.com/ Note: A copy of this article was e-mailed to the original poster.
creator: davidf
date: 1998-11-17T08:00:00-00:00