Description Usage Arguments Value
View source: R/mesh_snapshot.R
Optional aspect ratio and extra components.
1 2 3 4 5 6 7 8 | mesh_snapshot(
mesh,
outfile,
wire = TRUE,
axes = FALSE,
aspect_ratio = "16x9",
overwrite = FALSE
)
|
mesh |
"mesh3d" object |
outfile |
path to save the snapshot (png format). This will be automatically appended to include the aspect ratio. |
wire |
whether to render mesh edges as a wire frame |
axes |
whether to also plot x, y, and z axes |
aspect_ratio |
either "16x9" (for widescreen presentation) or "4x3" |
overwrite |
whether to force over-write existing files of same names |
writes file to disk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.