This commit is contained in:
12
script/test_data_txt.py
Normal file
12
script/test_data_txt.py
Normal file
@@ -0,0 +1,12 @@
|
||||
#set_exec_pars(format="txt")
|
||||
data2d = [ [1.0, 2.0, 3.0, 4.0, 5.0], [2.0, 3.0, 4.0, 5.0, 6.0, ], [3.0, 4.0, 5.0, 6.0, 7.0]]
|
||||
|
||||
|
||||
path = "group/data4"
|
||||
create_dataset(path, 'd', False, (0,0))
|
||||
for row in data2d:
|
||||
append_dataset(path, row)
|
||||
read =load_data(path)
|
||||
print read.tolist()
|
||||
plot(read)
|
||||
set_return(True)
|
||||
Reference in New Issue
Block a user