Use Plotters to draw plots in Druid.
This draws the basic x² plot from the plotters example, filling out the entire window. The size of the plotting area changes when resizing the window.
cargo run --example simple
In this example we use a value from the druid data to manipulate the plot.
cargo run --example interactive
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.