yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15773
Re: [Question #658514]: plot of surface displacement, total displacement and force at left of box
Question #658514 on Yade changed:
https://answers.launchpad.net/yade/+question/658514
Jan Stránský proposed the following answer:
Hello,
> import numpy.linalg as la
> tDispl = la.norm(O.bodies[1].state.displ())
just
O.bodies[1].state.displ().norm()
is also ok
to use multiple graphs, do not repeat keys in plot.plots, i.e. use
plot.plots = {'i':'surfDspl','i ':'fLeft','i ':'tDspl'} # note 1 and 2 spaces anted 2nd and 3rd 'i'
let us know
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.