[19272] in s-news-athena
[S] Trellis, Postscript, and Troublesome Color
daemon@ATHENA.MIT.EDU (Eugene M. Martin)
Mon Sep 20 17:55:20 1999
Message-Id: <37E6A8ED.E63A7229@ufl.edu>
Date: Mon, 20 Sep 1999 17:36:45 -0400
From: "Eugene M. Martin" <emmartin@ufl.edu>
Mime-Version: 1.0
To: s-news@wubios.wustl.edu
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
S-plus Gurus,
I am using S-plus Version 3.4 Release 1 on Unix. I have the
following in a source file:
for (i in 1:20){
trellis.device(device="postscript", color = T, printer.type=
"postscript", onefile=F, ...)
graph _ xyplot( ...)
print(graph)
dev.off
}
The first 3 graphs print out with the normal trellis coloring: a
magenta line for one group of data and a cyan line for the other
group of data. Graphs from data at i = 4, 6, 8, 9, 10, ... appear with
different line colors: green and magenta. I have tried setting 'color'
equal to objects within S-plus (Ex. 'colorps.trellis[,2:4]') and
matrixes
acquired through the function 'xgetrgb'. Alas, nothing seems to work.
Any advice on how to keep the trellis coloring consistent?
Thank you,
Eugene M. Martin
emmartin@ufl.edu
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news