Re: [R] Loop for main title in a plot

2013-04-25 Thread Blaser Nello
Of Eva Günther Sent: Donnerstag, 25. April 2013 06:22 To: r-help@r-project.org Subject: [R] Loop for main title in a plot Hi all, I have a problem in including my plot in a loop. Here is a simple example for one plot: # Plot simple graph with super- and subscript a<-c(1,2,3,4) b<-c(1,2,3,

Re: [R] Loop for main title in a plot

2013-04-24 Thread David Winsemius
On Apr 24, 2013, at 9:22 PM, Eva Günther wrote: > Hi all, > > I have a problem in including my plot in a loop. Here is a simple example > for one plot: > > # Plot simple graph with super- and subscript > a<-c(1,2,3,4) > b<-c(1,2,3,4) > > plot(x=a,y=b, >ylab=expression(paste("Apple"["P"])),

[R] Loop for main title in a plot

2013-04-24 Thread Eva Günther
Hi all, I have a problem in including my plot in a loop. Here is a simple example for one plot: # Plot simple graph with super- and subscript a<-c(1,2,3,4) b<-c(1,2,3,4) plot(x=a,y=b, ylab=expression(paste("Apple"["P"])), xlab=expression(paste("Banana"^"th")), main=expression(paste(i