New question #652267 on Yade:
https://answers.launchpad.net/yade/+question/652267

Considering the plot of PIDController.py (trunk/examples/PIDController.py),

o.engines = [
    '''Other Engines'''
    PyRunner(command='addPlotData()',iterPeriod=1000,label='graph'),
]

def addPlotData():
    fMove = Vector3(0,0,0)
    for i in bodyID:
        fMove += O.forces.f(i)
    plot.addData(z=O.iter, pMove=fMove[2], pFest[2])

plot.plots={'z':('pMove','pFest')}
plot.plot()

I want to reverse the direction of pMove, pFest axis. How to do that?

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to