From: Alan W. I. <ir...@be...> - 2001-11-25 21:58:35
|
I have updated plssub as discussed previously here, and I have also made a number of modifications to the tcl and python examples to get rid of some bugs and to adjust to the new plssub. For details look at the commit messages on plplot_cvs. To follow the tests of current CVS that I did, I suggest you try ./tcldemos.tcl (following directions inside that file) and pythondemos.py with devices psc, png, xfig, or plmeta. As previously discussed you will need to use the static driver to get the png device to work, and to avoid a segfault you will need to comment out xw09 from pythondemos.py if you are using python 2.0 or later. (xw09 seems to work fine for python-1.5.) The tests also reveal a problem with the xfig driver when there is more than one plot done at once. In that case the 3rd and 4th examples are missing some of the lines from the plot. When those plots are done alone (e.g., by commenting out everything but xw03 from pythondemos.tcl) or if the tests are filtered through the plmeta device, then plrendered to create an xfig file, the missing line problem goes away. I have no clue why there is this bizarre behaviour, but I have only run into it for the xfig driver. Other than the dynamic/png, xw09 segfault, and now the new xfig problem I have discovered, all other results looked good. I also did some batch testing with plplot-test.sh --flat --driver=psc,png,plmeta. The colour (see p15.png), legend, and square aspect ratio problems I have mentioned before for the octave examples continue for the png driver. However, the plmeta (when plrendered) and psc octave results look good without any of the problems that occur for png. I don't understand these differences (especially square versus rectangular plots) unless there is something driver-specific being done in the octave "p" examples. As I recall, there are also some octave examples that try to mimic the x??c examples. I will try those instead to see whether there are any problems with png in that case. 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 __________________________ |