[R] Question on big JPG plots in function warpping format

2006-02-10 Thread alexfang
Hello: I have problems generating big JPG plots in functions. the following code runs fine in the script: runs fine in script, generate 40k "test1.jpg" in the given directory plotPlatesAlong <- c(1:5) plotDirPath <- paste(dataPath, "OutputPlots\\", sep="") filename <- paste(plotDirPath,

[R] For multiple trellis plot, how to add a global title

2005-11-02 Thread alexfang
I use print.trellis() to draw multilple plots in a single frame, but than how could add a global title and subtitle to the final plot. Thank you! eg code: print(position=(0,0,1,0,5), more=T, xyplot(...)) print(position=(0,0.5,1,0,1), more=F, xyplot(...)) # Will produce error if I put the