From: Michael H. <mh...@al...> - 2005-05-04 05:55:22
|
This is the well-known problem that the temporary files can be deleted before gnuplot is done using them. Please see the first question of the FAQ. Michael Florian Lindner wrote: >Hello, >I've the python script: > >import Gnuplot > >g = Gnuplot.Gnuplot(debug=1) >g.title('A simple example') >g('set data style linespoints') >g.plot([[0,1.1], [1,5.8], [2,3.3], [3,4.2]] > >taken from demo.py. > >When I try to execute: > >florian@horus ~/python $ python plot.py >gnuplot> set title "A simple example" >gnuplot> set data style linespoints >gnuplot> plot '/tmp/tmpzCyAzN' notitle > >gnuplot> plot '/tmp/tmpzCyAzN' notitle > ^ > can't read data file "/tmp/tmpzCyAzN" > line 0: util.c: No such file or directory > > >What is wrong there? > > |