[pstricks] Rotating a graph drawn in PSTricks

Herbert Voss Herbert.Voss at fu-berlin.de
Fri Oct 26 14:23:12 CEST 2007

Swami Pallasena schrieb:
> I have a straightforward picture drawn in PSTricks,
> consisting of several lines, polygons, and circles  and some text.
> I want to rotate the entire picture 180 degrees.
> But I find none of the rotating commands in either
> PSTricks or the graphix package  seem to work.

> With the  command \psrotatedown  inside pstricks
>
> \begin{pspicture}
> \psrotatedown{%
>    graphic objects
> }
> \end{pspicture}
>
> it does not rotate the object even though there is no error message.

give a minimal example please, which can be run with latex
and shows the error. I have no problem with psrotatedown:

\documentclass{article}
\usepackage{pstricks,pst-plot}

\begin{document}
\psset{xunit=0.01cm,linewidth=0.5pt,plotpoints=200,plotstyle=curve}
\psrotatedown{%
\begin{pspicture}(-5,-2.5)(5,6)
\pscustom[linestyle=none,fillstyle=solid,fillcolor=green!30]{%
\psplot{45}{225}{x sin}
\psplot{225}{45}{x cos} }
\psplot{0}{360}{x sin}
\psplot{0}{360}{x cos}
\psaxes[ticks=none,labels=none]{->}(0,0)(0,-1)(380,1.5)
\psline[linecolor=blue](45,-1.5)(45,1.2)
\psline[linecolor=blue](225,-1.5)(225,1.2)
\psline[linecolor=blue](360,-1.5)(360,1.2)
\end{pspicture}%
}

\end{document}

Herbert