[pstricks] Extra x-axis

Herbert Voss LaTeX at zedat.fu-berlin.de
Tue Oct 25 18:34:36 CEST 2005


Poul Riis wrote:
> I'm trying to put an extra x-axis on my graph. However, it seems to be
> shifted a little bit to the right.
> Furthermore, showorigin=false doesn't have the expected effect.
> How can I make it better?

\documentclass{article}
\usepackage{pstricks-add}
\begin{document}

\psset{xunit=0.25mm,yunit=10mm}%
\begin{pspicture}(0,14.5)(400,22)%
   \bgroup
   \def\pshlabel#1{}
   \psset{xunit=0.9856}
   \psaxes[Oy=15,Dx=60,Dy=1,ticksize=4pt,ysubticks=6,xsubticks=10,%
      yAxis=false,tickcolor=red]{-}(0,15)(365.25,22)%
   \multido{\iX=60+60}{6}{\uput[90](\iX,15){\iX}}
   \egroup
   \psaxes[xunit=1,Oy=15,Dx=100,Dy=1,ticksize=-4pt,%
      ysubticks=6,xsubticks=10]{->}(0,15)(360,22)%
\end{pspicture}

\end{document}


Herbert




More information about the PSTricks mailing list