si...@lk... wrote:
> Hello there,
> I am sorry for the basic question, but i could not find a simple example
> of plotting an array with gnuplot.py.
> let's say i do the following:
> e=4,5,6,7,8,9
> g=Gnuplot.Gnuplot
> g.Data=e
> what next?
First of all, you need to instantiate Gnuplot (notice the parentheses):
g=Gnuplot.Gnuplot()
Then
g.plot(e)
will give a very basic plot. For more examples, look at demo.py in the
Gnuplot.py installation directory.
Good luck!
John
--
*************************
John Parejko
Department of Physics and Astronomy
215 895-2786
Drexel University
Philadelphia, PA
**************************
|