Strings used for axis labels, plot titles, etc., can include special
escape sequences which control the appearance of subsequent text when
the string is drawn as part of a plot.8 Escape sequences are introduced using a
percent character. For instance, if the string "10%^50+%^s50+Z"
was used as an axis label in a plot, it would produce a string similar to
"
"--that is, the character "Z" would be displayed as a small
superscript character. Any unrecognised, illegal or incomplete escape
sequences are printed literally. The following escape sequences are
currently recognised ("..." represents a string of one or more decimal
digits):
%% : Print a literal "%" character.
%^...+ : Draw subsequent characters as superscripts. The digits
"..." give the distance from the base-line of `normal'
text to the base-line of the superscript text, scaled
so that a value of "100" corresponds to the height of
`normal' text.
%^+ : Draw subsequent characters with the normal base-line.
%v...+ : Draw subsequent characters as subscripts. The digits
"..." give the distance from the base-line of `normal'
text to the base-line of the subscript text, scaled
so that a value of "100" corresponds to the height of
`normal' text.
%v+ : Draw subsequent characters with the normal base-line
(equivalent to %^+).
%>...+ : Leave a gap before drawing subsequent characters.
The digits "..." give the size of the gap, scaled
so that a value of "100" corresponds to the height of
`normal' text.
%<...+ : Move backwards before drawing subsequent characters.
The digits "..." give the size of the movement, scaled
so that a value of "100" corresponds to the height of
`normal' text.
%s...+ : Change the Size attribute for subsequent characters. The
digits "..." give the new Size as a fraction of the `normal'
Size, scaled so that a value of "100" corresponds
to 1.0;
%s+ : Reset the Size attribute to its `normal' value.
%w...+ : Change the Width attribute for subsequent characters. The
digits "..." give the new width as a fraction of the
`normal' Width, scaled so that a value of "100" corresponds
to 1.0;
%w+ : Reset the Width attribute to its `normal' value.
%f...+ : Change the Font attribute for subsequent characters. The
digits "..." give the new Font value.
%f+ : Reset the Font attribute to its `normal' value.
%c...+ : Change the Colour attribute for subsequent characters. The
digits "..." give the new Colour value.
%c+ : Reset the Colour attribute to its `normal' value.
%t...+ : Change the Style attribute for subsequent characters. The
digits "..." give the new Style value.
%t+ : Reset the Style attribute to its `normal' value.
%- : Push the current graphics attribute values on to the top of
the stack (see %+).
%+ : Pop attributes values of the top the stack (see %-). If
the stack is empty, `normal' attribute values are restored.
PGPLOT escape sequences may also be included in strings which are to be drawn.
KAPPA --- Kernel Application Package