How do I show increasing gradient in hline and vline in gr. For example, here is some code
pl = plot( xlim = (0,5),ylim = (0,5), legend = false ) vlcolor = palette([:lightgreen, :green],5) hlcolor = palette([:lightgray, :black],5) vline!(1:4, color = vlcolor[1:4],line = (3,.9,:dot)) hline!(1:4, color = hlcolor[1:4],line = (2,.9)) display(pl) display(vlcolor) display(hlcolor[1:4]) savefig("plot") savefig("plot.pdf")
I want darker ones to the top and to the right. So, if I have another plot to the right with increasing x values, the “xgrid” would continue to get darker. Similarly, if I have a plot on top of it.