Santix wrote:
> g.load(power.p)
>
> but it gives me this error:
>
> Traceback (most recent call last):
> File "./spectrum_output.py", line 310, in <module>
> main_loop(tb)
> File "./spectrum_output.py", line 289, in main_loop
> g.load(power.p)
> AttributeError: 'file' object has no attribute 'p'
I'm reasonably sure that this has absolutely nothing to do with gnuplot.
It may have something to do with gnuplot.py --- but that's not
produced by us. Or it may be a plain an simple mistake in how you used
Python.
So I can only offer a wild guess: try putting "" around the filename, i.e.:
g.load("power.p")
|