Learn R Programming

AFM (version 2.0)

getSpplotFromAFMImage: Get an AFMImage as a Lattice (trellis) plot

Description

get 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.

Usage

getSpplotFromAFMImage(AFMImage, expectedWidth, expectHeight, withoutLegend)

Arguments

AFMImage

an AFMImage from Atomic Force Microscopy

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.

Details

getSpplotFromAFMImage get a Lattice (trellis) plot of an AFMImage on disk

Examples

Run this code
# NOT RUN {
library(AFM)

data(AFMImageOfAluminiumInterface)
p<-getSpplotFromAFMImage(AFMImageOfAluminiumInterface, 800,800, TRUE)
print(p)
# }

Run the code above in your browser using DataLab