Lines with direction (arrow head or something else)

32 views
Skip to first unread message

Mehmet Mert Yıldıran

unread,
Sep 2, 2017, 6:20:38 PM9/2/17
to pyqtgraph
Hi, I'm drawing lines from point to point using this:

plot.plot(x=[2,3], y=[4,6], pen=(195,46,212), symbolBrush=None, symbolPen='w', symbol='h', symbolSize=14, name="connection")

But I want to indicate the direction of the line using arrow heads or gradient color. It doesn't matter, if the person who look at the lines understands that line's direction is point1 to point2 then it's OK.

I know there is an arrow example (examples/Arrow.py) but I want something different. I want traditional lines ending with arrow heads. Is there any option like:
symbolPen='ArrowHead'
??
Reply all
Reply to author
Forward
0 new messages