Re: Plotting Graphs using Gnuplot

2008-06-13 Thread Helmut Jarausch
[EMAIL PROTECTED] wrote: Hello. Was trying to create a simple plotting function. Wasnt working however. If i write the same code without putting it inside a function it works. :S. Could some1 tell me the problem? Heres the code: # File name Plotting2 import Gnuplot def plot(original, expected

Re: Plotting Graphs using Gnuplot

2008-06-12 Thread Peter Otten
[EMAIL PROTECTED] wrote: > Hello. Was trying to create a simple plotting function. Wasnt working > however. If i write the same code without putting it inside a function > it works. :S. Could some1 tell me the problem? Judging from the demo you have to keep a Gnuplot.Gnuplot instance alive. If y

Re: Plotting Graphs using Gnuplot

2008-06-12 Thread Fuzzyman
On Jun 12, 12:30 pm, [EMAIL PROTECTED] wrote: > Hello. Was trying to create a simple plotting function. Wasnt working > however. If i write the same code without putting it inside a function > it works. :S. Could some1 tell me the problem? Heres the code: > > # File name Plotting2 > > import Gnuplo

Plotting Graphs using Gnuplot

2008-06-12 Thread arslanburney
Hello. Was trying to create a simple plotting function. Wasnt working however. If i write the same code without putting it inside a function it works. :S. Could some1 tell me the problem? Heres the code: # File name Plotting2 import Gnuplot def plot(original, expected, actual): if type (o