[pstricks] Grid and axis are misaligned

Herbert Voss Herbert.Voss at fu-berlin.de
Fri Jun 29 09:04:50 CEST 2018


---------- Weitergeleitete Nachricht ----------
From: Martin Chicoine <martin.chicoine at gmail.com 
<mailto:martin.chicoine at gmail.com>>
To: pstricks at tug.org <mailto:pstricks at tug.org>
Cc:
Bcc:
Date: Thu, 28 Jun 2018 19:35:53 -0400
Subject: Grid and axis are misaligned

The grid and axis are misaligned in the following example. The problem 
disapears when adding % after the last bracket of pscustom. I guess it 
is a bug?

\documentclass{article}

\usepackage{pstricks-add}
\psset{algebraic}

\begin{document}

\begin{psgraph}(0,0)(5,5){.3\textwidth}{6cm}
\psclip{\psframe[linestyle=none](-1,-1)(5,10)}
\psgrid[gridlabels=0pt]
   \pscustom[linewidth=1.2pt,linecolor=blue]{
     \psplot{1}{2}{x^2}
   }
\endpsclip
\psaxes[](0,0)(5,5)
\end{psgraph}

\end{document}


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20180629/956e344d/attachment.html>


More information about the PSTricks mailing list