Hello, I frequently use stripchart to summarise data. Recently I wished to plot a stripchart on a log scale, so modified stripchart locally. The change is small, just adding log="" to the function call and then changing line 42 of src/library/base/R/stripchart.R from: plot(xlim, ylim, type="n", ann=FALSE, axes=FALSE) to: plot(xlim, ylim, type="n", ann=FALSE, axes=FALSE, log=log) Could I request this be added? If so, I''d be happy to send a patch for the .R and .Rd files. boxplot() already offers the log argument, so I hope this is a reasonable and useful request. Stephen
ripley@stats.ox.ac.uk
2003-Mar-30 18:59 UTC
[R] Suggestion: add log argument to stripchart
FYI, feature-freeze on R 1.7.0 was last Wednesday, so your timing is singularly unfortunate. Please send this as a wishlist item to R-bugs, as otherwise it is likely to get lost. On Sun, 30 Mar 2003, Stephen Eglen wrote:> Hello, > > I frequently use stripchart to summarise data. Recently I wished to > plot a stripchart on a log scale, so modified stripchart locally. The > change is small, just adding log="" to the function call and > then changing line 42 of src/library/base/R/stripchart.R from: > > plot(xlim, ylim, type="n", ann=FALSE, axes=FALSE) > > to: > > plot(xlim, ylim, type="n", ann=FALSE, axes=FALSE, log=log) > > Could I request this be added? If so, I''d be happy to send a patch > for the .R and .Rd files. boxplot() already offers the log argument, > so I hope this is a reasonable and useful request.-- 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