C-PLOT

Scientific Graphics and Data Analysis

6.2. - cs set character sizes



lets you vary the height, width and slant of text characters and the plotting symbol. Changing the width of the symbol controls the width of error bars (see eb, below) and the size of data masking in gd 4 (see Chapter 3).
cs
cs t|l|n|s|d|k height [ratio [slant]]
or
cs t|l|n|s|d|k
Character height is given in millimeters and refers to upper-case letters. The width is controlled by setting the ratio of height to width. Character slant is given in degrees. Positive values slant characters to the right, negative values to the left.

Without arguments, C-PLOT will prompt you separately to set the height, height-to-width ratio and slant for the title, axis labels, axis numbers, symbol, key, annotation and date. The current values are given in parentheses. Only the parameters for which you enter values will be changed. Entering one value changes only the height. Entering two changes the height and the height-to-width ratio. Entering three changes the height, height-to-width ratio and slant.


You also can apply the command to only one text group using the arguments t, l, n, s, k or d to select title, labels, numbers, symbol, key and annotation or date, respectively.

If you enter the parameter for one type of text on the command line, you will be prompted to set the height, height-to-width ratio and slant for that text. (Only one text type at a time can be set using this method.) Alternatively, you can place the parameters for one or more types of text on the command line along with values for height, height-to-width ratio and slant. For example, entering cs s 6 2 sets the symbol height to 6 and its height-to-width ratio to 2.

The absolute character dimensions, given in millimeters, are always accurate on the pen plotter. The actual dimensions of characters drawn with a graphics filter vary depending on the mapping of pen-plotter units to the particular graphics device. (Select filter-scaling factors, or sc, lets you control the mapping. See Chapter 9.)

The example below shows text with various dimension settings: