Re: [R] how to change bar colours in plot.stl

From: Prof Brian Ripley <>
Date: Tue 19 Jul 2005 - 00:54:19 EST

On Mon, 18 Jul 2005, Michael Townsley wrote:

> Dear helpeRs,
> Is it possible to change the shading colour of the range bars in the plot
> generated by plot.stl? By default they are grey, but I would prefer them
> white (I am preparing some graphics for a powerpoint presentation so I'm
> inverting all colours).
> As far as I can see plot.stl allows you to turn off the range bars, but
> nothing about the shading colour. I tried to look at the function by typing:
> > plot.stl
> Error: Object "plot.stl" not found
> but received an error message.

So use

         getS3method("plot", "stl")

to see it. "light gray" is hardcoded, so you will need to make a copy, edit it, and use the edited copy.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Tue Jul 19 00:59:44 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:46 EST