[pstricks] use of node coordinate in \psStartPoint

Patrice MÉGRET Patrice.MEGRET at umons.ac.be
Fri Jul 11 10:00:59 CEST 2014


Dear Herbert,

Thanks a lot.

I suspect there is a small bug: 
I put \psStartPoint[New](Vector2) to start a new vector sequence from the end of vector F'_3. The name of this node is thus with Vector2 and New0.
Then I draw vector D and the end node is New1, from which the new \psVector should start to draw the vector G.
It is ok in the second example that uses \pstStartPoint(x,y) but not with the first one that uses  \pstStartPoint(node)

Bets regards,
Patrice

\documentclass{article}

\usepackage{pstricks-add}
\listfiles

\begin{document}

\begin{pspicture}[showgrid](-2,-2)(4,2)
\psVector[linewidth=1.5pt]<0,0>(1;-90)\nbput*{$F_2$}
\psVector[linewidth=1.5pt]<0,0>(1.5;190)\nbput*{$F_3$}
\psVector[linewidth=1.5pt]<0,0>(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[New](Vector2)
\psVector[linewidth=1.5pt,linecolor=gray](1;-45)\naput*{$D$}
\psVector[linewidth=1.5pt,linecolor=orange](1;45)\naput*{$G$}
\pcline(New0)(New2)
\pcline(Vector3)(New0)
\end{pspicture}



\begin{pspicture}[showgrid](-2,-2)(4,2)
\psVector[linewidth=1.5pt]<0,0>(1;-90)\nbput*{$F_2$}
\psVector[linewidth=1.5pt]<0,0>(1.5;190)\nbput*{$F_3$}
\psVector[linewidth=1.5pt]<0,0>(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[New](2,-0.5)
\psVector[linewidth=1.5pt,linecolor=gray](1;-45)\naput*{$D$}
\psVector[linewidth=1.5pt,linecolor=orange](1;45)\naput*{$G$}
\pcline(New0)(New2)
\pcline(Vector3)(New0)
\end{pspicture}



\end{document}



-------------- next part --------------
A non-text attachment was scrubbed...
Name: Document9.ps
Type: application/postscript
Size: 256343 bytes
Desc: Document9.ps
URL: <http://tug.org/pipermail/pstricks/attachments/20140711/2d900ad1/attachment-0001.ps>


More information about the PSTricks mailing list