[R] Problem with interaction.plot()

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Feb 8 14:07:25 CET 2002


Kaiya Liu wrote:
> 
> Hi,
> 
> I encountered a problem when I did interaction plots using the
> interaction.plot() function. The labels for the trace factor appeared on
> the plot when I did the plots in separate windows, but disappeared/cut off
> when multiple plots were placed in one window. Can anybody help me?

The calculation of the width of the legend is really difficult in that
case in goes wrong, because it is based on heuristics for a single plot.
I'll send a bug report in a few minutes.

As a workaround I'd suggest to use interaction.plot(..., legend=FALSE)
and add a legend with legend() manually.

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