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

Home » Public Forums » archive » Re: Stupid question regarding BUFFER keyword in NG output.....
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: Stupid question regarding BUFFER keyword in NG output..... [message #73862] Wed, 08 December 2010 02:43 Go to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
On 8 déc, 00:57, Chris Torrence <gorth...@gmail.com> wrote:
> Hi Paul,
>
> Well, you have a couple of different options. You could use the
> Refresh method to disable drawing to the window. It will still create
> the window, but you won't see any changes to the plot until you call
> Refresh again.
>
> Another crazy way is to use the CopyWindow method to get a screen
> dump, and then throw it into direct graphics:
>
> p = plot(/test,/buffer)
> tv,p.copywindow(),/true
>
> Here's another one for fun:
> p = plot(/test,/buffer)
> for i=0,100 do begin & p.color = !color.(i) & tv,p.copywindow(),/true
>
> Hope this helps.
> Cheers,
> Chris
> ITTVIS

But if I am doing :

p = plot(/test)
p2 = plot(/test,/buffer)
q = image(p2.copyWindow())

the plot referenced by q is different (looks like undersampled) from
the plot referenced by p.
Why ?
alx.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Help with fsc_plot
Next Topic: Tiff images with "short" Palette?

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

Current Time: Fri Oct 10 08:11:03 PDT 2025

Total time taken to generate the page: 2.88539 seconds