Displaying 1 result from an estimated 1 matches for "plotvariable".
2006 Feb 10
1
Question on big JPG plots in function warpping format
...in script, generate 40k "test1.jpg" in the given directory
plotPlatesAlong <- c(1:5)
plotDirPath <- paste(dataPath, "OutputPlots\\", sep="")
filename <- paste(plotDirPath,"test1.jpg", sep="")
jpeg(file=filename)
plotHeatTrellis(dataPath, plotVariable = "Raw", plotPlatesAlong)
# here plotHeatTrellis() generates a complicate plot, but it works
dev.off()
#### End of script
but if I wrap it in a function, it doesn't work.
######## put it in a function and run test(dataPath)
######## it will make "test1.jpg" in the giv...