suppress tick labels
On Thu, 2005-12-01 at 18:33 +0000, Prof Brian Ripley wrote:
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.
Prof. Ripley, Thanks for point that out, as I note Sundar did as well. I had forgotten about using 'transparent'. Thanks, Marc