Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
3d-plot.rs | D | 03-May-2024 | 1.3 KiB | 48 | 39 | |
README.md | D | 03-May-2024 | 883 | 12 | 7 | |
animation.rs | D | 03-May-2024 | 1.8 KiB | 64 | 53 | |
area-chart.rs | D | 03-May-2024 | 1.3 KiB | 52 | 43 | |
blit-bitmap.rs | D | 03-May-2024 | 1 KiB | 38 | 29 | |
boxplot.rs | D | 03-May-2024 | 6.2 KiB | 226 | 204 | |
chart.rs | D | 03-May-2024 | 2.9 KiB | 95 | 70 | |
console.rs | D | 03-May-2024 | 5.2 KiB | 198 | 174 | |
errorbar.rs | D | 03-May-2024 | 2.6 KiB | 95 | 79 | |
histogram.rs | D | 03-May-2024 | 1 KiB | 40 | 33 | |
mandelbrot.rs | D | 03-May-2024 | 1.8 KiB | 68 | 57 | |
matshow.rs | D | 03-May-2024 | 1.4 KiB | 57 | 48 | |
nested_coord.rs | D | 03-May-2024 | 1.1 KiB | 44 | 37 | |
normal-dist.rs | D | 03-May-2024 | 2 KiB | 63 | 54 | |
normal-dist2.rs | D | 03-May-2024 | 2.2 KiB | 80 | 64 | |
relative_size.rs | D | 03-May-2024 | 1.3 KiB | 54 | 42 | |
sierpinski.rs | D | 03-May-2024 | 974 | 38 | 32 | |
slc-temp.rs | D | 03-May-2024 | 3.7 KiB | 170 | 159 | |
snowflake.rs | D | 03-May-2024 | 1.6 KiB | 55 | 47 | |
stock.rs | D | 03-May-2024 | 3 KiB | 74 | 67 | |
two-scales.rs | D | 03-May-2024 | 1.6 KiB | 57 | 48 |
README.md
1# plotters examples 2 3To 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. 4 5All the examples assumes the directory [plotters-doc-data](https://github.com/38/plotters-doc-data) exists, otherwise those example crashs. 6 7The 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. 8We also relies on the output of examples to detect protential layout changes. 9For 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.** 10 11The examples that have their own directories and `Cargo.toml` files work differently. They are run the same way you would a standalone project. 12