Bruce Vines wrote: > > While this is written in OCaml, it's close to what it would look like in > C. I'm trying to plot a green circle, wait for one second, plot a black > circle over the green circle (erase it), wait another second, and then > plot the green circle again. There are two problems I have with this > code: > > 1) If I remove everything in the run () function after the first show () > function, this works exactly as I expect. I get a green circle in the > middle of the graphics screen. If I add the first wait (), then I don't > see the green circle until after the wait () has executed. Is there any > way to get the screen to update immediately after the show () function?
I think that calling plflush() will do this. > 2) Is it possible to draw multiple times to the same sub-screen and if > so , can you point me in the right direction? As long as you don't call pladv() or equivalent, the output should stay on the same sub-screen, but it looks to me like this is what you are doing, so I guess I don't fully follow your question. -Hazen ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
