Re: [R] Alphabetic labels on multi-plot graphics

2011-01-11 Thread Eduardo de Oliveira Horta
Thanks, I wasn't even aware that 'letters' was there. Best regards On Tue, Jan 11, 2011 at 6:08 PM, David Winsemius wrote: > > On Jan 11, 2011, at 2:06 PM, Eduardo de Oliveira Horta wrote: > >> Is there a way to achieve >> >> lbl=c("a", "b", "c", "d") >> >> opar <- par(mfrow=c(2,2), ann=FALSE)

Re: [R] Alphabetic labels on multi-plot graphics

2011-01-11 Thread David Winsemius
On Jan 11, 2011, at 2:06 PM, Eduardo de Oliveira Horta wrote: Is there a way to achieve lbl=c("a", "b", "c", "d") opar <- par(mfrow=c(2,2), ann=FALSE) for (t in 1:4){ plot(seq(from=1,to=2*pi,length=100), sin(t*seq(from=1,to=2*pi,length=100)), type="l") title(main=paste("(", lbl[t], ")", sep

[R] Alphabetic labels on multi-plot graphics

2011-01-11 Thread Eduardo de Oliveira Horta
Is there a way to achieve lbl=c("a", "b", "c", "d") par(mfrow=c(2,2), ann=FALSE) for (t in 1:4){ plot(seq(from=1,to=2*pi,length=100), sin(t*seq(from=1,to=2*pi,length=100)), type="l") title(main=paste("(", lbl[t], ")", sep="")) } without having to use an object like 'lbl'? More generally: is