Ng Stanley wrote: > Hi, > > I am plotting 5 charts using p <- par(mfrow = c(3, 2), how can I place my > legend in the last region ? I don't wan to put it into the margin.
You should be able to do a blank plot, then plot the legend. For example, > par(mfrow=c(3,2)) > for (i in 1:5) plot(1) > plot(1, axes=F, xlab="", ylab="", type="n") > legend("center", pch=1, legend="points") Duncan Murdoch ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.