TBiPlotSeries Class

TPointSeries→TBiPlotSeries

type TBiPlotSeries = class(TPointSeries);

Biplot.

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: <exref target="http://tukey.upf.es/xls-biplot/users-manual/node3.html">http://tukey.upf.es/xls-biplot/users-manual/node3.html</exref> <exref target="http://en.wikipedia.org/wiki/Biplot">http://en.wikipedia.org/wiki/Biplot</exref> <Example> <code lang="Delphi"> 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; </code> <code lang="C++"> 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)); </code> </Example>

Examples

delphi
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;

Methods

NameDescription
Create