R-helpers,
I'm looking to set up multi-screen plots with layout() or
par(mfrow/mfcol = ) but I'm not sure if there's an easy way to go
backwards among the panels. E.g.
layout(1:2)
plot(1:4)
plot(1:8)
Here I'd like to put some more on the 1:4 plot (e.g., some points or a
line or a legend) but
?par
read about mfg
which allows you to index into the arrangement set by mfrow and mfcol
Rich
On Wed, Jun 20, 2012 at 5:27 PM, R. Michael Weylandt
michael.weyla...@gmail.com wrote:
R-helpers,
I'm looking to set up multi-screen plots with layout() or
par(mfrow/mfcol = ) but I'm not sure if
That's fantastic Richard and much appreciated. It doesn't seem to play
intuitively with layout() [and isn't documented to do so] but do you
happen to know an alternative that works nicely with layout()?
I'm trying to wrap my head around something like this:
layout(matrix(c(1,1,2,3), byrow =
FYI, from help(layout, package=graphics):
[...]
Warnings
These functions are totally incompatible with the other mechanisms for
arranging plots on a device: par(mfrow), par(mfcol) and split.screen.
/Henrik
On Wed, Jun 20, 2012 at 3:17 PM, R. Michael Weylandt
michael.weyla...@gmail.com wrote:
4 matches
Mail list logo