Re: [Rd] stripchart ignores main title option (PR#12202)

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri, 08 Aug 2008 07:00:55 +0100 (BST)

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) (130.216.51.81)
>
>
> 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
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri 08 Aug 2008 - 06:04:52 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 08 Aug 2008 - 07:36:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive