[6246] in s-news-athena
Re: Trellis settings
daemon@ATHENA.MIT.EDU (JOLLEY Damien)
Tue Jan 24 06:55:29 1995
To: s-news@utstat.toronto.edu
From: stadjj@luxor.latrobe.edu.au (JOLLEY Damien)
Date: Tue, 24 Jan 1995 10:01:16 GMT
In article <9501230101.AA23162@solum.cbr.soils.csiro.au>,
Paul Gessler <paulg@cbr.soils.csiro.au> wrote:
>
>I am using xyplot to create conditioning plots and am
>calling panel.superpose twice to plot two different factor
>groupings. I see how the superpose.symbol list can be copied
>with the trellis.par.get to see what the current settings are
>but I DON'T understand how to change the current settings so that
>they are used in my panel displays.
>
In your trellis directory, there are a number of lists called
trellis.settings.*
where the '*' is a device-dependent suffix. Each of these is a list
with components named after the various device-specific settings
used by trellis.
You can change any of these simply by an assignment:
> trellis.settings.wingraph$superpose.symbol$pch <- c(char1, char2, ...)
for example, will make a local copy of the list
trellis.settings.wingraph, with the plot characters changed for
superposition. Replace the 'wingraph' reference here if you are
using a different device. Read help(trellis.settings). Two things to note:
1) you need to re-initialize the device in order that your changed
trellis.settings.xxx take effect;
2) the copy of trellis.settings.xxx created above will be ignored in
future sessions should you start Splus from a different place.
Good luck
damien jolley
stadjj@luxor.latrobe.edu.au