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 and TSET ID has not been specified, the axis is labeled with the DATE_ variable created by the DATE command. If the DATE 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.