\usepackage {pstcol}
\begin{pspicture}(0,0)(1,2)\showgrid
\psset{xunit=.5cm,yunit=2cm}
\psline(0,0)(1,1)
\end{pspicture}