From: Crider, J. A <jos...@Bo...> - 2006-01-18 19:45:11
|
I've been looking at open source plotting packages for Python to use in a new internal project I'm heading up. At a minimum, the platforms we want to support are Linux, Solaris, and Cygwin/X. Now that all of the plotting packages are being dropped from SciPy (and gplt didn't support all of the features we need anyway), it appears that we will have to choose between Gnuplot-py and Matplotlib or roll our own. Since Gnuplot does support all of the features we need, I believe Gnuplot-py would be sufficient for our needs. However, I've got one small problem with version 1.7 on Cygwin/X for which I've found one solution, but I would like to know if anyone has come up with a better solution. My first attempt to use Gnuplot-py failed miserably, but that appears to have been a problem with my Cygwin installation. After re-installing a recent version, it is going much better. However, I had to make two changes to gp_cygwin.py: change the values of gnuplot_command to 'gnuplot.exe' (line 41) and default_term to 'x11' (line 60). Is there a better solution so that I would not have to maintain these changes if a newer version of Gnuplot-py is released that I want to use? J. Allen Crider |