[pstricks] Missing labels at the end of the axes while using \psaxes
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Mon Nov 26 16:46:33 CET 2012
Am 26.11.2012 15:32, schrieb Thomas Flisgen:
> I have a problem while using \psaxes. My x axis should be labelled from
> 6.50 to 7.00 with a stepsize of 0.05. Unfortunately PSTricks does not
> plot the 7.00 at the end of the x-axis. Here is the code I'm using
>
> \psset{xunit=2\textwidth,yunit=.05cm}
> \begin{pspicture}(0,-150)(0.5,-20)
> {\small
> \psaxes[linewidth=.25pt,tickwidth=.25pt,axesstyle=none,Ox=6.50,Dx=0.05,Oy=-140,Dy=20](0.00,-140)(0.00,-140)(0.50,-20)
>
> }
> \end{pspicture}
>
> Why it does not plot the 7.00? Can you help me modifying the code such
> that the 7.00 is plotted?
a rounding problem. Use
\documentclass{scrartcl}
\usepackage{pst-plot}
\begin{document}
\psset{xunit=2\textwidth,yunit=.05cm}
\begin{pspicture}(0,-150)(0.5,-20)
\psaxes[linewidth=.25pt,tickwidth=.25pt,axesstyle=none,
labelFontSize=\scriptstyle,Ox=6.50,Dx=0.05,
Oy=-140,Dy=20](0.00,-140)(0.00,-140)(0.501,-20)
\end{pspicture}
\end{document}
Herbert
More information about the PSTricks
mailing list