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

Home » Public Forums » archive » Problem with CONTOUR-Fill
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Problem with CONTOUR-Fill [message #2537] Wed, 27 July 1994 19:00 Go to previous message
jkelley is currently offline  jkelley
Messages: 1
Registered: July 1994
Junior Member
I have a problem with CONTOUR when I use the /FILL option.
I am trying to color fill contours of temperature and then contour
the isotherms.

Here is my IDL code:


CONTOUR,Txz,X,ZM,LEVELS=[5,6,7,8,9,10,11,12,13,14,15,16,17,1 8,19,20,21,22],$
c_colors=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18], $
/FOLLOW,NLEVELS=18,/FILL,/OVERPLOT &

CONTOUR,Txz,X,ZM,LEVELS=[5,6,7,8,9,10,11,12,13,14,15,16,17,1 8,19,20,21,22],$
C_LABELS=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],col=19, $
/FOLLOW,NLEVELS=18,/OVERPLOT &

The above code works in some instances to create color filled contours
with black contours. However, in other situations it will fill
the area between contours with the same color (ex. green between 6 and 7 and
also between 7 and 8 when it should had been yellow between 7 and 8).

What am I doing wrong?


Novice IDL user,
John Kelley
jkelley@magnus.acs.ohio-state.edu
[Message index]
 
Read Message
Read Message
Previous Topic: External programs
Next Topic: Re: saving a linked list to file ?

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

Current Time: Wed Oct 08 15:23:02 PDT 2025

Total time taken to generate the page: 0.00342 seconds