Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • $\begingroup$ The suggestion to do #/cm is nice! How could I do that with Blend? I wish I could get Black for 0 values, and Yellow for 1 contributions, and something between with Red. With your suggestion I get something between black, purple and white. Something like Blend[{Black,Red,Yellow} (Something related with the poits DATA[[All,3]] here #) ]/[#/cm], that I could not find to work $\endgroup$ Commented Mar 4, 2022 at 18:46
  • $\begingroup$ I've tring to use ColorFunction->(Blend[{Black, Red, Orange}, #/cm] &) and works quite well! And have used BarLegend[{(Blend[{Black, Red, Orange}, #] &), {0, 1}}] without #/cm, works pretty well too, thank you for your help! $\endgroup$ Commented Mar 4, 2022 at 20:26