[pstricks] Again problem with axes and vertical shift

Markus markuskrebs at web.de
Tue Jul 15 08:39:31 CEST 2008


Dear Herbert!

Would you be so kind to compare these four simple graphs.

Adding a negative horizontal axis causes a bug: Horizontal axis and 
dashed red line do not match.

\listfiles
\documentclass{minimal}
\usepackage{pstricks-add}
\begin{document}
\begin{center}
%\psset{algebraic,unit=1}
\begin{pspicture}(-1.2,-1.2)(6,7.0)
\psaxes[]{->}(0,0)(0,0)(6,6)[$x$,270][$y$,0]
\psline[linewidth=2pt,linecolor=red,linestyle=dashed](1.5,0)(5,0)
\end{pspicture}
\hspace{1cm}
\begin{pspicture}(-1.2,-1.2)(6,7.0)
\psaxes[]{->}(0,0)(-1,0)(6,6)[$x$,270][$y$,0]
\psline[linewidth=2pt,linecolor=red,linestyle=dashed](1.5,0)(5,0)
\end{pspicture}
	
\begin{pspicture}(-1.2,-1.2)(6,7.0)
\psaxes[]{->}(0,0)(0,-1)(6,6)[$x$,270][$y$,0]
\psline[linewidth=2pt,linecolor=red,linestyle=dashed](1.5,0)(5,0)
\end{pspicture}
\hspace{1cm}
\begin{pspicture}(-1.2,-1.2)(6,7.0)
\psaxes[]{->}(0,0)(-1,-1)(6,6)[$x$,270][$y$,0]
\psline[linewidth=2pt,linecolor=red,linestyle=dashed](1.5,0)(5,0)
\end{pspicture}
\end{center}
\end{document}

  minimal.cls    2001/05/25 Standard LaTeX minimal class
pstricks-add.sty    2007/09/03 v. 0.11 package wrapper for 
pstricks-add.tex (hv)
pstricks.sty    2008/01/24 v0.37 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2008/06/17 v1.24 `PSTricks' (tvz)
   xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
    color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks-add.tex    2008/06/12 v3.05 `PSTricks-add' (hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
  xkeyval.sty    2006/11/18 v2.5f package option processing (HA)
  xkeyval.tex    2006/11/18 v2.5f key=value parser (HA)
  ***********

Thanks in advance!

Markus




More information about the PSTricks mailing list