2

I was trying to make a pspicture with custom labels on the x-axes. Unfortunately the value, I am trying to let the y-axes start with, is displayed above the x-axes. Does anybody know why?

\documentclass[border=0bp]{standalone}
\usepackage{pst-plot}

\begin{document}
    \begin{pspicture}[](-1,-2)(1,1)
        \psaxes[xLabels={1}](0,0)(-1,-1.52)(1,1)
    \end{pspicture}
\end{document}

pspicture with wrong '.52' displayed

1
  • What's the xLabels={1} option supposed to do?
    – egreg
    Nov 9, 2015 at 22:23

1 Answer 1

2

With xlabels={...} you cannot have an axes length of an integer, e.g.

\psaxes[xLabels={1}](0,0)(-1,-1)(1,1)

then the labels defined by xlabels are printed from the left in steps of dx to the right. This is valid to both axes indepenedent of an existing ylabels={}! With your

\psaxes[xLabels={1}](0,0)(-1,-1.52)(1,1)

only the -1 is taken as value and .52 as normal text.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .