Skip to content

pictex graphics device and color

2 messages · Steve.Rowley@sanofi-aventis.com, Brian Ripley

#
Is the pictex graphics device known not to support color?

In R 2.0.1 Patched (2004-11-17), it produced very pretty output:

## pictex(file = "modern-metatheonomy.tex", bg = "transparent");
## plotData(data);
## dev.off()

... but it appears to have ignored all color information.
__________
Steve Rowley <steve.rowley at sanofi-aventis.com> Cambridge, MA: (617) 768-4054 ICQ: 52-377-390
#
On Thu, 31 Mar 2005 Steve.Rowley at sanofi-aventis.com wrote:

            
Yes, amongst other settings like lwd and metric info for character output.

If you read the code you will see that the arguments fg and bg are
ignored.  In any case, there is no obligation for a graphics device to
support transparency, and in particular pictex() predates its introduction
into R.

As far as I am aware, pictex is a plain TeX package (that also
more-or-less works in LaTeX: it is barely mentioned in the LaTeX Companion
referred to on the help page, nor covered in any detail in the LaTeX
Graphics Companion), and plain TeX per se does not support colour.