I would like to put two curves on one vPython plot. Is this possible?
I am opening the curve with:
gd = gdisplay(x=300, y=0, width=600, height=600,
title='Entropy', xtitle='time', ytitle='N',
foreground=color.black, background=color.red,
xmax=250, xmin=0, ymax=400, ymin=0.)
funct1=gcurve(color=color.white)
I am updating for a single curve inside a while loop with
funct1.plot(pos=(bigIndex,entropy))
Along with plotting the entropy on this graph, I'd like to plot the number of particles in a particular position. One set of axis, two curves. I would like each curve to be undated inside the loop so the students can see one curve grow as the other decreases.
Is this possible?