[R] one legend for multiple plots

2006-02-12 Thread Lucy Crooks
Does anyone know how to make one legend above the plots drawn using par(mfrow=c(1,2)), ie in the margin? All I've managed is to put a legend inside the plot region of one graph. Although I could write text in the margin I don't know how to draw lines in the margin if I were to construct the

Re: [R] one legend for multiple plots

2006-02-12 Thread Uwe Ligges
Lucy Crooks wrote: Does anyone know how to make one legend above the plots drawn using par(mfrow=c(1,2)), ie in the margin? All I've managed is to put a legend inside the plot region of one graph. Although I could write text in the margin I don't know how to draw lines in the margin if