ix = abs.(x) .< 1 plot(x[ix], y[ix], fillrange = zero(x[ix]), fc=:blues) plot!(x, y, grid=false, lc=:black, widen=false)