3.7.5.97 Vmatrix

LabTalk Object Type:

Utility

‎ The vmatrix object controls the appearance of the 2D or 3D plot created from a specified Virtual Matrix.

Properties

Property Access Description
vmatrix.name$ Read/write,
string
Short name of the virtual matrix.
vmatrix.zTitle$ Read/write,
string
long name of the virtual matrix.
vmatrix.xTitle$, vmatrix.yTitle$ Read/write,
string
X and Y title of the virtual matrix.
vmatrix.xFormat$, vmatrix.yFormat$

Read/write,
string
format of X and Y data of the virtual matrix.
vmatrix.nRows Read,
numeric
number of row in the virtual matrix.
vmatrix.nCols Read,
numeric
number of column in the virtual matrix.
vmatrix[n] Read/write,
numeric
Read or assign value to the Nth element in the virtual matrix.

Example

newbook;
impASC fname:= system.path.program$+"Samples\Graphing\3D Surface & Contour.dat";  
//Import sample data into Worksheet.

plotvm irng:= 1! rowpos:=none colpos:=none vmname:=aaa type:=103 ogl:=<new template:=GLCMAP>; 
//plot the data in worksheet as virtual matrix.

vmatrix vv=aaa;  //define the virtual matrix.

vv.name$=;	//Output the short name of virtual matrix.
vv.ztitle$=;	//Output the long name of virtual matrix.

vv.xtitle$=;	//Output the X title	

vv.nrows=;  //output the number of row

vv.ncols=;  //output the number of column