You are here: Symbol Reference > StatSeries Namespace > Classes > TBiPlotSeries Class
Stats Master VCL
ContentsIndex
PreviousUpNext
TBiPlotSeries Class

Biplot.

StatSeries_TBiPlotSeries
Pascal
TBiPlotSeries = class(TPointSeries);

Biplots are statistical graphics that represent in the same plane both the variables and the cases. Usualy variables are represented by arrows, while points represent cases. A Biplot can be constructed from a data matrix, where conventionally each column represent a variable, and each row includes the variables value for a given case. 

There are several definitions for bi-plot and data matrix. Here are some links:

var biplot1: TBiplotSeries;
  a: Matrix;
  i: Integer;
begin
  a.Size(5,3,false);
  a.RandGauss;
  biplot1 := TBiPlotSeries.Create(Chart1);
  biplot1.ParentChart := Chart1;
  biplot1.ShowArrows := false; // don't show arrows, only lines
  // plot first two columns for each matrix row
  for i := 0 to a.Rows-1 do biplot1.AddXY(a[i,0],a[i,1],'row '+IntToStr(i));
end;
    sMatrix a;
    a.Size(5,3,false);
    a.RandGauss();
    TBiPlotSeries* biplot1 = new TBiPlotSeries(Chart1);
    biplot1->ParentChart = Chart1;
    biplot1->ShowArrows = false;
    for (int i=0; i < a.Rows; i++)
      biplot1->AddXY(a.Values(i,0),a.Values(i,1),"row "+IntToStr(i));
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!