Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

 Function: getdata Description: Collects certain data from a plot. The dataset must be shown in the plot using show or adddata.

 Usage: data=getdata(di, row_num, col_num, data_num) Input: di string, name of the display row_num integer, represents the number of a row of the display di col_num integer, represents the number of a column of the display di data_num integer, represents the number of a data set shown in the plot Output: data a complex object that includes the following components: data.data a matrix of the coordinates of the plotted points data.pcolor n x 3 matrix representing the color of the plotted points data.pstyle n x 1 matrix representing the style of the plotted points data.psize n x 1 matrix representing the size of the plotted points

Example:
```x=(1:10)
x=x~(sin(x/5))
d=createdisplay(1, 1)
show(d, 1, 1, x)
x=1
x=getdata(d, 1, 1, 1)
x

```
Result:
```A display showing a plot of x can be seen. Additionally,
the following information about the points is given:

Contents of x.data
[ 1,]        1  0.19867
[ 2,]        2  0.38942
[ 3,]        3  0.56464
[ 4,]        4  0.71736
[ 5,]        5  0.84147
[ 6,]        6  0.93204
[ 7,]        7  0.98545
[ 8,]        8  0.99957
[ 9,]        9  0.97385
[10,]       10   0.9093

Contents of x.pcolor
[ 1,]      255        0        0
[ 2,]      255        0        0
[ 3,]      255        0        0
[ 4,]      255        0        0
[ 5,]      255        0        0
[ 6,]      255        0        0
[ 7,]      255        0        0
[ 8,]      255        0        0
[ 9,]      255        0        0
[10,]      255        0        0

Contents of x.pstyle
[ 1,]        5
[ 2,]        5
[ 3,]        5
[ 4,]        5
[ 5,]        5
[ 6,]        5
[ 7,]        5
[ 8,]        5
[ 9,]        5
[10,]        5

Contents of x.psize
[ 1,]        8
[ 2,]        8
[ 3,]        8
[ 4,]        8
[ 5,]        8
[ 6,]        8
[ 7,]        8
[ 8,]        8
[ 9,]        8
[10,]        8
```

(C) MD*TECH Method and Data Technologies, 05.02.2006