I am trying to get larger numbers on my axes in a pstricks plot. The user's guide only says that

The labels are set in the current font (ome of the examples above were
preceded by \small so that the labels would be smaller). You can do
fancy things with the labels by redefining the commands:


E.g., if you want change the font of the horizontal labels, but not the
vertical labels, try something like

\def\psxlabel#1{\small #1}

There is, however, no description of the command \pxlabel or example of this line of command's employment. I tried to insert it before and after the \begin{document} line and I had no result.

How can I use this command to change my axes' label font size?

Thank you very much.


There are labelFontSize, xlabelFontSize, ylabelFontSize. But you have to use the correct size macro! The labels are set by default in math mode, so \tiny for example won't work unless you say mathLabel=false!


Without setting labels in math mode


Setting labels in math mode (default)


| improve this answer | |
  • Thank you very much. It was really helpful. – NeonGabu Sep 18 '19 at 6:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.