|
From: Eric F. <efe...@pa...> - 2004-04-06 09:42:02
|
Hello
I would like to plot 3d graph from data in a file, but reading data in
"matrix" mode.
Here is the code I use :
g = Gnuplot.Gnuplot()
plot_volt = Gnuplot.PlotItems._FileItem('data_file')
g.splot(plot_volt)
Unfortunately, it reads the file as 'binary', not 'matrix'. I did not
find out how to pass the matrix option. Under gnuplot, it works with :
splot('data_file') matrix
is it possible to use it with gnuplot-py ?
Thanks a lot for your help.
Eric
|