[pstricks] Arrows with Bezier Curves

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Mon Jun 3 00:24:04 CEST 2013

(My apologies for the earlier, premature post).
I want to draw curves with specified asymptotes (for which I am using Bezier#), with directions shown by arrowheads.

The following source code

\psline[linewidth=1.5pt, arrows=->](1,1)(1,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)

yields the output shown in the attachment.

Everything is fine, except that the arrow, which should be at the top left
of the curved line, is instead pointing the other way, at the juncture of the first Bezier curve with the horizontal segment.
If I put the option arrows =->, I get no arrow at either end (even if I make sure the box for the picture is higher than
the top of the curves).  The first behavior seems to me wrong (doesn't the curve begin at the first point listed, and
doesn't the arrow designation <- mean you put the arrow at the start of the curve, pointing back?  The second is no better (though I expected it to also reverse start and end of the curve).

An annoyance, but if someone has a suggestion, I am all ears.

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Beziertest.pdf
Type: application/pdf
Size: 4813 bytes
Desc: Beziertest.pdf
URL: <http://tug.org/pipermail/pstricks/attachments/20130602/3e52bdc4/attachment-0001.pdf>

More information about the PSTricks mailing list