yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #09473
Re: [Question #247963]: a simple plot
Question #247963 on Yade changed:
https://answers.launchpad.net/yade/+question/247963
Status: Open => Answered
Klaus Thoeni proposed the following answer:
Hi,
well O.forces.f(1) gives a vector and you cannot plot vectors. You can
plot a single component of a vector, e.g. O.forces.f(1)[2], or you can
plot the norm of a vector, e.g. numpy.linalg.norm( O.forces.f(1) ).
HTH
Klaus
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.