[pstricks] Rotating figure
Denis Vergès
Denis.Verges at wanadoo.fr
Mon Jan 19 17:20:47 CET 2009
Bonjour,
En sortant les labels de la rotation ?
\documentclass{article}
\usepackage{pstricks-add}
\begin{document}
\begin{pspicture}(0,0)(10,10)
\rput{30}(3,3){ \dotnode(0,0){P}
\dotnode(8,0){S}
\dotnode(8,3){Q}
\dotnode(10,0){R}
\dotnode(8,5.5){T}
\ncline{-}{P}{T}
\ncline{-}{P}{Q}
\ncline{-}{P}{S}
\ncline{-}{S}{R}
\ncline{-}{R}{Q}
\ncline{-}{R}{T}
\ncline{-}{S}{T}
\psline(7.5,0)(7.5,0.5)(8,0.5)}
\nput*{180}{P}{P}
\nput*{-90}{S}{S}
\nput*{45}{Q}{Q}
\nput*{-90}{R}{R}
\nput*{90}{T}{T}
\end{pspicture}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Cordialement.
Denis
Le 19 janv. 09 à 16:50, Martin Chicoine a écrit :
> Is there a way to rotate a figure like the following without
> rotating the text in the labels, e.g. rotate the coordinate system?
>
>
>
> Thanks,
>
>
>
> Martin.
>
>
>
> \documentclass{article}
>
> \usepackage{pstricks-add}
>
> \begin{document}
>
>
>
> \begin{pspicture}(0,0)(10,10)
>
> \dotnode(0,0){P} \nput*{180}{P}{P}
>
> \dotnode(8,0){S} \nput*{-90}{S}{S}
>
> \dotnode(8,3){Q} \nput*{45}{Q}{Q}
>
> \dotnode(10,0){R} \nput*{-90}{R}{R}
>
> \dotnode(8,5.5){T} \nput*{90}{T}{T}
>
> \ncline{-}{P}{T}
>
> \ncline{-}{P}{Q}
>
> \ncline{-}{P}{S}
>
> \ncline{-}{S}{R}
>
> \ncline{-}{R}{Q}
>
> \ncline{-}{R}{T}
>
> \ncline{-}{S}{T}
>
> \psline(7.5,0)(7.5,0.5)(8,0.5)
>
> \end{pspicture}
>
>
>
> \end{document}
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
More information about the PSTricks
mailing list