System.Annotation

Read and alter annotation content and format settings controlled by Object Properties dialog.

LabTalk Object Type:

Utility

The annotation object is a sub-object of the system object. The annotation object properties allow you to read and alter annotation content and format settings.

Properties:

Property Access Description
System.annotation.mode Read/write
int

Available for 2D XY plot. Returns/Sets the annotation mode of default label form:

0 = (x,y)
1 = (x,y)[i]
2 = x
3 = y
5 = i
6 = Custom

System.annotation.customlabel$ Read/write
string

Returns/Sets the default customized label format for 2D XY plot. Learn more about the format string in this page.

System.annotation.modexyz Read/write
int

Available for contour plot from XYZ data and matrix. Returns/Sets the annotation mode of default label form:

0 = (x,y,z)
1 = (x,y,z)[i](XYZ data) or (x,y,z)[i,j] (matrix data)
2 = x
3 = y
4 = z
5 = i (XYZ data) or i,j (matrix data)
6 = Custom

System.annotation.customlabelxyz$ Read/write
string

Returns/Sets the default customized label format for contour from XYZ data and matrix. Learn more about the format string in this page.

Examples:

Set default annotation format as a customized string for XY plot

system.annotation.mode = 6;
system.annotation.CUSTOMLABEL$ ="My label:$(x)[$(i)]";

See Also: