From: Maurice L. <mj...@br...> - 2008-01-21 09:27:57
|
On Saturday, January 19, 2008 at 13:53:12 (+0100) Torquil Macdonald S=F8= rensen writes: > The effect of using double-buffering with the xwin driver was that i= t did not=20 > plot anything until all the for-loop iterations were finished. Then = it plotted=20 > just the last frame. Using the TK driver gives the same result. It a= lso only=20 > plots the last frame when using -db. The xwin driver only plots at end of page if double buffering is on (i.= e. it plots to the pixmap and then when done it pops it to the display) so yo= u need to do an end of page at the end of each plot. It's safest in my book t= o always use plbop/pleop for individual plots, i.e.: plbop(); .. plot here .. pleop(); Indeed, if you change the plot lines in your for loop to: plbop();=20 plbox("bcinst", 0, 0, "bcinst", 0, 0);=20 plline(2, x, y);=20 pleop();=20 and then invoke with both the -db and -np option, it animates cleanly with the xwin driver. --=20 Maurice LeBrun |