saveSpplotFromAFMImage {AFM} | R Documentation |
save a Lattice (trellis) plot of an AFMImage
using the spplot
method of the sp package.
This function is used to evaluate visually the quality of the predicted surface when a variogram model is used.
saveSpplotFromAFMImage(
AFMImage,
fullfilename,
expectedWidth,
expectHeight,
withoutLegend
)
AFMImage |
an |
fullfilename |
directory and filename to save to png |
expectedWidth |
(optional) expected width of the saved image. Default is 400px. |
expectHeight |
(optional) expected height of the saved image. Default is 300px. |
withoutLegend |
(optional) set at FALSE, the cuts legend will be included in the plot. Default is FALSE. |
saveSpplotFromAFMImage
save a a Lattice (trellis) plot of an AFMImage
on disk
M.Beauvais
## Not run:
library(AFM)
data(AFMImageOfAluminiumInterface)
saveSpplotFromAFMImage(AFMImageOfAluminiumInterface,
paste(tempdir(), "myFileWithoutLegend.png", sep="/"), 800,800, TRUE)
saveSpplotFromAFMImage(AFMImageOfAluminiumInterface,
paste(tempdir(), "myFileWithLegend.png", sep="/"), 800,800, FALSE)
## End(Not run)