[pstricks] Problems with psaxes
Matthias Steinbrink
M.Steinbrink at gmx.de
Fri Nov 12 17:57:33 CET 2004
At 17:30 12.11.04, Herbert Voss wrote:
>Matthias Steinbrink wrote:
>
>>I have encountered some problems with \psaxes. It used to work all fine
>>until I updated to pstricks-add v.2.21. Since then I cannot compile the
>>following example. It only works with the two commented lines. Have I
>>somehow misunderstood something?
>
>what kind of problem? I have no working crystal ball ...
It says that there seems to be a missing number when I uncomment either one
of the psaxes-lines.
It has something to do with the tickstyle-option. Please try the following
example, it doesn't work here.
\listfiles
\documentclass{article}
\usepackage{pstricks, pst-plot,pstricks-add}
\usepackage{filecontents}
\begin{filecontents}{flKurs.data}
{{0, 23.4871795},{1, 23.3828829},{2, 23.4057971},%
{3, 23.56},{4, 23.5}{5, 23.703125},{6, 24.14285714},%
{7, 23.8055556},{8, 23.75},{9, 24},{10, 24},{11, 23.6666667}}
\end{filecontents}
\begin{document}
\begin{pspicture}(-2,21.6)(11.2,25.75)
\readdata{\flKurs}{flKurs.data}
\psaxes[Dx=1,Ox=1470,labels=none,%
%%% only when i comment the next line it works
tickstyle=top%
%%%
](0,22)(11,25.5)
\psaxes[Dx=2,Ox=1470,Oy=22,Dy=0.5,%
%%% only when i comment the next line it works
tickstyle=top%
%%%
ticksize=5pt,comma](0,22)(11,25.5)
\rput{90}(-1.5,24){Jahresdurchschnitt}
\psplot[plotstyle=curve, linecolor=red]{0}{10}{0.0654 x mul 23.311 add}
\dataplot[plotstyle=line]{\flKurs}
\end{pspicture}
\end{document}
More information about the PSTricks
mailing list