← Back to team overview

yade-users team mailing list archive

Re: [Question #678500]: plot 2 figures

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
> plot.plots={'i':['e']+O.energy.keys()}
> plot.plots={'i':['pos_z']}

the second assignment just assign {'i':['pos_z']}, overwriting the
previous values.

plot.plots = {'i': ..., 'i ': ...} # note the space in 'i ' [1]
or
plot.plots = {'i':('e',None,'pos_z')} # [1]

cheers
Jan

[1] https://yade-dev.gitlab.io/trunk/user.html#multiple-figures

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