View source: R/plot_functions.R
plot_xpm_3d | R Documentation |
creates 3d visualization of xpm data with scatter plot.
plot_xpm_3d(xpm_data, reversescale = FALSE, point_size = 2)
xpm_data |
a xpm object (from |
reversescale |
whether to reverse the color scale; default is FALSE |
point_size |
the size of the points in the scatter plot; default is 2 |
a plotly object
library(xvm)
xpm_file_path <- system.file("extdata/gibbs.xpm", package = "xvm")
xpm_data <- read_xpm(xpm_file_path)
plot_xpm_3d(xpm_data) # plot 3D scatter plot from xpm file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.