[R] Suppressing tick labels?

Graham Smith myotisone at gmail.com
Tue Dec 2 21:26:03 CET 2008


I am trying to suppress the tick labels on the x-axis of the following:

barchart(richness[Wood=="V"]~Sample[Wood=="V"])

I have tried col.axis="white"

I have tried removing the axis all together with axes=FALSE

I have tried xaxt="n"

I have also tried labels=c"(label1", "label2") to replace the default
labels, based on reading that the defaults are only printed if an
alternative isn't specified.

But none of these is making any difference to the graphical output. I
know these don't all do exactly the same thing, but I have just been
trying to find something that makes any change in the right direction
that might help me find a solution. Can any one help with this

I am using Ubuntu 8.04 and R 2.8.0.

Many thanks,

Graham



More information about the R-help mailing list