plot.saveTxt

Asked by Luis Barbosa

Hi
After plot data and finished correctly the simulation (without errors) I would like to save this data as .txt.
Using plot.save Data Txt('/temp/dataFile.txt',vars=('z1','total')), the file .text is generated but only appears the first line (# z1 total). The values are not plotted in the file.
Where is the mistake?

Tanks!

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Luis Barbosa (luis-pires-b) said :
#1

Just to inform, if O.run() is used saveDataTxt works!

Revision history for this message
Best Jan Stránský (honzik) said :
#2

Hi Luis,

in the case of this kind of errors, it is always good to insert a short
script reproducing your error (also called minimal working example, MWE).
Then we can test it ourselves instead of just guessing what is wrong and
the problem is usually solved faster.

So could you please provide us with such script? :-)

Thanks
Jan
Dne 13.9.2014 19:56 "Luis Barbosa" <email address hidden>
napsal(a):

> Question #254450 on Yade changed:
> https://answers.launchpad.net/yade/+question/254450
>
> Luis Barbosa posted a new comment:
> Just to inform, if O.run() is used saveDataTxt works!
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Luis Barbosa (luis-pires-b) said :
#3

Hi Jan, Thanks a lot!
This question was already answred [1].

[1].https://answers.launchpad.net/yade/+question/209832

Revision history for this message
Luis Barbosa (luis-pires-b) said :
#4

Thanks Jan Stránský, that solved my question.