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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi,

plot.data is one dictionary. If you add some data and some not, the not 
provided data is considered as NaNs:
### a MWE
from yade import plot
plot.addData(a=1,b=2)
plot.addData(c=3,d=4,a=5,b=6)
plot.addData(c=1,d=2)
print(plot.data)
###

So even if you set the same iterPeriod, you call it twice, always with some 
data missing, resulting in NaNs.
There is no error, because this is intended (and documented) behavior.

cheers
Jan

-- 
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