s-news
[Top] [All Lists]

[S] default Trellis settings

To: s-news@wubios.wustl.edu
Subject: [S] default Trellis settings
From: Max_Kuhn@ms.bd.com
Date: Mon, 28 Jun 1999 08:23:39 -0400
Sender: owner-s-news@wubios.wustl.edu



From: Max Kuhn@BDX on 06/28/99 08:23 AM

Can anyone tell me how to change the default point and line colors for
command-line Trellis graphics, such as xyplot and dotplot? The default on my
machine (NT with V 4.5 R1) is to make points and lines a cornea-damaging cyan.

I have seen the code in the Trellis user's manual, such as

> trellis.device(postscript, color = T)
> plot.symbol <- trellis.par.get("plot.symbol")
> plot.symbol

and the change can be made using  trellis.par.set("plot.symbol").

This works fine for each individual graphsheet or trellis.device. However, I
would like to change the *default* traits so that when I start a graphics
device, the colors are already changed so that I don't have to alter anything.

I realize that I could just write another function that calls the graphics
device and makes the change, but I would rather directly call xyplot(...).

I hope I haven't missed anything obvious. Thanks in advance.

Max


-----------------------------------------------------------------------
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>