comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » adding a colorbar legend to a contour plot?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: adding a colorbar legend to a contour plot? [message #7238 is a reply to message #7154] Mon, 14 October 1996 00:00 Go to previous messageGo to previous message
G�nter Kargl is currently offline  G�nter Kargl
Messages: 3
Registered: October 1996
Junior Member
Jeff Haferman wrote:
>
> I've got datapoints (x,y,z) and I'm using IDL
> to produce a contour plot of z at locations (x,y).
>
> This is easy enough to do with IDL, but I don't see
> in the manuals (we have the Version 3.6 manuals) how
> I can add a colorbar legen to the contour plots.
>
> I'm new to this newsgroup; is there a FAQ, or could
> somone mail me a small snippet of code to perform this
> task?
>
> Thanks,
>
> Jeff

Hi Jeff,

I have the same problem of making a color-coded temperature map of a
2-dimmensional area. For this purpose I have writen a routine making a
contour plot overlaying a color image ov the data (TVSCL). On the levt
side a color bar is plotted. If you like you could have a copy of this.
It is pretty much independend and works even in a !p.multi environment.
Besides you could have four x,y axes, postscript plots,..... But simply
looking at the code will make you understand the way of producing color
bars. Unfortunately it is not thoroughly documented, but you will
understand.

Gunter
--
Kargl G�nter Mailto: kargl@limar1.mpae.gwdg.de
Max-Planck Inst, f. Aeronomie Phone: ++49 5556 979 234
Max-Planck Str. 2 Fax:: ++49 5556 979 240
D- 37191 Katlenburg-Lindau
Germany
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL Editor question
Next Topic: readu/writeu oddity in xdr files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 08:03:47 PDT 2025

Total time taken to generate the page: 1.44156 seconds