[pstricks] Rotating figure

Martin Chicoine martin.chicoine at umontreal.ca
Mon Jan 19 16:50:23 CET 2009


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}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090119/3b80b298/attachment.html 


More information about the PSTricks mailing list