[pstricks] xticksize
Jean-Claude Dehaes
jdehaes at ulb.ac.be
Sat Sep 24 18:13:45 CEST 2005
Hi,
In the example below, an error appears because of "xticksize=0 110" if 110 is replaced by 109.99 or 120 there is no error. The error is "missing number, treated as zero".
I don't understand. Did I make a stupid mistake?
Best regards
Jean-Claude
\documentclass[a4paper]{article}
\usepackage{pstricks-add}
\usepackage{SIstyle}
\begin{document}
\savedata{\dat}[%
0 2
1 6
2 18
3 38
4 66
5 102]
\psset{xunit=1.5cm,yunit=0.06cm}
\def\pshlabel#1{{\scriptsize\itshape#1}}
\def\psvlabel#1{{\scriptsize\itshape#1}}
\begin{pspicture}(0,0)(6,115)
\psaxes[Dx=1,Dy=10,subticks=2,xticksize=0 110,yticksize=0 6,subticksize=1](0,0)(6,110)
\rput(3,-10){Temps $t$ (\SI{}{s})}
\rput{90}(-0.5,55){Distance $x$ (\SI{}{m})}
\listplot[showpoints=true,plotstyle=dots]{\dat}
\end{pspicture}
\end{document}
article.cls 2004/02/16 v1.4f Standard LaTeX document class
size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
pstricks-add.sty 2005/03/03 package wrapper for pstricks-add.tex (hv)
pstricks.sty 2005/06/02 v0.24 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2005/09/08 v1.11 `PSTricks' (tvz)
xcolor.sty 2005/06/06 v2.03 LaTeX color extensions (UK)
color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks-add.tex 2005/09/18 v2.63 `PSTricks-add' (hv)
pst-xkey.tex 2005/02/22 v1.5 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2005/07/10 v2.5c package option processing (HA)
xkeyval.tex 2005/07/10 v2.5c key=value parser (HA)
SIstyle.sty 2004/07/09 v2.0 SI units and numbers (DNJ Els)
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
More information about the PSTricks
mailing list