Displaying 1 result from an estimated 1 matches for "greenred2".
Did you mean:
greenred
2001 Aug 08
1
Strategy for creating a palette...?
...tones and red tones, and a relatively sharp break between them. This break
will signify a rejection region for a test.
I've spent all evening, er, night trying to tune this, but it's still
ugly. My best shot so far is this:
greenred <- palette(rgb(exp(-(0:255)/80), exp(-(0:255)/80), 0))
greenred2 <- greenred[c(1:160, 220:256)]
and use greenred2.
Any ideas...? Anybody got a pretty palette for this purpose? Also, I'd
like to tune the palette so that the break between green and red happens
at a value of e.g. 0.05. How would I do that?
Best,
Kjetil
--
Kjetil Kjernsmo
Graduate astrono...