|
From: Tait <gnu...@t4...> - 2011-12-14 21:45:59
|
> set term foo monochrome (1,0.8,0.5) > set term foo monochrome red > [above is equivalent to "set term foo monochrome (1,0,0)"] > set term foo monochrome sepia > > Thoughts? My first thoughts are, "is that useful?" "is it necessary?" But if we do go that route, I see no reason to limit the possibilities to a linear arithmetic weighted average. If one wants a nonlinear dependence on one or more of the color channels, the more general solution would be something like "set term foo monochrom using ((2.0*$1**2+$2+$3)/(2*255**2+2*255))" or replace 255 with 1.0 if we're using a 0-1.0 scale instead of 0-255. I am assuming $1, $2, $3 are red, green, blue respectively. |