Description Usage Arguments Details Author(s) Examples
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.
1 2 3 4 5 6 7 | 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
1 2 3 4 5 6 7 8 9 10 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.