[pstricks] Extra x-axis

Poul Riis Poul.Riis at skolekom.dk
Tue Oct 25 16:08:35 CEST 2005


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?

Yours,
Poul Riis


\documentclass{article}
\usepackage{inputenc}
\usepackage[T1]{fontenc}
\usepackage{pstricks-add}

\begin{document}
\psset{xunit=0.25mm,yunit=10mm}%
\begin{pspicture}(0,14.5)(400,22)%
\psaxes[xunit=0.9856,Ox=0,Oy=15,Dx=60,
Dy=1,ticksize=4pt,ysubticks=6,xsubticks=10,yAxis=false,labelsep=-4.5mm,linecolor=red,showorigin=false,tickcolor=red]{-}(0,15)(365.25,22)%
\psaxes[xunit=1,Oy=15,Dx=100,
Dy=1,ticksize=-4pt,ysubticks=6,xsubticks=10]{->}(0,15)(360,22)%
\end{pspicture}
\end{document}




More information about the PSTricks mailing list