how do i create my own color map for 2D-scatter plot.
such that all the values of z
- z <= 10 ------- take green color
- 10 < z <= 25 ----- yellow color
- 25 < z <= 50 ----- orange color
- z > 50 ----- red color
i want to create a color map obeying such condition and save it , so that i can use with whatever z i obtain in future.
as an example i have attached x,y,z