• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

3d-plot.rsD25-Apr-20251.9 KiB6352

3d-plot2.rsD25-Apr-20251.7 KiB5545

README.mdD25-Apr-20251.4 KiB2012

animation.rsD25-Apr-20251.9 KiB6654

area-chart.rsD25-Apr-20251.6 KiB5545

blit-bitmap.rsD25-Apr-20251.6 KiB4635

boxplot.rsD25-Apr-20256.5 KiB230207

chart.rsD25-Apr-20253.1 KiB9569

colormaps.rsD25-Apr-20252.5 KiB7057

console.rsD25-Apr-20255.4 KiB201175

customized_coord.rsD25-Apr-20251.5 KiB5543

errorbar.rsD25-Apr-20252.9 KiB9981

full_palette.rsD25-Apr-202514.4 KiB549538

histogram.rsD25-Apr-20251.3 KiB4435

mandelbrot.rsD25-Apr-20252.2 KiB7259

matshow.rsD25-Apr-20251.8 KiB6352

nested_coord.rsD25-Apr-20251.4 KiB4839

normal-dist.rsD25-Apr-20252.3 KiB6756

normal-dist2.rsD25-Apr-20252.6 KiB8466

pie.rsD25-Apr-20251 KiB2621

relative_size.rsD25-Apr-20251.6 KiB5845

sierpinski.rsD25-Apr-20251.3 KiB4435

slc-temp.rsD25-Apr-20254.1 KiB175162

snowflake.rsD25-Apr-20251.9 KiB5849

stock.rsD25-Apr-20253.4 KiB8071

tick_control.rsD25-Apr-20252.8 KiB9075

two-scales.rsD25-Apr-20251.9 KiB6150

README.md

1# plotters examples
2
3* The example projects have been moved to independent git repository under plotters-rs organization, please check the [Example Project](#example-project) section for the links.
4
5To run any example, from within the repo, run `cargo run --example <example_name>` where `<example name>` is the name of the file without the `.rs` extension.
6
7All the examples assumes the directory [plotters-doc-data](https://github.com/38/plotters-doc-data) exists, otherwise those example crashs.
8
9The output of these example files are used to generate the [plotters-doc-data](https://github.com/38/plotters-doc-data) repo that populates the sample images in the main README.
10We also rely on the output of examples to detect potential layout changes.
11For that reason, **they must be run with `cargo` from within the repo, or you must change the output filename in the example code to a directory that exists.**
12
13The examples that have their own directories and `Cargo.toml` files work differently. They are run the same way you would a standalone project.
14
15## Example Projects
16
17- For WebAssembly sample project, check [plotters-wasm-demo](https://github.com/plotters-rs/plotters-wasm-demo)
18- For Frame Buffer, Realtime Readering example, check [plotters-minifb-demo](https://github.com/plotters-rs/plotters-minifb-demo)
19- For GTK integration, check [plotters-gtk-demo](https://github.com/plotters-rs/plotters-gtk-demo)
20