s-news
[Top] [All Lists]

[S] Trellis, Postscript, and Troublesome Color

To: s-news@wubios.wustl.edu
Subject: [S] Trellis, Postscript, and Troublesome Color
From: "Eugene M. Martin" <emmartin@ufl.edu>
Date: Mon, 20 Sep 1999 17:36:45 -0400
Sender: owner-s-news@wubios.wustl.edu
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

<Prev in Thread] Current Thread [Next in Thread>
  • [S] Trellis, Postscript, and Troublesome Color, Eugene M. Martin <=