diff --git a/src/backends/gr.jl b/src/backends/gr.jl index 87165997..c12e1f0c 100644 --- a/src/backends/gr.jl +++ b/src/backends/gr.jl @@ -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