plot_webgl | R Documentation |
Uses WebGL for performance
plot_webgl(nmr_dataset, html_filename, overwrite = NULL, ...)
nmr_dataset |
An nmr_dataset_1D |
html_filename |
The output HTML filename to be created |
overwrite |
Overwrite the lib/ directory (use |
... |
Arguments passed on to
|
the html filename created
dir_to_demo_dataset <- system.file("dataset-demo", package = "AlpsNMR")
# dataset <- nmr_read_samples_dir(dir_to_demo_dataset)
# dataset_1D <- nmr_interpolate_1D(dataset, axis = c(min = -0.5, max = 10, by = 2.3E-4))
# html_plot <- plot_webgl(dataset_1D, "html_plot.html")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.