; try line=0.5 or
even line=-1.0.
-Peter Ehlers
- Original Message
From: Jason Rupert
To: Peter Ehlers
Cc: R Project Help ; Me
Sent: Sat, November 21, 2009 12:31:04 AM
Subject: Re: [R] How to add a top level title to multiple plots
Cool.
I ended up with the following:
rect the spelling of Poisson.
--
David
Thanks agian
- Original Message
From: Jason Rupert
To: Peter Ehlers
Cc: R Project Help ; Me
Sent: Sat, November 21, 2009 12:31:04 AM
Subject: Re: [R] How to add a top level title to multiple plots
Cool.
I ended up with the following:
par(mfrow
ct: Re: [R] How to add a top level title to multiple plots
Cool.
I ended up with the following:
par(mfrow = c(2, 2))
# Plot 1
plot(rnorm(10),type="l",col="red")
title(main = list(paste("Normal"),
col="black", cex = 1.0))
# Plot 2
plot(rpois(10, 4),ty
"black")
title(main = list(paste("Uniform"),
col="black", cex = 1.0))
title("Distribution Comparisons", outer = TRUE)
# c(bottom, left, top, right)
par(oma=c(2,2,3,2))
Thanks again.
- Original Message ----
From: Peter Ehlers
To: Jason Rupe
Jason Rupert wrote:
How can I add an overall plot title to these four plots?
I would like to have something that says, "Distribution Comparisons":
title("Distribution Comparisons", outer = TRUE)
But you may have to make room for it with par(oma=...).
-Peter Ehlers
par(mfrow = c(2, 2))
Jason -
I've found the mult.fig.p function in the cwhmisc package
to be very handy for this sort of thing.
- Phil Spector
Statistical Computing Facility
Department of Stati
How can I add an overall plot title to these four plots?
I would like to have something that says, "Distribution Comparisons":
par(mfrow = c(2, 2))
# Plot 1
plot(rnorm(10),type="l",col="red")
title(main = list(paste("Normal"),
col="black", cex = 1.0))
# Plot 2
plot(r
7 matches
Mail list logo