1 2 3 4 5 6
\usepackage {pstricks} \begin{pspicture}(-.2,-.5)(3,1)\showgrid \pnode(.5,.5){A} \pnode(2.5,.5){B} \ncline{A}{B} \end{pspicture}