In short, I want to create a density plot but with points. So I do a pointplot and I want to color it according to the value of a third function.
So let's say I do:
And I want a plot like:
but with a color corresponding to the gradient of z1.
What I can do is something like:
>pointplot([x1,y1], colorscheme=["valuesplit", z1, [0..0.5="Black",0.5..1="RoyalBlue"]])
but that's not as pretty as it could be. So is there a way to do something like colorscheme=["zgradient", z1]? This doesn't work because zgradient expects its first argument to be colors and then you can add markers, but they apply to the function you plot, not to a third function.