Comment 3 for bug 1774065

Revision history for this message
Jérôme Duriez (jduriez) wrote :

I do not confirm it:

jerome.duriez@AXP17003:~$ yadedaily
Welcome to Yade 2018.02b-1270674828~xenial
TCP python prompt on localhost:9000, auth cookie `dckayu'
XMLRPC info provider on http://localhost:21000
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for showing help), F10 both, F9 generator, F8 plot. ]]

Yade [1]: from yade import plot

Yade [2]: plot.reset()

Yade [3]: plot.addData(a=1,b=11,c=21,d=31) # add some data here

Yade [4]: plot.saveDataTxt('/tmp/dataFile.txt.bz2',vars=('a','b','c'))

Yade [5]: import numpy

Yade [6]: d=numpy.genfromtxt('/tmp/dataFile.txt.bz2',dtype=None,names=True)

Yade [7]: d
 -> [7]:
array((1, 11, 21),
      dtype=[('a', '<i8'), ('b', '<i8'), ('c', '<i8')])

I have Python 2.7.12 on my machine (in case it matters)