Display range
Display range is a special expression to specify the part of a variable's data to view and modify.

To specify a display range, enter it in the G column of Excel in the row that contains the variable's ID and name, next to the "Show Data" hyperlink. Use the following syntax:

[_dim1_ , _dim2_ , _dim3_ , ...]
where each {dimN} is a dimension filtering specification in the form start_index : stride : stop_index.
  • start_index is the first index of the dimension to show. If you omit start_index, DataSetEditor uses the zero index of the dimension.
  • stride enables you to skip some of the indices while observing variable's data. DataSetEditor will show every stride value of index starting with start_index. If you omit stride, DataSetEditor uses 1 as the default, meaning that every index is displayed.
  • stop_index is the last index to show. If you omit stop_index, DataSet Editor uses the last available index for the dimension.

You must specify exactly the same number of dimensions as the rank of the variable.

Examples
Display Range Description
[0,0,0] 3D variable. Displays one element from the variable with index (0,0,0).
[:2:,::10] 2D variable. Displays every second element of the whole first dimension and every element of the second dimension starting with zero and ending with the 10th element.
[0:9,2:3:,0] 3D variable. Fixes the third dimension to 0 value and thus displays a 2D slice of a 3D variable. The only way to view a multidimensional variable is to left free one or two dimension, fixing all other dimensions to specific values. In this example, the first dimension will range from 0 to 9, selecting every element; the second dimension will start with 2 and end with the last element of the dimension, showing every third index; and the third dimension will be fixed to 0.
[::] 1D variable. Displays every element of a 1D variable.

Last edited Apr 21, 2010 at 4:14 PM by pennyo, version 10

Comments

No comments yet.