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

Home » Public Forums » archive » Re: CONTOUR & TRIGRID/TRIANGULATE
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: CONTOUR & TRIGRID/TRIANGULATE [message #48155 is a reply to message #48154] Fri, 31 March 2006 06:56 Go to previous messageGo to previous message
Ryan. is currently offline  Ryan.
Messages: 77
Registered: March 2006
Member
David,

That code works great! Thank you so much for your help. I have one
more question, I put a color bar on the graph (using your colorbar.pro)
but the colorbar colors don't match what is on the contour. I can
change the range of the color bar all I want and the colors don't
change on the contour. I'm not sure what I'm doing wrong. I have the
code you provided and this below it:

COLORBAR, RANGE=[MIN(levels), MAX(levels)], NCOLORS=ncolors,
DIVISIONS=8

For Reference:
c_colors = INDGEN(16)*15
ncolors = nlevels +1

Thanks,
Ryan.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: iTools Layout - Some help for once :-)
Next Topic: Corrected copy of Intro to IDL available

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

Current Time: Fri Oct 10 00:33:40 PDT 2025

Total time taken to generate the page: 1.20192 seconds