[R] x labeling in an interaction.plot

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Jun 1 22:22:57 CEST 2002



Antonio Olinto wrote:
> 
> Dear R-Users,
> 
> Is it possible to omit the automatic x labeling in an interaction.plot?
> 
> xaxt="n" doesn't seem to work. Also I tried to set col.axis="white" but it
> changes only y annotation color.


Citing myself, on 8 Feb 2002 I wrote in "[Rd] interaction.plot (with
misplaced legend) (PR#1305)":

"[...] for the x-axis annotation mtext() is used. I'd suggest to change
line 35:
  mtext(xlabs, 1, at = xvals) # old
to
  axis(1, at = xvals, labels = xlabs, ...) # new"

This would solve a couple of inconsistencies in interaction.plot().


Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list