Skip to content Skip to sidebar Skip to footer

Gnuplot For Python 3

I have a problem with python 3.2.3 and Gnuplot. I have installed gnuplot-4.6.1, it's going well with defaults demo, but an error occurs when i want to import the module in the pyth

Solution 1:

I assume you need to install Gnuplot-py for your version of python.

Since Gnuplot-py doesn't seem to be actively supported much these days, I'm not sure if it will work on python3.x or not (You'll need to try it and see).

Another option is pyGnuplot which I develop and I aim to keep it py3k compatable (although I don't test that very often). It is not a drop in replacement for Gnuplot-py however, so you'd need to change your code in order to use it.

Finally, (probably the most popular option these days) is matplotlib. My impression is that it gives an interface which is designed to make people familiar with MATLAB a little more comfortable and it is pretty powerful. I know a lot of people are very happy with it.

Post a Comment for "Gnuplot For Python 3"