221221 timeIdx::Union{Nothing,Int64} = nothing,
222222 figsize::Union{Nothing, Tuple{Int64, Int64}} = nothing,
223223 lengthscale::Float64 = 0.00001,
224- arrowsize ::Float64 = 0.5,
224+ tiplength ::Float64 = 0.5,
225225 ) -> Figure
226226
227227Plot quivers for glacier variables.
@@ -235,7 +235,7 @@ Plot quivers for glacier variables.
235235 which selects the last element available.
236236- `figsize::Union{Nothing, Tuple{Int64, Int64}}`: Size of the figure.
237237- `lengthscale::Float64`: Lengthscale of the arrows in the quiver plot.
238- - `arrowsize ::Float64`: Arrow size in the quiver plot.
238+ - `tiplength ::Float64`: Length of the arrow in the quiver plot.
239239
240240# Returns
241241- A plot of the glacier quivers.
@@ -247,7 +247,7 @@ function plot_glacier_quivers(
247247 timeIdx:: Union{Nothing,Int64} = nothing ,
248248 figsize:: Union{Nothing, Tuple{Int64, Int64}} = nothing ,
249249 lengthscale:: Float64 = 0.00001 ,
250- arrowsize :: Float64 = 0.5 ,
250+ tiplength :: Float64 = 0.5 ,
251251)
252252 figKwargs = isnothing (figsize) ? Dict {Symbol,Any} () : Dict {Symbol,Any} (:size => figsize)
253253
@@ -304,7 +304,7 @@ function plot_glacier_quivers(
304304
305305 positions = Point2f .(reshape (X,:), reshape (Y,:))
306306 directions = Vec2f .(dataVx, - dataVy)
307- arrows ! (ax, positions, directions; arrowsize = arrowsize , lengthscale= lengthscale)
307+ arrows2d ! (ax, positions, directions; tiplength = tiplength , lengthscale= lengthscale)
308308
309309 ax. title = " $title "
310310 ax. xlabel = " Longitude"
0 commit comments