ID Subcommand (TSPLOT command)
ID names
a variable whose values will be used as labels for the horizontal
axis.
- The only specification on
IDis a variable name. If you have a variable named ID in your active dataset, the equals sign (=) after the subcommand is required. - If the
IDsubcommand is not used andTSET IDhas not been specified, the axis is labeled with the DATE_ variable created by theDATEcommand. If theDATEcommand 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.