Specify range of gradient when plotting lines

Pick two named purple colors from here for the end points, and pass it to:

color = cgrad([:lavender, :purple4])
1 Like