ID Subcommand (TSPLOT command)
ID
names
a variable whose values will be used as labels for the horizontal
axis.
- The only specification on
ID
is a variable name. If you have a variable named ID in your active dataset, the equals sign (=) after the subcommand is required. - If the
ID
subcommand is not used andTSET ID
has not been specified, the axis is labeled with the DATE_ variable created by theDATE
command. If theDATE
command has not been specified, the observation number is used as the label.
Example
TSPLOT VARIABLES = VARA
/ID=VARB.
- In this example, the values of VARB will be used to label the horizontal axis of VARA at periodic intervals.