search for: plot_

Displaying 2 results from an estimated 2 matches for "plot_".

Did you mean: plot
2013 May 21
2
problems with saving plots from loop
...problem (I was searching on web, but without success): I want to plot dose-response models for one concentration and many responses (lets say 200) and I don?t want to do it manually. So I use loop for this: for (i in mydata[,2:201]){ #first column is concentration pdf(paste("plot_",i,".pdf",sep = "")) plot(i~concentration,log='x') ht <- seq(0,5000,1) lines(ht, predict(selectedmodel, data.frame(concentration = ht))) #I previously selected appropriate model for...
2004 Mar 15
11
creating a ps. file
Dear all I wrote a routine. At the end of each cycle of the loop I would like to save the result (plot) in a postcriptfile. Of course if I just use dev.print in the following way: dev.print(device=postcript, 'c:/Rfigures/plot_1.ps") I overwrite my results with the second cycle of the loop. I suppose there is a way to define the file name so that several plots are created(plot_1,plot_2...). Could you give me an advice? Thanks a lot Best Regards Mike --- ---