After drawing multiple figures, I want to select an earlier figure to add some
low level commands. Using mfg parameter runs all commands in the most recent
figure only. How can an earlier figure be selected?
Thanks,
Naresh
par(mfrow = c(2, 2))
for (i in 1:4) plot(c(0, 1), c(0, 1), type = "n”)
for (i in 1:2) {for (j in 1:2) text(0.5, 0.5, labels = paste("(", i, ",", j,
")"), mfg = c(i, j, 2, 2))}
#All text is in bottom right figure only
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.