By default, the major tick marks along axes are labelled with representations of the values represented at each point, each accurate to the number of significant figures specified using the set numerics sigfig command. These labels may appear as decimals, such as
3.142
3×10^8
1.5×2^8
π![$:
\begin{verbatim}
set xformat "%s$\pi$"%(x/pi)
plot [-pi:2*pi] sin(x)
\end{verbatim}
\noindent \centerline{\includegraphics[width=8cm]{examples/eps/ex_ axistics2}}
Note that where possible, Pyxplot intelligently changes the positions along axes where it places the ticks to reflect significant points in the chosen labelling system. The extent to which this is possible depends on the format string supplied. It is generally easier when continuous-varying numerical values are substituted into strings, rather than discretely-varying values or strings. Thus, rather than
{\vspace{3mm}\noindent \begin{tabular}{p{1cm}p{\dontdowidth }}\noindent {\includegraphics{cross}}
& \noindent \begin{minipage}{\dontdowidth }\tt set xformat "\% d"\% (floor(x)) \end{minipage}
\end{tabular}\vspace{3mm}}
\noindent the following is preferred
{\vspace{3mm}\noindent \begin{tabular}{p{1cm}p{\dontdowidth }}\noindent {\includegraphics{tick}}
& \noindent \begin{minipage}{\dontdowidth }\tt set xformat "\% d"\% (x) \end{minipage}
\end{tabular}\vspace{3mm}}
\noindent and rather than
{\vspace{3mm}\noindent \begin{tabular}{p{1cm}p{\dontdowidth }}\noindent {\includegraphics{cross}}
& \noindent \begin{minipage}{\dontdowidth }\tt set xformat "\% s"\% date.str() \end{minipage}
\end{tabular}\vspace{3mm}}
\noindent the following is preferred
{\vspace{3mm}\noindent \begin{tabular}{p{1cm}p{\dontdowidth }}\noindent {\includegraphics{tick}}
& \noindent \begin{minipage}{\dontdowidth }\tt set xformat "\% d/\% 02d/\% d"\% (date.toDayOfMonth(), \end{minipage}
\end{tabular}}
$](images/img-0647.png)

The set xformat command and its companions may also be followed by keywords which control the angle at which tick labels are drawn. By default, all tick labels are written horizontally, a behaviour which may be reproduced by issuing the command:
set xformat auto horizontal
Alternatively, tick labels may be set to be written vertically, by issuing the command
set xformat auto vertical
or to be written at any clockwise rotation angle from the horizontal using commands of the form
set xformat auto rotate 10
Axis labels may also be made to appear at arbitrary rotations using commands such as
set unit angle nodimensionless set xlabel "I'm upside down" rotate unit(0.5*revolution)
Axes may be set to have no textual labels associated with the ticks along them using the command:
set xformat ""
This is particularly useful when compiling galleries of plots using linked axes (see the next section) and the multiplot environment (see Chapter ).
Footnotes