DataLab is a compact statistics package aimed at exploratory data analysis. Please visit the DataLab Web site for more information....



Script Details: KindOfChart

Skript Command: Chart[cnum].KindOfChart

The following parameters may be assigned to the script command KindOfChart. Each of the parameters may offer one or several options enclosed in paranthesis. The options have to be separated by semicolons:

Parameter Options Description
COLIDX col col .... index of column to be displayed
ROWIDX row row .... index of row to be displayed
COLCOL colx; coly colx .... index of column to be used as x-axis
coly .... index of column to be used as y-axis
ROWROW rowx, rowy rowx .... index of row to be used as x-axis
rowx .... index of row to be used as y-axis
HISTOGRAM AUTO=nb
ORIGIN=xx
BINWID=yy
NORMD=YES/NO
3DANG=aa
3DDEP=bb
COL=cc
ROW=rr
nb .... number of bins to be used(1)
xx .... location of origin of the histogram bars(1)
yy .... width of histogram bins(1)
YES .... displays normal density on top of histogram
aa .... angle of 3D bars (0..90)
bb .... depth of 3D bars (0..50)
cc .... column to be used for histogram(2)
rr .... row to be used for histogram(2)
PROBPLOT COL=cc
ROW=rr
cc .... column to be used for the normal probability plot(2)
rr .... row to be used for the normal probability plot(2)
CUMUDIST COL=cc
ROW=rr
cc .... column to be used for the cumulative distribution(2)
rr .... row to be used for the cumulative distribution(2)

Examples:

Chart[i].KindOfChart = COLIDX(8)
displays a column-index plot showing the data in column 8 against their row index

Chart[i].KindOfChart = ROWROW(2;17)
displays a row-row plot, row 2 is the x-axis, row 17 is the y-axis of the plot

Chart[i].KindOfChart = HISTOGRAM(AUTO=20;COL=10;NORMD=YES)
displays a histogram of the data in column 10, using 20 bins; the normal density distribution is plotted on top of the histogram

Chart[i].KindOfChart = CUMUDIST(COL=3)
displays the cumulative frequency distribution of the data in column 3



(1) The AUTO option overrides the ORIGIN and BINWID options
(2) If neither a column nor a row is specified, the entire data matrix is used


Last Update: 2012-Sep-04