Skip to content

donkeyteethUX/iced_plot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crates.io Documentation

A GPU-accelerated plotting widget for Iced.

Features

  • Works with large datasets (up to millions of points)
  • Retains GPU buffers between frames for fast redraws and picking
  • Axes/labels, legends, reference lines, tooltips, crosshairs, axis linking, etc.

Quick start

use iced_plot::{Color, PlotWidgetBuilder, Series};

let series = Series::circles((0..100).map(|i| [i as f64, i as f64]).collect(), 2.0)
    .with_color(Color::from_rgb(0.2, 0.6, 1.0))
    .with_label("points");

PlotWidgetBuilder::new()
    .with_x_label("x")
    .with_y_label("y")
    .add_series(series)
    .build()
    .unwrap()

See the examples/ directory for more.

iced_plot

About

Plotting for Iced

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published