Skip to content
Prev 387627 / 398502 Next

add cex.axis =1.2 to qqunif.plot from lattice library

On Sat, 27 Mar 2021 21:26:53 +0000
Yuan Chun Ding <ycding at coh.org> wrote:

            
Yes indeed things are different.  Read e.g. the help for xyplot() --- a bit
opaque until you get used to it, but the information actually *is* there.

Your example is *far* too complicated for anyone to wade through,
but here is a toy example just using xyplot:

set.seed(42)
x <- 1:10
y <- rnorm(10)
library(lattice)
# Compare:
print(xyplot(y ~ x))
# with:
print(xyplot(y ~ x,scales=list(cex=2)))

To get an overall title you can use "main=", just like in base graphics.
E.g.:

print(xyplot(y ~ x,scales=list(cex=2),
             main="This is a load of dingoes' kidneys."))

If you can't get something like this to work in the context
in which you are interested, then please provide a *minimal* (simple!)
reproducible example illustrating the problem, and someone on this list
will probably be able to help you.

cheers,

Rolf Turner