File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,19 @@ var attrs = {
21
21
valType : 'data_array' ,
22
22
role : 'info' ,
23
23
editType : 'calc+clearAxisTypes' ,
24
- description : 'Sets the x coordinates of the vector field'
24
+ description : 'Sets the x coordinates of the vector field. '
25
25
} ,
26
26
y : {
27
27
valType : 'data_array' ,
28
28
role : 'info' ,
29
29
editType : 'calc+clearAxisTypes' ,
30
- description : 'Sets the y coordinates of the vector field'
30
+ description : 'Sets the y coordinates of the vector field. '
31
31
} ,
32
32
z : {
33
33
valType : 'data_array' ,
34
34
role : 'info' ,
35
35
editType : 'calc+clearAxisTypes' ,
36
- description : 'Sets the z coordinates of the vector field'
36
+ description : 'Sets the z coordinates of the vector field. '
37
37
} ,
38
38
39
39
u : {
@@ -57,23 +57,20 @@ var attrs = {
57
57
editType : 'calc' ,
58
58
description : [
59
59
'Sets the x components of the starting position of the streamtubes' ,
60
- ''
61
60
] . join ( ' ' )
62
61
} ,
63
62
starty : {
64
63
valType : 'data_array' ,
65
64
editType : 'calc' ,
66
65
description : [
67
66
'Sets the y components of the starting position of the streamtubes' ,
68
- ''
69
67
] . join ( ' ' )
70
68
} ,
71
69
startz : {
72
70
valType : 'data_array' ,
73
71
editType : 'calc' ,
74
72
description : [
75
73
'Sets the z components of the starting position of the streamtubes' ,
76
- ''
77
74
] . join ( ' ' )
78
75
} ,
79
76
Original file line number Diff line number Diff line change @@ -22,9 +22,16 @@ module.exports = {
22
22
23
23
meta : {
24
24
description : [
25
- 'Use streamtube trace to visualize flow in a vector field ' ,
25
+ 'Use streamtube trace to visualize flow in a vector fields. ' ,
26
26
'' ,
27
- '....'
27
+ 'Specify a vector field using 6 1D arrays of equal length,' ,
28
+ '3 position arrays `x`, `y` and `z`' ,
29
+ 'and 3 vector component arrays `u`, `v`, `w`.' ,
30
+ '' ,
31
+ 'By default, the tubes\' starting positions will be cut from the vector field\'s' ,
32
+ 'x-z plane at its minimum y value.' ,
33
+ 'To specify your own starting position, use attributes `startx`, `starty`' ,
34
+ 'and `startz`.'
28
35
] . join ( ' ' )
29
36
}
30
37
} ;
You can’t perform that action at this time.
0 commit comments