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


TFrmPlots

The class TFrmPlots encapsulates the DataLab plot windows. In order to create or access one of the nine plot windows you have to call the function CreatePlot.

The class TFrmPlots provides the following properties and methods:

Properties

Methods

 

Example: The following tiny program resizes the data container, fills it with normally distributed random numbers and shows a histogram of the data in plot window 1:

program PlotData;

var
  Plt1 : TFrmPlots;

begin
DStore.Resize (10,40);
Dstore.FillRandomNormal (0,0,0,0,3,1.3);  // create data
if CreatePlot (1, Plt1) > 0 then
  begin
  Plt1.WindowState := wsNormal;           // make the plot visible
  Plt1.ShowHistogram (hrAll, 0,0,0,0,0, true, 'Histogram of all data');
  Plt1.PlotParams.SetDefaultColors;
  Plt1.PlotParams.ColorFill := clRed;     // adjust the colors
  Plt1.PlotParams.ColorBGnd := $EEFFDD;
  Plt1.Refresh;
  end;
end.