I defined some small pstricks makro:
\begin{pspicture}(-5,-5)(5,5)
\newcommand{\leftwall}{%
\psline(-4,-4)(-4,4)
\multips(-4,-3.5)(0,0.5){14}{\psline(0,0)(-1,1)}
}
\leftwall
\end{pspicture}
And now I want the output of \leftwall
reflected, to produce something like \rightwall
. In this specific situation, I could just change the signs of the x coordinates, but this is ugly. How can I do this in general?
I'm looking for a command like \psrotate
from the pstricks-add package where I can specify two points that define a line along which I can reflect my \leftwall
.