MtxVecTee.DrawIt Method

Overload List

#SignatureDescription
1procedure DrawIt(A: TMtx; Caption: String);
2procedure DrawIt(A: TVec; Caption: string; PixelDownSample: boolean);
3procedure DrawIt(A: TVec; Width: Integer; Height: Integer);
4procedure DrawIt(X: TVec; Y: TVec; Caption: string; PixelDownSample: boolean);
5procedure DrawIt(A: array of TVec; SeriesCaptions: array of string; Caption: string; PixelDownSample: boolean);

Overload 1: procedure DrawIt(A: TMtx; Caption: String);

#NameTypeDescription
1TMtx; Caption: StringA

Result: stored in self (calling object)

Examples
Uses ...MtxExpr, MtxVecTee;
var A: Matrix;
begin
    DrawIt(A,'Showing matrix values');
end;

Overload 2: procedure DrawIt(A: TVec; Caption: string; PixelDownSample: boolean);

#NameTypeDescription
1TVec; Caption: string; PixelDownSample: booleanA

Result: stored in self (calling object)

Examples
Uses ...MtxExpr, MtxVecTee;
...
var A: Vector;
begin
    A := Sin(Ramp(300,2*PI*5/300));
    DrawIt(A,'Showing vector values');
end;

Overload 3: procedure DrawIt(A: TVec; Width: Integer; Height: Integer);

#NameTypeDescription
1TVec; Width: Integer; Height: IntegerA

Result: stored in self (calling object)

Examples
Uses ...MtxExpr, MtxVecTee;
var A: Vector;
begin
    DrawIt(A,400,300);
end;

Overload 4: procedure DrawIt(X: TVec; Y: TVec; Caption: string; PixelDownSample: boolean);

#NameTypeDescription
1TVec; Y: TVec; Caption: string; PixelDownSample: booleanX

Result: stored in self (calling object)

Examples
Uses ...MtxExpr, MtxVecTee;
var x,y: Vector;
begin
    x.LoadFromFile('d:\temp\x_data.Vec');
    y.LoadFromFile('d:\temp\y_data.Vec');
    DrawIt(x, y, "Showing y=y(x)", True);
end;

Overload 5: procedure DrawIt(A: array of TVec; SeriesCaptions: array of string; Caption: string; PixelDownSample: boolean);

#NameTypeDescription
1array of TVec; const SeriesCaptions: array of string; Caption: string; PixelDownSample: booleanA

Result: stored in self (calling object)

Examples
Uses ..., MtxVecTee;
var y1,y2,y3: TVec;
begin
    // ...
    y1.LoadFromFile('d:\temp\data1.Vec');
    y2.LoadFromFile('d:\temp\data2.Vec');
    y3.LoadFromFile('d:\temp\data3.Vec');
    DrawIt([y1,y2,y3],['y1 data', 'y2 data', 'y3 data'], "Showing data...",false);
end;