<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>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?<br>
</p>
<blockquote type="cite"
cite="mid:3361f0da-7358-a139-8cea-c52109e8f12d@fu-berlin.de">
<div dir="ltr" style="caret-color: rgb(34, 34, 34); color: rgb(34,
34, 34); font-family: arial, sans-serif; font-size:
12.800000190734863px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
text-decoration: none;">
<div><br>
</div>
<div>\documentclass{article}<br>
<br>
\usepackage{pstricks-add}<br>
\psset{algebraic}<br>
<br>
\begin{document}<br>
<br>
\begin{psgraph}(0,0)(5,5){.3\t<wbr>extwidth}{6cm}<br>
\psclip{\psframe[linestyle=non<wbr>e](-1,-1)(5,10)}<br>
\psgrid[gridlabels=0pt]<br>
\pscustom[linewidth=1.2pt,line<wbr>color=blue]{<br>
\psplot{1}{2}{x^2}<br>
}<br>
\endpsclip<br>
\psaxes[](0,0)(5,5)<br>
\end{psgraph}<br>
</div>
</div>
</blockquote>
<br>
there is a trailing space:<br>
<br>
\begin{psgraph}(0,0)(5,5){.3\textwidth}{6cm}<br>
\psclip{\psframe[linestyle=none](-1,-1)(5,10)}<br>
\psgrid[gridlabels=0pt]<br>
\pscustom[linewidth=1.2pt,linecolor=blue]{<br>
\psplot{1}{2}{x^2}<br>
}%%% <<==========<br>
\endpsclip<br>
\psaxes[](0,0)(5,5)<br>
\end{psgraph}<br>
<br>
Herbert<br>
<br>
<br>
</body>
</html>