Description Usage Arguments Value See Also Examples
Plots in WebGL
1 | plot_interactive(plt, html_filename)
|
plt |
A plot created with plotly or ggplot2 |
html_filename |
The file name where the plot will be saved |
The html_filename
Other plotting functions:
plot.nmr_dataset_1D()
1 2 3 4 5 | 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))
# plot <- plot(dataset_1D)
# html_plot_interactive <- plot_interactive(plot, "html_plot_interactive.html")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.