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


ShowRowRow

Declaration: TFrmPlots.ShowRowRow (RowX, RowY: integer; llx, lly, urx, ury: double; Caption: string): integer;
Sets the plot window into row/row mode and displays the data according to the parameters.

The parameters RowX and RowY specify the rows to be displayed. RowX is the row used for the x values, RowY is the row used for the y values. The parameters llx, lly, urx, ury define the range of the axes. llx and lly define the lower left point of the diagram, urx and ury define the upper right point. Setting all four parameters to zero forces an automatic zoom so that all data points are visible. The parameter Caption defines the caption to be displayed in the top right of the chart.

The function returns the following error codes:

 0 ... everything is OK
-1 ... RowX is out of range
-2 ... RowY is out of range
-3 ... the x axis has zero range
-4 ... the y axis has zero range