layout() doesn’t cut it, since filled.contour() actually uses layout() to set up the main plot and the legend to the side. I can always get my plots one by one and combine them with some graphics utility, but it would be more efficient to stay in R if I can. Any ideas? Thanks.
layout() doesn’t cut it, since filled.contour() actually uses layout() to set up the main
Share
I would use
levelplotfrom packagelattice. You can get multiple panels, and the plots really look nice.Look at figure 6.9 in chapter 6 of the Lattice book:
http://lmdvr.r-forge.r-project.org/figures/figures.html
That way you are not stuck with hacking the filled contour code. ( I did try searching for something in the rhelp and SO archives and came up empty.)