Question #678796 on Yade changed: https://answers.launchpad.net/yade/+question/678796
Status: Open => Answered Robert Caulk proposed the following answer: >>for [1], is there any example for it? Yeah, same folder [1]. >>it doesn't have any lines in the diagram Looks like you are trying to plot vectors. PeriTriaxController.stress returns a vector [2], you will need to index that vector to obtain the value you want. Same with strain. def addPlotData(): plot.addData(unbalanced=unbalancedForce(),i=O.iter,szz=triax.stress[2][2],ezz=triax.strain[2][2]) [1]https://gitlab.com/yade-dev/trunk/blob/master/examples/PeriodicBoundaries/periodic-triax.py [2]https://yade-dev.gitlab.io/trunk/yade.wrapper.html#yade.wrapper.PeriTriaxController.stress -- 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp