From: Roberta C. <r.c...@cs...> - 2006-08-24 16:09:51
|
Hi. I've a problem using gnuplot.py. I have a python script in which I calculate the value of a parameter 'alfa'. After I'd like to plot the function f(x) = alfa*x. How ca I pass the parameter to gnuplot command? My script is the following: g = Gnuplot.Gnuplot(debug=1) g('set terminal aqua 0') ... alfa = 1 + n*math.pow(sum,-1) g.plot('f(x) = (alfa *x+min, alfa = 1.35710030508, min=1, f(x) ') Sorry for my english, thank you! |