[pstricks] \rput and nodes
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Wed Jan 21 20:38:35 CET 2009
Michael Sharpe schrieb:
> The pstricks-add documentation on \psLCNode says that "... vectors
> start at (0,0), so a \rput may be appropriate." It seems to me that
> \rput does not translate a node. If I write \pnode(1,1){P}, then I get
> exactly the same output from \psdot(P) and \rput(2,2){\psdot(P)}. Am I
> missing some (ps)trick here?
http://tug.org/PSTricks/main.cgi?file=pstricks.bug&verb=1
see bug no 4
however, you can do something like:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{pstricks-add}
\begin{document}
\begin{pspicture}[showgrid=true](5,5)
\pnode(1,1){P}
\psdot(P) \pnode(!\psGetNodeCenter{P} P.x 4 add P.y 3 add){P'}
\psline{->}(P)(P')
\end{pspicture}
\end{document}
Herbert
More information about the PSTricks
mailing list