Say that I have defined a line:
using Plots x_vals = 1:10 y_vals = sqrt.(x_vals) plot(x_vals, y_vals)
Is there a way that I can color the plot plane, so that the area below the line have one color and the are below have another one?
The solution is to use the fillrange kwarg to plot.
fillrange
plot