X11 Device Driver
Friedrich Leisch
Friedrich.Leisch@ci.tuwien.ac.at
Fri, 2 Apr 1999 09:05:47 +0200 (CEST)
>>>>> On Fri, 2 Apr 1999 16:35:30 +1200 (NZST),
>>>>> Ross Ihaka (RI) wrote:
RI> I have made some modifications to the X11 graphics driver so that it is
RI> more flexible about its use of colors. I have added a new parameter to
RI> the X11/x11 function which controls this. The parameter is currently
RI> called "colormodel" and works as follows:
RI> colormodel = 0 Monochrome graphics
RI> colormodel = 1 Grayscale (256 shades)
RI> colormodel = 2 Pseudocolor1
RI> colormodel = 3 Pseudocolor2
RI> colormodel = 4 Truecolor
RI> Pseudocolor1 allocates as big a color cube as possible and then
RI> approximates requested colors with colors from the cube.
don't know if that's possible, but how hard would it be to optionally
limit the size of the cube? I have something in mind like only
allowing 64 colors or whatever to be able to start other applications
(and leaving them some room in the colormap) after R has started.
Netscape.maxImageColors worked always fine for me ...
.f
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._