plot.DisplacementPlot: plot the output of plot.DisplacementField

View source: R/displacementField.r

plot.DisplacementPlotR Documentation

plot the output of plot.DisplacementField

Description

plot the output of plot.DisplacementField

Usage

## S3 method for class 'DisplacementPlot'
plot(x, lwd = 1, color = TRUE, size = NULL, ...)

Arguments

x

displacement field of class "DisplacementField", e.g. created using createDisplacementField

lwd

width of the displacement vectors

color

logical: if TRUE, displacement vectors will be colored according to a heatmap.

size

size of grid points

...

additional arguments. Currently not used.

See Also

interpolateDisplacementField, applyDisplacementField, smoothDisplacementField

Examples

require(Rvcg)
data(dummyhead)
humoff <- meshOffset(dummyhead.mesh,offset=5)
dispfield <- createDisplacementField(dummyhead.mesh,humoff)
displot <- plot(dispfield,plot=FALSE)
plot(displot)

zarquon42b/mesheR documentation built on Jan. 28, 2024, 2:17 p.m.