> yade.plot.plots={'t':('Z_pr')}
> def myAddPlotData():
>     press=O.bodies[id_press]
>     
> yade.plot.addData({'t':O.time,'Z_pr':press.phys['se3'][2],'F':O.bex.f(id_press),.....
>
> Does not work.
What do you mean, "does not work"? (Post your script if unsure)

Oh! perhaps you meant

yade.plot.plots={'t':('Z_pr',)}

(note the comma: that makes the ('Z_pr',) a 1-tuple; ('Z_pr') is just 
string that is put into redundant parentheses and you will get some 
weird error.


_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp
_______________________________________________
yade-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/yade-users

Reply via email to