[R] Plots inside a Plot
Barry Rowlingson
b.rowlingson at lancaster.ac.uk
Mon Nov 1 12:20:48 CET 2010
On Mon, Nov 1, 2010 at 11:10 AM, Uwe Ligges
<ligges at statistik.tu-dortmund.de> wrote:
> Not in R base graphics, but you can do easily with the grid package.
You can do anything in R base graphics! Sometimes it's been done for
you, sometimes you just have to draw the whole thing yourself using
lines().
In this case, someone has already done it for you. subplot() in package Hmisc:
> require(Hmisc)
> plot( 11:20, sample(51:60) )
> subplot( hist(rnorm(100)), 15, 55)
Barry
More information about the R-help
mailing list