How can I plot an x vs y graph in gnuplot.py? For example, this is what I want: http://www.mathwarehouse.com//graphs/distance-vs-time/images/distance-vs-time-graph-picture4.jpg
I want multiple lines.
My code:
import Gnuplot
g = Gnuplot.Gnuplot(debug=1)
g.title('A simple example') # (optional)
g('set data style linespoints') # give gnuplot an arbitrary command
g.title('Data can be computed by python or gnuplot')
g.xlabel('x')
g.ylabel('y')
one = ([0, 1], [2, 3], [5, 5])
g.plot(one)
raw_input()
Output: http://gyazo.com/ba9fb6d6762c864758a7b494d44d384f
Only has one line. If I try to plot another, nothing will happen.
