Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void DrawIt(TMtx a, String caption) | Shows form with chart and grid series showing matrix values. |
| 2 | void DrawIt(TVec x, TVec y, String caption, Boolean pixeldownsample) | Shows form with tChart and FastLine series showing Y=Y(X). |
| 3 | void DrawIt(TVec a, Int32 width, Int32 height) | Shows form with tChart and FastLine series showing vector values. |
| 4 | void DrawIt(TVec a, String caption, Boolean pixeldownsample) | Automatically creates modal form with tChart and appropriate series style and then uses method to draw values to created series. |
| 5 | void DrawIt(TVec[] a, String[] seriescaptions, String caption, Boolean pixeldownsample) | Shows form with chart and array of fastline series - one for each vector in A array of vectors. |
Overload 1: void DrawIt(TMtx a, String caption)
Shows form with chart and grid series showing matrix values.
| # | Name | Description |
|---|---|---|
| 1 | a | Source matrix. |
| 2 | caption | Form text. |
Result: stored in self (calling object)
Examples
Matrix m1 = new Matrix(0,0,false);
m1.LoadFromFile("PCA_data.mtx");
MtxVecTee.DrawIt(m1,"Correlation matrix");
Overload 2: void DrawIt(TVec x, TVec y, String caption, Boolean pixeldownsample)
Shows form with tChart and FastLine series showing Y=Y(X).
| # | Name | Description |
|---|---|---|
| 1 | x | Source x values vector. |
| 2 | y | Source y values vector. |
| 3 | caption | Form text. |
| 4 | pixeldownsample | If true, DrawIt will automatically use PixelDownSample method for series to reduce the number of points displayed (much faster display). |
Result: stored in self (calling object)
Examples
using Dew.Math;
using Dew.Math.Tee;
Vector x = new Vector(0);
Vector y = new Vector(0);
x.LoadFromFile("xdata.vec");
y.LoadFromFile("xdata.vec");
MtxVecTee.DrawIt(x,y,"y=y(x)",false);
Overload 3: void DrawIt(TVec a, Int32 width, Int32 height)
Shows form with tChart and FastLine series showing vector values.
| # | Name | Description |
|---|---|---|
| 1 | a | Source vector. |
| 2 | width | Form width. |
| 3 | height | Form height. |
Result: stored in self (calling object)
Remarks:
The width and height parameters control form width and height respectively.
Examples
using Dew.Math;
using Dew.Math.Tee;
Vector v = new Vector(0);
v.LoadFromFile("c:\\data\\testvector.vec");
MtxVecTee.DrawIt(v,400,300);
Overload 4: void DrawIt(TVec a, String caption, Boolean pixeldownsample)
Automatically creates modal form with tChart and appropriate series style and then uses method to draw values to created series.
| # | Name | Description |
|---|---|---|
| 1 | a | Source vector. |
| 2 | caption | Form text. |
| 3 | pixeldownsample | If true, then DrawIt will automatically use PixelDownSample method to reduce the number of points displayed for all series (much faster display) |
Result: stored in self (calling object)
Examples
using Dew.Math;
using Dew.Math.Tee;
Vector v = new Vector(0);
v.LoadFromFile("c:\\data\\testvector.vec");
MtxVecTee.DrawIt(v,"Showing vector values",false);
Overload 5: void DrawIt(TVec[] a, String[] seriescaptions, String caption, Boolean pixeldownsample)
Shows form with chart and array of fastline series - one for each vector in A array of vectors.
| # | Name | Description |
|---|---|---|
| 1 | a | An array of source vectors. |
| 2 | seriescaptions | An array describing each series(vector) title. |
| 3 | caption | Form text. |
| 4 | pixeldownsample | If true, DrawIt will automatically use PixelDownSample method for series to reduce the number of points displayed (much faster display). |
Result: stored in self (calling object)
Examples
Vector x1 = new Vector(0);
Vector x2 = new Vector(0);
Vector x3 = new Vector(0);
x1.LoadFromFile("x1_data.vec");
x2.LoadFromFile("x2_data.vec");
x3.LoadFromFile("x3_data.vec");
MtxVecTee.DrawIt(new TVec[] {x1,x2,x3},new string[] {"1st","2nd","3rd"}, "Multiple values",false);