I have just committed (revision 9825) my work integrating into our installed examples build and test some examples demonstrating how to use the PLplot xcairo and extcairo devices to draw into an externally supplied XDrawable or Cairo context.
To build these examples in the installed tree, simply cd to the installed examples/c directory (currently $prefix/share/plplot5.9.2/examples/c, where $prefix is your installation prefix) and run 'make extXdrawable_demo ext-cairo-test'. To run these examples simply execute './extXdrawable_demo' or ./ext-cairo-test'. You can also build and run these examples as part of the series of our interactive tests by 'cd $prefix/share/plplot5.9.2/examples; make test_interactive'. extXdrawable_demo.c was donated a year ago by Jonathan Woithe. He kindly agreed recently to relicense this code to LGPL to be consistent with the rest of our licensing. ./extXdrawable_demo builds and works without issues, but a plot consisting of just 3 points is less than exciting so I hope somebody volunteers to beef this up into a more interesting example which will exercise more of the plotting capabilities of PLplot. This upgrade of the example is obviously not release critical, but it would be nice to have this before we release (possibly as early as two weekends from now). ext-cairo-test.c was written by Hazen a year ago. It builds without issues, but it also demonstrates there is an important bug with the extcairo device. No text appears in the test.ps result, and there is a status code of 127 returned by ext-cairo-test. Hazen, the bugfix is not release critical because extcairo is turned off by default, but if you find the fix before the release, you should also turn on extcairo by default. Also, once the fix has been implemented an upgraded demo using a lot more of the plotting capabilities of PLplot would be nice. 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 __________________________ ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel