[pstricks] mismatch between psaxes and psgrid

Markus markuskrebs at web.de
Sat Jun 21 08:00:45 CEST 2008


Hi Herbert!

The early bird catches the day .. Some kind of nightshift?

At 00:22 21.06.2008, you wrote:
>Markus schrieb:
>
> >>> \listfiles
> >>> \documentclass[11pt,DIV15]{scrartcl}
> >>> \usepackage{pstricks-add}
> >>> \begin{document}
> >>> \begin{pspicture}(-4,-5)(7,4)
> >> you have a pspicture environment which goes from (-4,-5) to (7,4)
> >>
> >>> \psgrid[subgriddiv=2,gridcolor=lightgray,gridlabels=0pt]
> >> if you remove the 'gridlabels=0pt' from the option list, you see that
> >> the grid and the axes match!
> >
> > No. Not for me.
>
>
>try it again with
>http://perce.de/LaTeX/pstricks-add/pstricks-add.tex

\def\fileversion{3.05}
\def\filedate{2008/06/12}

??? Or better version 3.06

You've uploaded 3.05.

>it should fix this problem. In math mode the + and - sign
>are shifted a bit down, the reason why the box has a depth
>of about 1 pt which leads for the horizontal labels for
>a shift of the complete axes. Now everything is written
>into a box and then set to a total of 0pt and no vertical
>shift should be seen.

Except from psDEBUG it looks better. Axes and outer frame of psgrid 
do match. But no ticks.

Minimal example

\listfiles
\documentclass{article}
\usepackage{pstricks-add}
\begin{document}
\def\psDEBUG[#1]#2{}

\psset{unit=1,plotpoints=2000}
\begin{pspicture}(-8,-4)(2,9)
\psgrid[gridcolor=lightgray,subgriddiv=2,gridlabels=0pt]
\psaxes[Dx=1,Dy=1]{->}(0,0)(-8,-4)(2,9)[$x$,270][$y$,0]
\uput{5pt}[270](2,0){$x$}
\uput{5pt}[0](0,9){$y$}
\pspolygon[linewidth=2pt,linejoin=2](-4,-3.5)(1,4)(-2,8)(-4,5)(-7,6)
\uput{5pt}[270](-4,-3.5){A}
\uput{5pt}[0](1,4){B}
\uput{5pt}[90](-2,8){C}
\uput{5pt}[90](-4,5){D}
\uput{5pt}[180](-7,6){E}
%\pcline[linecolor=red](-4,0)(-4,5)
%\pcline[linecolor=red](1,4)(-4,4)
%\pcline[linecolor=red](-2,4)(-2,8)
\end{pspicture}

\end{document}

  *File List* (switched back to April to solve problems - except pstricks-add)
  article.cls    2005/09/16 v1.4f Standard LaTeX document class
   size10.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
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/04/14 v1.22 `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 for your help!

Markus





More information about the PSTricks mailing list