\usepackage {pstcol}
\begin{pspicture}(0,0)(1,1)\showgrid
\psline(0,0)(1,1)
\end{pspicture}