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

Home » Public Forums » archive » IDL 5.0 PLOT or DEVICE bug: hidden graphics buffering?
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
IDL 5.0 PLOT or DEVICE bug: hidden graphics buffering? [message #11208] Sat, 07 March 1998 00:00
Russ Welti (on mapper is currently offline  Russ Welti (on mapper
Messages: 9
Registered: January 1998
Junior Member
I have an app which runs fine in 4.0 (i.e. does NOT have
the following behavior). I'm converting it to 5.0

The app is computing something in a loop and when it finishes
computing it draws (PLOTS) 2 things in the window.

X=100

LOOP:
compute for a while.... say 3 secs
draw thing #1 at X,Y
draw thing #2 at X+100,Y
Y=Y-50
END LOOP

So it basically makes a stack of plots in the window.

Here's the mystery:

First time through the loop, thing #1 is drawn, then there is
a pause while computing, THEN thing #2 is drawn along with
the SECOND thing #1.! They are NOT plotted in pairs.

So I get: first thing #1,pause,
first thing #2 and second thing #1,pause,
second thing #2 and third thing #1 ... etc ...

HOWEVER--

If I put a simple PRINT statement just AFTER drawing thing #2,
then things #1 and #2 ARE drawn in pairs, at the same time, as
one would expect, and as is done in my IDL 4.0 version of the app.

So it seems there is some hidden graphics buffering function
which is being flushed by the PRINT statement...

I can't find any discussion of buffering in the DEVICE section
except for the Z buffer, which I am not using.

Any ideas on this?

thanks very much,
/
Russ Welti /-\
(c-g)
University of Washington \-/
Molecular Biotechnology /
PO Box 357730 /-\
Seattle, WA 98195 (a-t)
rwelti@u.washington.edu \-/
(206) 616 5116 voice (206) 685 7301 FAX /
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL 5.0 PLOT or DEVICE bug: hidden graphics buffering?
Next Topic: LINKIMAGE problem (beginner)

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

Current Time: Wed Oct 08 18:39:16 PDT 2025

Total time taken to generate the page: 0.00535 seconds