Message-ID: <200401160131.09382.deepayan@stat.wisc.edu>
Date: 2004-01-16T07:31:09Z
From: Deepayan Sarkar
Subject: Lattices: Cloud: Background
In-Reply-To: <74E242B6968AA0469B632C5A3EFC1EFD03D57026@nt207mesep.corporate.h dwa.health.wa.gov.au>
On Friday 16 January 2004 00:51, Mulholland, Tom wrote:
> When I first started using lattice I found the colour schemes a bit
> confusing. So eventually I came up with the colours I wanted.
>
> The code below was one of those attempts. One thing that happened
> however was that I kept shutting down the graphics window that pops up
> and the colours would revert to their default. So if you run all of the
> code the first window will pop up correctly the system will pause for 5
> seconds, close the window and run the code again. When the code runs it
> reverts to the grey background.
FYI, if you want to avoid resetting the scheme everytime you open a device,
you could consider using options("lattice.theme"). The help page for
trellis.device explains this (clearly enough, I hope). Note that
trellis.device() is called automatically when needed if a device is not
already open.
Deepayan