← Back to team overview

yade-users team mailing list archive

Re: [Question #690935]: makeVideo

 

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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi,

 > I'm wondering if it is possible to make snapshots and videos of a
graph plotted with the command plot.addData

Behind addData is just matplotlib, so you can just use standard 'save' functions from there. Something like
plt.savefig("snapshot"+str(O.iter)+".png")

Bruno

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