Fill under line to vertical axis in Plots.jl

anyone tried to plot a line and fill to the y axis using Plots?

similar like this:
image

One suggestion:

using Plots; gr()
y = 0:0.1:4
x = 1.5*(1 .+ sin.(1.5y))
xp = [-1; x; -1]
yp = [minimum(y); y; maximum(y)]
plot(xp, yp, st=:shape, fc=:blues, lw=0, xlims=(-2,4), label=false)
plot!(x,y, lc=:black, label=false)

Plots_gr_vertical_curve_horizontal_fill

1 Like

It does exactly what i want, Thanks.