[pstricks] use of node coordinate in \psStartPoint
Patrice MÉGRET
Patrice.MEGRET at umons.ac.be
Thu Jul 10 16:00:02 CEST 2014
Dear Herbert,
Is it possible to use a node as the coordinate for \psStartPoint (Cartesian and polar coordinates work) as in the following example that does not work: vector D is not drawn.
I would like to start a new vector sequence from the end of vector F'_1 (I don't want to compute its Cartesian coordinates as I know its name is Vector2), I would like to use \psStartPoint(Vector2) or \psStartPoint[newnode-name](Vector2) to simply continue the sequence of vectors.
Best regards,
Patrice
\documentclass{article}
\usepackage{pstricks-add}
\listfiles
\begin{document}
\begin{pspicture}[showgrid=true](-2,-3.5)(9,2.5)
%% direct
\psStartPoint(0,0)
\psVector[linewidth=1.5pt,linecolor=black](1;-90)\nbput*{$F_2$}
\psStartPoint(0,0)
\psVector[linewidth=1.5pt,linecolor=black](1.5;190)\nbput*{$F_3$}
\psStartPoint(0,0)
\psVector[linewidth=1.5pt,linecolor=black](2;0)\nbput*{$F_1$}
\psVector[linewidth=1pt,linecolor=blue,linestyle=dotted](1;30)\nbput*{$F'_3$}
\psVector[linewidth=1pt,linecolor=blue,linestyle=dotted](1.5;70)
\pcline[linewidth=1.5pt,linecolor=blue]{->}(Vector0)(Vector3)\naput*{$3F_d$}
\psStartPoint(Vector2)
\psVector[linewidth=1.5pt,linecolor=gray](1;-45)\naput*{$D$}
\end{pspicture}
\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20140710/86fcc1be/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Document8.ps
Type: application/postscript
Size: 221387 bytes
Desc: Document8.ps
URL: <http://tug.org/pipermail/pstricks/attachments/20140710/86fcc1be/attachment-0001.ps>
More information about the PSTricks
mailing list