Thanks a lot, John, Gavin; Hadley and Greg, for your helpful comments
and suggestions. I finally achieved what I wanted using the suggested
method from Gavin with corrections from Greg.
Out of curiosity (and interest to learn): Hadley, how would you
simplify that code using lattice or ggplot and h
or legend
> legend(tmp2$x, tmp2$y, legend = c("Type 1", "Type 2"),
> pch = 1:2, col = 1:2, ncol = 2, xjust=0.5, yjust=0.5)
> par(op)
>
>
> Hope this helps,
>
>
> --
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermounta
s,
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gavin Simpson
> Sent: Wednesday, March 05, 2008 11:43 AM
> To: Georg
On Wed, Mar 5, 2008 at 8:28 AM, Georg Otto <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to generate a figure of 9 plots that are contained in one
> device by using
>
> par(mfrow = c(3,3,))
>
> I would like to have 1 common legend for all 9 plots somewhere outside
> of the plotting area (as
On Wed, 2008-03-05 at 15:28 +0100, Georg Otto wrote:
> Hi,
>
> I am trying to generate a figure of 9 plots that are contained in one
> device by using
>
> par(mfrow = c(3,3,))
>
> I would like to have 1 common legend for all 9 plots somewhere outside
> of the plotting area (as opposed to one leg
?mtitle should do it.
--- Georg Otto <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to generate a figure of 9 plots that are
> contained in one
> device by using
>
> par(mfrow = c(3,3,))
>
> I would like to have 1 common legend for all 9 plots
> somewhere outside
> of the plotting area (as op
Hi,
I am trying to generate a figure of 9 plots that are contained in one
device by using
par(mfrow = c(3,3,))
I would like to have 1 common legend for all 9 plots somewhere outside
of the plotting area (as opposed to one legend inside each of the 9
plots, which the function legend() seems to ge
7 matches
Mail list logo