how to customize a color legend with red indicating the max value and blue the min value?
in
Programming Questions
•
1 year ago
May I ask how to create a color legend, or how to color a data set, with red indicating the max value in the sent and blue the min value and green the medium value ...
this type of color legend is widely used in scientific research, sth like the heat map
I tested the following script:
thanks!
- J
this type of color legend is widely used in scientific research, sth like the heat map
I tested the following script:
- colorMode(HSB, 360, 100, 100);
fill(temperature*360,100,100);
thanks!
- J
1