[Rd] stripchart ignores main title option (PR#12202)
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri Aug 8 08:00:55 CEST 2008
Strictly this is correct:
...: additional parameters passed to the default method, or by it
to 'plot' and 'axis' to control the appearance of the plot.
Note, not title(), and plot() is called with ann=FALSE. So the fix is to
call title() separately.
It should now be safe to pass '...' to title() (it used not to be) so I'll
add this a a new feature in 2.8.0.
On Thu, 7 Aug 2008, j.curran at auckland.ac.nz wrote:
> Full_Name: James Curran
> Version: 2.7.1
> OS: Windows XP/Vista
> Submission from: (NULL) (22.214.171.124)
> stripchart ignores the main title option. For example, in the documentation
> stripchart(decrease ~ treatment,
> main = "stripchart(OrchardSprays)",
> vertical = TRUE, log = "y", data = OrchardSprays)
> does not yield a plot with "stripchart(OrchardSprays)" at the top of the plot.
> Looking at the source code of stripchart.default there is:
> title(xlab = xlab, ylab = ylab)
> I would have thought the main would have got wrapped up in the ... that is sent
> to the plot command, but then I don't know enough about it.
> R-devel at r-project.org mailing list
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-devel