New ScreenPanel
This commit is contained in:
11
script/data.js
Executable file
11
script/data.js
Executable file
@@ -0,0 +1,11 @@
|
||||
path="group/data1"
|
||||
data1d = [1.0, 2.0, 3.0, 4.0, 5.0]
|
||||
save_dataset(path, data1d)
|
||||
set_attribute(path, "AttrString", "Value")
|
||||
set_attribute(path, "AttrInteger", 1)
|
||||
set_attribute(path, "AttrDouble", 2.0)
|
||||
set_attribute(path, "AttrBoolean", true)
|
||||
read =load_data(path)
|
||||
print (to_array(read))
|
||||
print (get_attributes(path))
|
||||
plot(read)
|
||||
Reference in New Issue
Block a user