[Rd] axTicks.Rd documentation bug
bbolker at gmail.com
Fri Feb 4 16:44:12 CET 2011
usr: numeric vector of length four, defaulting to ‘par("usr")’
giving horizontal (‘x’) and vertical (‘y’) user coordinate
but this is not how the function is implemented -- in fact 'usr' should
be a vector of length two corresponding to the appropriate elements of
par("usr") [1:2 if side is 1 or 3, 3:4 if side is 2 or 4].
A patch for src/library/graphics/man/axTicks.Rd against the latest SVN
is attached (I hope it makes it through).
I also included an extended example of how to use axTicks without
reference to an existing plot in the logarithmic axis case: it took me
quite a bit of digging in documentation and source code to figure out
how to do this for myself, so I think it would be useful to others ...
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the R-devel