← Back to team overview

yade-users team mailing list archive

Re: [Question #403014]: problems occur when using plotDirections()

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello Clifford,
please provide a MWE [1], otherwise we can only guess where the problem
could be
cheers
Jan

[1] https://yade-dem.org/wiki/Howtoask


2016-10-14 11:07 GMT+02:00 xiao tang <question403014@xxxxxxxxxxxxxxxxxxxxx>:

> Question #403014 on Yade changed:
> https://answers.launchpad.net/yade/+question/403014
>
> xiao tang gave more information on the question:
> ArgumentError                             Traceback (most recent call last)
> /usr/bin/yade in <module>()
> ----> 1 plotDirections()
>
> /usr/lib/x86_64-linux-gnu/yade/py/yade/utils.py in plotDirections(aabb,
> mask, bins, numHist, noShow, sphSph)
>     542         from yade import utils
>     543         for axis in [0,1,2]:
> --> 544                 d=utils.interactionAnglesHistogram(
> axis,mask=mask,bins=bins,aabb=aabb,sphSph=sphSph)
>     545                 fc=[0,0,0]; fc[axis]=1.
>     546                 subp=pylab.subplot(220+axis+1,polar=True);
>
> ArgumentError: Python argument types in
>     yade._utils.interactionAnglesHistogram(int)
> did not match C++ signature:
>     interactionAnglesHistogram(int axis, int mask, unsigned long bins,
> boost::python::tuple aabb, bool sphSph, double minProjLen)
>
>
> The problem is still unsolved.
>
> :-(
>
> --
> 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     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

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