On Thu, 2006-11-09 at 07:56 -0800, Marc Feuerstein
wrote:> Hi there,
> is there a parameter in stripchart to control if the ticks (in the axis)
are shown or not ?
The only way I can see to do this easily is to set "tcl" to 0 in a par
call, before you do the plotting:
## from example in ?stripchart
opar <- par("tcl" = 0)
with(OrchardSprays,
stripchart(decrease ~ treatment,
main = "stripchart(Orchardsprays)",
ylab = "decrease",
vertical = TRUE, log = "y"))
par(opar)
This is because doesn't have a "..." argument to pass to other
plotting
functions like some plot functions have, and it doesn't have an
'axes'
argument to suppress axis drawing - probably for good reason.
Looking at the internals of stripchart, adding and argument tick = TRUE
to stripchart which is used in call to axis() and Axis() in the code
might do the trick.
>
> Thanks,
> Marc.
HTH
G
--
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
Gavin Simpson [t] +44 (0)20 7679 0522
ECRC & ENSIS, UCL Geography, [f] +44 (0)20 7679 0565
Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk
Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/
UK. WC1E 6BT. [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%