On 2007-09-06 23:57-0400 Hazen Babcock wrote: > As a first step, I've added a simple event loop to xcairo. Among other things > it should now handle expose/redraw events properly, so if you move or resize > the screen the plot should no longer disappear. Since this works by redrawing > the plot from scratch each time and since a simple resizing of the screen can > generate a surprising number of expose events this might be a little slow. > The advance to next page / quit has also been changed, like the xwin driver > you now need to select the plotting window and press return.
A necessary (at least on Linux) #include was missing in what you committed, but I have fixed that now. When I hit return for a multi-page plot all pages get dumped in sequence to the screen. So this is a start, but you might want to emulate xwin a bit more closely and implement a pause for each page until return is hit again. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel