Re: [R] Making several plots using a loop function

2014-06-24 Thread Frede Aakmann Tøgersen
[R] Making several plots using a loop function Hi all, When making a bunch of plots using a loop function, how to add title to reflect different plots. Specifically, for the code below, I generated 9 plots. I would like to add a title to each plot. For example, the titles will be respectively, plo

Re: [R] Making several plots using a loop function

2014-06-24 Thread Sarah Goslee
What about title(paste("plot", i)) ? Sarah On Tue, Jun 24, 2014 at 9:17 AM, li li wrote: > Hi all, >When making a bunch of plots using a loop function, how to add title to > reflect different plots. > Specifically, for the code below, I generated 9 plots. I would like to add > a title to

Re: [R] Making several plots using a loop function

2014-06-24 Thread Kehl Dániel
[R] Making several plots using a loop function Hi all, When making a bunch of plots using a loop function, how to add title to reflect different plots. Specifically, for the code below, I generated 9 plots. I would like to add a title to each plot. For example, the titles will be respectively, plot1,

[R] Making several plots using a loop function

2014-06-24 Thread li li
Hi all, When making a bunch of plots using a loop function, how to add title to reflect different plots. Specifically, for the code below, I generated 9 plots. I would like to add a title to each plot. For example, the titles will be respectively, plot1, plot 2, … plot 9. Thank you very much!