Is Gunplot.py 1.8 compatible with 64 bit operating systems?
I am using Python 2.5.2 and gnuplot 4.2 patch level 2 on Ubuntu 8.04 x86_64.
I've seen some old posts expressing problems with gnuplot.py 1.7 and python
2.4. Specifically, my problems arise when I try to use Gnuplot.Data().
Warning: empty x range [0:0], adjusting to [-1:1]
Warning: empty y range [0:0], adjusting to [-1:1]
My code runs on a 32 bit installation.
#!/usr/bin/env python
from numpy.core import numeric
import Gnuplot, Gnuplot.funcutils
list = range(25)
tuplelist = []
for j in range(len(list)):
a = (list[j],list[j]**2)
tuplelist.append(a)
print tuplelist
g = Gnuplot.Gnuplot(debug=1)
g.plot(tuplelist)
|