Hi all,
Is it possible to label vectors in a plot rather than in the legend? Here is an example where I would like to label the vectors A and B.
using Plots
plot(
sqrt.([0,.5]),
sqrt.([0,.5]),
xlims = (-1.0, 1.0),
ylims=(-1.0,1.0),
arrow = true,
color = :black,
linewidth = 2,
label = "",
framestyle = :origin,
)
using Plots
plot!(
sqrt.([.5,.5]),
sqrt.([.5,.0]),
arrow = true,
color = :black,
linestyle=:dash,
linewidth = 2,
label = "",
framestyle = :origin,
)