Skip to content
Prev 207022 / 398503 Next

Greek letters on a multi-line plot title

Jason Rupert wrote:
This code works for me and should give the general idea. It is taken 
from code I use for testing in one of my packages.

### Change spacing to allow for multiline title
par(oma=c(2, 0, 4, 0))
### Some greek letters
mu <- 0
alpha <- 1
beta <- 2
delta <- 3
lambda <- 4
### Some graph or other
plot(1:10,1:10)
mtext(expression(bold("Meaningless Title")),
       line=3.5,cex=1.15)
mtext(bquote(paste(lambda==.(lambda),", ",
                    alpha==.(alpha),", ",
                    beta==.(beta),", ",
                    delta==.(delta),", ",
                    mu==.(mu),sep="")),
       line=2.25,cex=1.15)


Best wishes

David Scott