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. Thanks in advance, MT ------------------------------------------------------------ Dr Michael Townsley Senior Research Fellow Jill Dando Institute of Crime Science University College London Second Floor, Brook House London, WC1E 7HN Phone: 020 7679 0820 Fax: 020 7679 0828 Email: m.townsley@ucl.ac.uk ------------------------------------------------------------ [[alternative HTML version deleted]]
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, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
My thanks to Achim Zeileis and Prof Ripley for their responses. In a very short time I not only had an answer and solved my problem, but also learned something about R that I can employ in other situations. Much appreciated, MT