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

Home » Public Forums » archive » How do you color contour levels/ranges in a PLOT which uses the functions CONTOUR and SURFACE?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How do you color contour levels/ranges in a PLOT which uses the functions CONTOUR and SURFACE? [message #13034] Mon, 05 October 1998 00:00 Go to previous message
Robert Lematta is currently offline  Robert Lematta
Messages: 3
Registered: September 1998
Junior Member
To: The idl gods,

I am trying to fill in different contour levels of a 3D plot. I have 10
levels of contours, which are defined by using the following commands.

surfr
vals=[-200,-190, -180, -170,-160,-150,-140,-130,-120,-110,-100]
contour, Array1, /follow, levels=vals, /T3D, /overplot
surface, Array1, /noerase

Array1 is the 2 D array of data with values running between -200 and
-100. What I would like to
display is a 3D plot with the colors for each level (ex -200 to -190,
-190 to -180, etc) as a distinct color
filled in. the data is kind of like a topographical map with peaks and
valleys. What I am trying to do is
to shade a given "altitude range" with the same color.

Can anyone out there help me?

Regards,

robert
lematta@yahoo.com
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Propagating properties
Next Topic: Printing color line-plots on non-PS printers...

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

Current Time: Fri Oct 10 09:10:47 PDT 2025

Total time taken to generate the page: 0.40312 seconds