From: Alan W. I. <ir...@be...> - 2002-06-18 04:07:41
|
(1) pbm.c driver changes donated by Gary Bishop which allow you to change the size and background color. I have only done minimalist testing of these changes so if any of you have an interest in the pbm driver, please give this a hammering. (2) xw17.py donated by Gary Bishop. This gives equivalent of x17c, but the xw17.py results are different each time (and different from the constant x17c results) because the python random generator is different from drand48 used in x17c.c. Also, the x17c.c result uses a constant seed while the python random number generator picks a seed depending on the time of day. (3) plmodule.c changes to implement python wrappers for plstripa, plstripc, and plstripd. These are required for xw17.py to work. I did this last change by hand, but that may be the last time I do so. Gary has used an entirely different swig-based approach for generating the python wrappers which I intend to evaluate soon. Similar in spirit to the tcl interface, I may want to adapt his approach to a semi-automated method where swig would generate all the generic python wrappers. These would be supplemented by hand-built wrappers for the difficult cases. I believe such a semi-automated approach is a lot easier to maintain than the current plmodule.c which is completely built by hand (and where there is presumably key functionality such as the recently discovered plstrip[acd] still missing from the resulting plplot API for python). Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ |