Question #678425 on Yade changed:
https://answers.launchpad.net/yade/+question/678425

    Status: Answered => Open

hafsa is still having a problem:
hi Jan ,
i tried like you said but there's no plot

#energy kenetic
O.trackEnergy=True

def plotAddData():
   n = len([b for b in O.bodies if isinstance(b.shape,Sphere)])
   e = kineticEnergy()
   plot.addData(i=O.iter,eAvg = e/n)

plot.plots={'time':('energy')}
plot.plot()

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to