TITLES Subcommand (XGRAPH command)
The TITLES
subcommand specifies the titles, subtitles, and footnotes. These
are lines of text at the top or bottom of the chart.
- At least one keyword should be specified if the
TITLES
subcommand is used; otherwise the subcommand is treated as blank. - If the subcommand is blank, an error is issued.
- Each line of text must be enclosed in quotes. The maximum length of any line is 255 bytes.
- When a keyword is specified with no text, an error is issued.
The following symbols can be used within the lines of text. Each must be specified using an opening right parenthesis and uppercase letters.
)DATE. Displays the current date as a locale-appropriate date stamp that includes the year, month, and day.
)TIME. Displays the current time as a locale-appropriate time stamp.
)CHART. Displays the
chart expression used to create the chart, stripped of measurement
levels, statistics specifications, and CHART=
. If variable labels are available,
they are used instead of the variable names in the chart expression.
Example
XGRAPH CHART=([COUNT] [BAR]) BY jobcat [c] BY gender [c]
/TITLES TITLE='Counts by Job Category and Gender' 'Date: )DATE'.