[pstricks] mismatch between psaxes and psgrid

Christoph Bersch usenet at bersch.net
Thu Jun 19 23:26:56 CEST 2008

Markus wrote:
> There is a mismatch between psaxes and psgrid (y-coordinates do not match).

To me it looks like expected. What is wrong in your opinion?

> Here is the minimal example
> \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!

> \psaxes{->}(0,0)(-4,-5)(7,4)%[$x$,270][$y$,0]

maybe you get the result you want if you use

> \end{pspicture}
> \end{document}


More information about the PSTricks mailing list