Description Usage Arguments Details Value References Examples
View source: R/plot3D.x3p.file.R View source: R/plot3D.x3p.file_mod.R
3D plot of a surface in X3P format
1 2 | plot3D.x3p.file(x3p.surf.file.info, num.x.pts = NULL, num.slices = NULL,
aspect = c(1, 0.3, 0.2), plot.type = "points")
|
x3p.surf.file.info |
information read in by |
num.x.pts |
number of points desired in the x-direction. |
num.slices |
number of points desired in the y-direction. |
aspect |
aspect ratios |
plot.type |
"points" or "surface" |
3D plot of a surface in X3P format. Some type of decimation is usually required so that the surface can be rendered fast. The arguments num.x.pts and num.slices allow the user to subsample the surface down to the desited size. If the number of points is still potentially large, the function will prompt the user if they want to continue.
a plot.
http://open-gps.sourceforge.net/
1 2 3 | file.path <- system.file("extdata", "glock.x3p", package="x3pr")
glock.x3p.info <- read.x3p(file.path)
plot3D.x3p.file(glock.x3p.info, 1024, 80, aspect=c(1,3,0.4), plot.type="surface")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.