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 #67488] Thu, 30 July 2009 17:55 Go to previous message
vikramivatury is currently offline  vikramivatury
Messages: 24
Registered: May 2009
Junior Member
On Jul 30, 4:28 pm, David Fanning <n...@dfanning.com> wrote:
> 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.")

Thanks Dr. Fanning, I will give that a go and see what happens...

-Vikram
[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: Sat Oct 11 10:20:35 PDT 2025

Total time taken to generate the page: 1.67645 seconds