|
From: Nav <nj...@gm...> - 2012-07-26 08:13:07
|
Hi Everyone,
I want to add a label to the plot with one of the variable coming from python computation. For example I want the label to be:
"Average Number = 44.56", where 44.56 comes from a computation in the python code.
I am trying the following:
plot.set_label('label sprintf("Average = %f", average) at 1,0.15')
But I get a message saying "undefined variable average".
How do I pass a python variable to Gnuplot?
I would appreciate any help in this regard.
Thanks,
-Nav
|