pulIAxis SetMetaData

Sets the specified metadata key to the specified value.

Syntax

axis_handle SetMetaData key, value

Application

Tcl Modify

Description

This command assigns the specified value to the specified key.

Inputs

key
Any string as specified by the user.
value
Any string or number as specified by the user.

Example

hwi OpenStack;
hwi GetSessionHandle sess;
sess GetProjectHandle proj;
proj GetPageHandle page 1;
page GetWindowHandle win 1;
win GetClientHandle plot;
plot GetHorizontalAxisHandle h_axis 1;
h_axis SetMetaData axis_name "Time (s)";
hwi CloseStack; 

Errors

Returns 3 if there is an invalid handle.

Keywords

XY plot

Tcl

Axis

Metadata