[R] suppress tick labels

Jari Oksanen jari.oksanen at oulu.fi
Thu Dec 1 17:53:04 CET 2005


On 1 Dec 2005, at 17:58, Sebastian Leuzinger wrote:

> hello,
> is R able to suppress tick labels (not tick marks)? i know there is a 
> way
> around this with axes=F and then draw new axes, but it would be easier 
> to
> suppress them in the first place.
>
You mean the numbers below or beside each tick? Looking at ?axis 
suggest that you could  set labels=FALSE to suppress those. It indeed 
seems to work, although you get a warning for each omitted tick label 
(but you must get used to warnings if  you plot()). Try:

plot(rnorm(20), labels=FALSE)

cheers, jari oksanen
--
Jari Oksanen, Oulu, Finland




More information about the R-help mailing list