[pstricks] how to rotate in pstricks ( an odd example )

owen nirvana freeespeech at gmail.com
Fri Jan 28 06:30:20 CET 2011


\documentclass[dvipdfmx]{article}
\usePackage{pdftricks}
\begin{psinputs}
\usepackage{pstricks}
\usepackage{pst-eps}
\usepackage{pst-node}
\usepackage{pst-poly}
\end{psinputs}

\begin{document}
\begin{figure}
\begin{pdfpic}
\begin{pspicture}

% the following code will draw a ' /   \
                                                     \   /  '
\rput{45}](1,0.5){\psline[linewidth=1pt](1,0.5)(1,-0.5)}
\rput{135}](1,0.5){\psline[linewidth=1pt](1,0.5)(1,-0.5)}
\rput{-45}](1,0.5){\psline[linewidth=1pt](1,0.5)(1,-0.5)}
\rput{-135}](1,0.5){\psline[linewidth=1pt](1,0.5)(1,-0.5)}


% the following code will draw a 'X'
\rput{40}](0,1){\psline[linewidth=1pt](0,0)(0,1)}
\rput{135}](0,1){\psline[linewidth=1pt](0,0)(0,1)}
\rput{-45}](0,1){\psline[linewidth=1pt](0,0)(0,1)}
\rput{-135}](0,1){\psline[linewidth=1pt](0,0)(0,1)}

\end{pspicutre}
\end{pdfpic}
\end{figure}
\end{document}

actually , I want a 'X', but I don't understand why we get a /  \

\  /  in the first way.

gtalk:freeespeech at gmail.com <gtalk%3Afreeespeech at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20110128/30d139bc/attachment.html>


More information about the PSTricks mailing list