Vertical and horizonal spans
using Plots
unicodeplots()
vspan
and hspan
can be used to shade horizontal and vertical ranges.
hspan([1, 2, 3, 4]; label = "hspan", legend = :topleft)
vspan!([2, 3]; alpha = 0.5, label = "vspan")
plot!([0, 2, 3, 5], [-1, 3, 2, 6]; c = :black, lw = 2, label = "line")
This page was generated using DemoCards.jl and Literate.jl.