quick_plot_3d/
quick_plot_3d.rs

1use plotting::{Figure, quick_plot_3d};
2use std::path::Path;
3
4fn main() {
5    // Create the figure.
6    let fig: Figure = quick_plot_3d([1.0, 2.0, 10.0], [1.0, 4.0, 9.0], [2.0, 5.0, 10.0]);
7
8    // Save the figure so it can be displayed right below this example.
9    fig.save_inline_html(Path::new("book/src/figures/quick_plot_3d.html"));
10
11    // Alternatively, you can show the figure in a web browser.
12    // fig.show();
13}