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

Home » Public Forums » archive » Re: Noerase on Shade_Surf
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: Noerase on Shade_Surf [message #67493 is a reply to message #67488] Thu, 30 July 2009 13:28 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Vikram writes:

> I was wondering if there is a way to plot more that one figure using
> Shade_Surf on the same plot? I have tried /NOERASE but that doesn't
> seem to be working....

Shade_Surf actually returns an image, not a plot,
so you have to fake it out. You could do side-by-side
shade surfaces like this:

window, 1, xsize=600, ysize=300
window, 2, xsize=300, ysize=300, /pixmap
shade_surf, dist(100)
wset, 1
device, copy=[0, 0, 300, 300, 0, 0, 2]
wset, 2
erase
shade_surf, shift(dist(100), 50, 25)
wset, 1
device, copy=[0, 0, 300, 300, 300, 0, 2]
wdelete, 2
end

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: SCALE3.pro isn't doing it's job
Next Topic: Re: oplot with colours

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

Current Time: Sun Oct 12 06:21:24 PDT 2025

Total time taken to generate the page: 1.68032 seconds