View source: R/displacementField.r
plot.DisplacementPlot | R Documentation |
plot the output of plot.DisplacementField
## S3 method for class 'DisplacementPlot'
plot(x, lwd = 1, color = TRUE, size = NULL, ...)
x |
displacement field of class "DisplacementField", e.g. created using |
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. |
interpolateDisplacementField, applyDisplacementField, smoothDisplacementField
require(Rvcg)
data(dummyhead)
humoff <- meshOffset(dummyhead.mesh,offset=5)
dispfield <- createDisplacementField(dummyhead.mesh,humoff)
displot <- plot(dispfield,plot=FALSE)
plot(displot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.