[R] Add a legend to a pairs plot??
ligges at statistik.uni-dortmund.de
Thu Jul 10 11:34:31 CEST 2003
Toby.Patterson at csiro.au wrote:
> Can someone tell me if it is possible to add a legend to a plot produced
> with pairs()?
It is possible, but it depends on where you want the legend(s) to be
placed. One for each variable (argument diag.panel helps inthis case)?
Just one for the whole pairs() plot (Divide the plot or just plot the
lower triangle and use the upper for a legend, e.g.)?
> I have an example akin to plotting the iris data given in the pairs help
> and would like to show what the symbols refer to somewhere.
> R-help at stat.math.ethz.ch mailing list
More information about the R-help