implot-rs/implot-examples/examples-shared/src/lib.rs
4bb4 4cd199071c Added heatmap support. See comments.
The basic functionality seems to work, though setting the drawing area
seems buggy. I'll have to investigate more.
2020-11-15 10:36:51 +01:00

18 lines
492 B
Rust

pub mod bar_plots;
pub mod heatmaps;
pub mod line_plots;
pub mod scatter_plots;
pub mod stairs_plots;
pub mod text_plots;
use imgui::Ui;
use implot::PlotUi;
pub fn show_demos(ui: &Ui, plot_ui: &PlotUi) {
bar_plots::show_demo_window(ui, plot_ui);
line_plots::show_demo_window(ui, plot_ui);
scatter_plots::show_demo_window(ui, plot_ui);
text_plots::show_demo_window(ui, plot_ui);
stairs_plots::show_demo_window(ui, plot_ui);
heatmaps::show_demo_window(ui, plot_ui);
}