1
0
Fork 0
hmz007 6d24f2138b Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
..
3d-plot.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
animation.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
area-chart.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
blit-bitmap.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
boxplot.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
chart.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
console.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
errorbar.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
histogram.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
mandelbrot.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
matshow.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
nested_coord.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
normal-dist.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
normal-dist2.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
relative_size.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
sierpinski.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
slc-temp.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
snowflake.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
stock.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
two-scales.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.md

plotters examples

To 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.

All the examples assumes the directory plotters-doc-data exists, otherwise those example crashs.

The output of these example files are used to generate the plotters-doc-data repo that populates the sample images in the main README. We also relies on the output of examples to detect protential layout changes. For 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.

The examples that have their own directories and Cargo.toml files work differently. They are run the same way you would a standalone project.