C-PLOT

Scientific Graphics and Data Analysis

6.6. - tx enter text for plot labels and title



lets you add text for the title and axis labels.
tx
or
tx t|x|xu|y|yu|z|zu [text ... ]
The title will be drawn above the plot window and the labels along the appropriate axis. Units will be indicated following the labels in square brackets (or parentheses or APS style -- see ty, described in Chapter 5).

With no arguments, you will be prompted to enter a title, then labels and units for each axis. The axis labels are entered separately from the units, allowing C-PLOT to insert a scaling factor, if necessary, between the label text and the text describing the units.

If you enter a single argument such as t, you will be prompted to enter just the title. If you enter x, y or z as an argument, you will be prompted for the axis label and units. Adding a u to the axis letter means you will be prompted just for the units. You also can enter the text on the command line following the argument. For example,
PLOT-> tx t this is the title


Use the cs command to control the dimensions of the characters. Use the special sequences shown at the end of this chapter to insert special characters in the text.

In the following example, text entered by the user is enclosed by quotes. C-PLOT inserts the square brackets and the scaling factor on the x-axis.