[pstricks] psaxes ticksize
Jean-Claude Dehaes
jdehaes at ulb.ac.be
Sun Jun 19 16:52:56 CEST 2005
I have a problem with psaxes. When I put xticksize=-0.02 0.1 in the option list, the x-labels appears well below the x-axes. Can somebody help me. I made probably a mistake but I can not find it.
Thank you
Jean-Claude
\documentclass{article}
\usepackage{pstricks-add}
\listfiles
\begin{document}
\psset{xunit=250cm,yunit=50cm}
\begin{pspicture}(-0.03,-0.02)(0.03,0.1)
\pstVerb{/gravity {10} def /mass {0.5} def /kres {700} def}
\def\pshlabel#1{{\scriptsize\itshape#1}}
\def\psvlabel#1{{\scriptsize\itshape#1}}
\psaxes[Dx=0.005,Dy=0.02,xticksize=-0.02 0.1](0,0)(-0.02001,-0.02001)(0.02001,0.100001)
\psplot[linewidth=1.5pt,linecolor=red]{-0.02}{0}{x gravity mul mass mul kres 2 div x dup mul mul add}
\psplot[linewidth=1.5pt,linecolor=red]{0}{0.02}{x gravity mul mass mul}
\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/02/25 v0.22 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex 2005/05/06 v1.07 `PSTricks' (tvz)
xcolor.sty 2004/07/04 v2.00 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/05/26 v2.55 `PSTricks-add' (hv)
pst-xkey.tex 2004/11/25 v1.2 PSTricks specialization of xkeyval (HA)
xkeyval.sty 2004/11/25 v1.7 package option processing (HA)
xkeyval.tex 2004/11/25 v1.7 key=value parser (HA)
More information about the PSTricks
mailing list