What equations are used in grbformulae to convert into RGB values

What equations are used in grbformulae to convert into RGB values

Post by 4nec » Tue, 15 Jun 2004 21:10:47


Maybe, I did not read the help carefully enough...

I would like to know what equations are used to
convert any gray-scale value into RGB color values
using the three numbers as specified in the
rgbformulae function.

Without having to investigate the sources, maybe
there is someone who can say more about this,

Thanks in advance,
Arie
 
 
 

What equations are used in grbformulae to convert into RGB values

Post by Petr Mikul » Tue, 15 Jun 2004 21:22:13

> Maybe, I did not read the help carefully enough...

Please do so.


Please investigate gnuplot help:
help palette rgbformulae

=>

For `rgbformulae` three suitable mapping functions have to be chosen. This
is done via `rgbformulae <r>,<g>,<b>`. The available mapping functions are
listed by `show palette rgbformulae`.

---
PM