gr arrow tail

This commit is contained in:
Thomas Breloff 2016-11-02 14:09:31 -04:00
parent 75f1cf8cbb
commit 281b92c262

View File

@ -164,7 +164,7 @@ function gr_polyline(x, y, func = GR.polyline; arrowside=:none)
GR.drawarrow(x[iend-1], y[iend-1], x[iend], y[iend])
end
if arrowside in (:tail,:both)
GR.drawarrow(x[2], y[2], x[1], y[1])
GR.drawarrow(x[istart+1], y[istart+1], x[istart], y[istart])
end
else
break