Tickformat Keyword

Used With Routines: AXIS, BOXPLOT, CONTOURCONTOURFS,  CONTOUR2, OPLOT, PLOT, SHADE_SURF, SURFACE

Corresponding System Variable:  !P.Tickformat

Lets you use FORTRAN-style format specifiers to change the format of tick labels on the x-, y-, and z-axes. For example:

PLOT, mydata, Tickformat = '(F5.2)'

The resulting plot’s tick labels are formatted with a total width of five characters carried to two decimal places. As expected, the width field expands automatically to accommodate larger values. For more information on format specifiers, see the section Explicitly Formatted Input and Output in Chapter 8 of the PV‑WAVE User Guide.

Note that only the I (integer), F (floating-point), and E (scientific notation) format specifiers can be used with Tickformat. Also, you cannot place a quoted string inside a tick format. For example, ('<', F5.2, '>') is an invalid Tickformat specification.

See also [XYZ]Tickformat.