[pstricks] Arrows with Bezier Curves (correction)

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Jun 10 15:59:57 CEST 2013


Am 09.06.2013 19:14, schrieb Nitecki, Zbigniew H.:
> Sorry: here is a more minimal example:
>
> \begin{pspicture}(0,0)(10,4)
> \psline[linewidth=1.5pt, arrows=->](5,4)(5,1)
> \psBezier5[linewidth=1.5pt, arrows=->](1.1,4.0)(1.1,3.0)(1.5,1.5)(1.6,1)(1.8,1)(2,1)
> \psline[linewidth=1.5pt](2,1)(4,1)
> \psBezier5[linewidth=1.5pt](4,1)(4.2,1)(4.4,1)(4.5,1.5)(4.9,3)(4.9,4)
> \psline[linewidth=1.5pt, arrows=->](1,1)(1,4)
> \end{pspicture}

I had forgotten that the points are saved internally in the wrong
order. I edited the code. You can wait for the next
TeXLive2013 or replace the two files
http://texnik.dante.de/dvips/pst-tools/pst-tools.pro
http://texnik.dante.de/dvips/pst-func/pst-func.pro

then this should work:

\documentclass{article}
\usepackage{pst-func}
\begin{document}

\begin{pspicture}(0,0)(10,4)
\psline[linewidth=1.5pt, arrows=->](5,4)(5,1)
\psBezier5[linewidth=1.5pt,arrows=<-,plotpoints=100](1.1,4.0)(1.1,3.0)(1.5,1.5)(1.6,1)(1.8,1)(2,1)
\psBezier5[linewidth=1.5pt](4,1)(4.2,1)(4.4,1)(4.5,1.5)(4.9,3)(4.9,4)
\psline[linewidth=1.5pt, arrows=->](1,1)(1,4)
\psline[linewidth=1.5pt](2,1)(4,1)
\end{pspicture}

\end{document}

Herbert


More information about the PSTricks mailing list