To be compatible with the C interface to PLPlot, I am redefining the PARSE
constant names available from the python pl module using the prefix PL_ on
all names. So what before was defined as PARSE_FULL for the pl module is
now defined as PL_PARSE_FULL, for example.
I have also been trying out the swig method for generating plmodule.c (which
automatically generates the PARSE constants with the correct names which
first drew my attention to the above problem with the hand-crafted
plmodule.c). There are still 7 minor issues affecting mostly xw08.py,
xw09.py, xw16.py and xw18.py in the swig-based approach. I am discussing
those with Gary Bishop. The remaining examples work great with plmodule.c
generated by the swig approach and the double-precision form of the plplot
library. This is an encouraging preliminary result. I am also discussing
with Gary the possibility of using the single-precision plplot library with
the swig-generated plmodule.c which would be a nice improvement on the
current hand-crafted plmodule.c.
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
__________________________
|