• Home
Name Date Size #Lines LOC

..--

3d-plot.rsD03-May-20241.9 KiB6352

3d-plot2.rsD03-May-20241.7 KiB5747

README.mdD03-May-20241.4 KiB2012

animation.rsD03-May-20241.9 KiB6654

area-chart.rsD03-May-20241.6 KiB5545

blit-bitmap.rsD03-May-20241.6 KiB4635

boxplot.rsD03-May-20246.5 KiB230207

chart.rsD03-May-20243.1 KiB9569

console.rsD03-May-20245.4 KiB201175

customized_coord.rsD03-May-20241.5 KiB5543

errorbar.rsD03-May-20242.9 KiB9981

full_palette.rsD03-May-202414.4 KiB549538

histogram.rsD03-May-20241.3 KiB4435

mandelbrot.rsD03-May-20242.1 KiB7259

matshow.rsD03-May-20241.8 KiB6352

nested_coord.rsD03-May-20241.4 KiB4839

normal-dist.rsD03-May-20242.3 KiB6756

normal-dist2.rsD03-May-20242.6 KiB8466

pie.rsD03-May-20241 KiB2621

relative_size.rsD03-May-20241.6 KiB5845

sierpinski.rsD03-May-20241.3 KiB4435

slc-temp.rsD03-May-20244.1 KiB175162

snowflake.rsD03-May-20241.9 KiB5849

stock.rsD03-May-20243.4 KiB8071

tick_control.rsD03-May-20242.8 KiB9075

two-scales.rsD03-May-20241.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