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

Home » Public Forums » archive » two surfaces on same plot?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
two surfaces on same plot? [message #13209] Thu, 22 October 1998 00:00
woodford is currently offline  woodford
Messages: 10
Registered: June 1996
Junior Member
I am reading Struan Gray's tutorial on plotting multiple surfaces at
http://www.sljus.lu.se/stm/IDL/Surf_Tips/. I was attempting to do a
simple plot with two intersecting surfaces in it, using code similar to
what he has on his page:

surfone = shift(dist(20,16), 10, 8)
surfone = bytscl(exp(-(surfone/5)^2))
surftwo = bytscl(fix(shift(surfone, 6, 0)) + shift(surfone, -6, 0))/2b
shade_surf, surfone
shade_surf, surftwo, /noerase

However, the second shade_surf erases the first. Is it not possible to
plot them both unless you are using the z buffer? I am just trying to
plot to a window on the screen. I am using IDL 4.0.1 and 5.0.2 on a
PowerMac.

--
Paul Woodford, Ph.D.
woodford@essexcorp.com
301-953-8855
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: double event
Next Topic: tutorial on Multiscale Image and Data Analysis, Champaign, Nov. 1

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

Current Time: Thu Oct 09 21:26:36 PDT 2025

Total time taken to generate the page: 0.40251 seconds