System.Annotation
Read and alter annotation content and format settings controlled by Object Properties dialog.
LabTalk Object Type:
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) |
| 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) |
| 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)]";