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


ShowRowIdx

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

The parameter Row specifies the row to be displayed. 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 ... Row is out of range
-3 ... the x axis has zero range
-4 ... the y axis has zero range