[R] smoothing plot(x, type ='l')

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jun 7 13:00:06 CEST 2006

On Wed, 7 Jun 2006, Federico Calboli wrote:

> Hi All,
> I am using plot(x, type = 'l') for some plotting, but I would like 
> rounded edges rather than jagged edges in the plot (purely for aestetic 
> reasons).
> How could I achieve that?

It I understand you aright, that is done by par(lend) but the default is 
"round".  So maybe your graphics device (unstated) on your OS (unstated) 
does not support this.

We need more details, and preferably a simple reproducible example.

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