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

Home » Public Forums » archive » Re: surface plots with color shading
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: surface plots with color shading [message #8061] Wed, 05 February 1997 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mirko Vukovic <mirko.vukovic@grc.varian.com> writes:

> is there a routine that produce surface plots with color shading where
> the color corresponds to height? I presume there must be, but where?

data = DIST(40,30)
SURFACE, data, SHADES=BYTSCL(data, TOP=!D.N_COLORS-1)

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
-----------------------------------------------------------
[Message index]
 
Read Message
Previous Topic: Re: Multiple TVIM's to one scale.
Next Topic: Re: changing colors on a Mac

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

Current Time: Sun Oct 12 13:42:11 PDT 2025

Total time taken to generate the page: 0.72552 seconds