search for: rmsd_open_closed

Displaying 1 result from an estimated 1 matches for "rmsd_open_closed".

2010 Jan 20
2
legend in multiple plot
...of the margins of the last plot. While what I want is to get this legend outside the margins. Or, extend the margins, without making the plot itself shrink... Any hints or tips will be greatly appreciated. Best regards, Lars ------ Here is my suggestion, which does not work too well: pdf("rmsd_open_closed.pdf", height=9) opar <- par(mfcol = c(4,1), mar=c(4,4,2,1) ) plot() plot() plot() par(mar=c(7,4,2,1)) plot() par(xpd=TRUE) legend(0, 8, c("black line", "red line"), col=c(1,2), lty=c(1,1)) par(opar) dev.off() [[alternative HTML version deleted]]