On Thu, 1 Dec 2005, Marc Schwartz (via MN) wrote: > On Thu, 2005-12-01 at 10:19 -0600, Paul Roebuck wrote: >> On Thu, 1 Dec 2005, Sebastian Leuzinger wrote: >> >>> 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. >> >> Something wrong with setting them to null string? >> >>> plot(rnorm(20), xlab="", ylab="") > > That's not what Sebastian requires. > > He would like the axis tick marks to be drawn, but without values at the > tickmark locations, as opposed to the axis labels. > > There is not a direct way, but a possible workaround: > > plot(rnorm(20), col.axis = "white") > > This sets the tick mark label color to be the same as the background, > thus unseen.
However, if you use col.axis="transparent" or NA, if does directly suppress drawing the labels. -- Brian D. Ripley, [EMAIL PROTECTED] 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-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html