[R] Border line width?

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jun 19 09:33:35 CEST 2006


On Mon, 19 Jun 2006, Atte Tenkanen wrote:

> Is there some way to change the line widths of plot borders?
> I couldn't find any parameters for that purpose.

Do you mean the (optional) box?  Use bty="n" and then box(lwd=).

plot(1:10, bty="n")
box(lwd=3)

works for me.

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



More information about the R-help mailing list