Lines Matching +full:libfontconfig1 +full:- +full:dev
1 # Plotters - A Rust drawing library focus on data plotting for both WASM and native applications …
12 <a href="https://plotters-rs.github.io/rustdoc/plotters/">
13 …<img style="display: inline! important" src="https://img.shields.io/badge/docs-development-lightgr…
16 … rendering figures, plots, and charts, in pure rust. Plotters supports various types of back-ends,
19 - A new Plotters Developer's Guide is working in progress. The preview version is available at [her…
20 - To try Plotters with interactive Jupyter notebook, or view [here](https://plotters-rs.github.io/p…
21 - To view the WASM example, go to this [link](https://plotters-rs.github.io/wasm-demo/www/index.htm…
22 - Currently we have all the internal code ready for console plotting, but a console based backend i…
23 - Plotters now moved all backend code to sperate repositories, check [FAQ list](#faq-list) for deta…
24 - Some interesting [demo projects](#demo-projects) are available, feel free to try them out.
31 …<img src="https://plotters-rs.github.io/plotters-doc-data/sample.png" class="galleryItem" width=20…
35 …<img src="https://plotters-rs.github.io/plotters-doc-data/stock.png" class="galleryItem" width=200…
39 …<img src="https://plotters-rs.github.io/plotters-doc-data/histogram.png" class="galleryItem" width…
42 <a href="https://github.com/38/plotters#quick-start">
43 …<img src="https://plotters-rs.github.io/plotters-doc-data/0.png" class="galleryItem" width=200px><…
47 …<img src="https://plotters-rs.github.io/plotters-doc-data/console-2.png" class="galleryItem" width…
51 …<img src="https://plotters-rs.github.io/plotters-doc-data/mandelbrot.png" class="galleryItem" widt…
54 <a href="https://github.com/38/plotters#trying-with-jupyter-evcxr-kernel-interactively">
55 …<img src="https://plotters-rs.github.io/plotters-doc-data/evcxr_animation.gif" class="galleryItem"…
59 <a href="https://github.com/plotters-rs/plotters-piston/blob/master/plotters/examples/cpustat.rs">
60 …<img src="https://plotters-rs.github.io/plotters-doc-data/plotters-piston.gif" class="galleryItem"…
63 <a href="https://github.com/38/plotters/blob/master/plotters/examples/normal-dist.rs">
64 …<img src="https://plotters-rs.github.io/plotters-doc-data/normal-dist.png" class="galleryItem" wid…
67 <a href="https://github.com/38/plotters/blob/master/plotters/examples/two-scales.rs">
68 …<img src="https://plotters-rs.github.io/plotters-doc-data/twoscale.png" class="galleryItem" width=…
72 …<img src="https://plotters-rs.github.io/plotters-doc-data/matshow.png" class="galleryItem" width=2…
76 …<img src="https://plotters-rs.github.io/plotters-doc-data/sierpinski.png" class="galleryItem" widt…
79 <a href="https://github.com/38/plotters/blob/master/plotters/examples/normal-dist2.rs">
80 …<img src="https://plotters-rs.github.io/plotters-doc-data/normal-dist2.png" class="galleryItem" wi…
84 …<img src="https://plotters-rs.github.io/plotters-doc-data/errorbar.png" class="galleryItem" width=…
87 <a href="https://github.com/38/plotters/blob/master/plotters/examples/slc-temp.rs">
88 …<img src="https://plotters-rs.github.io/plotters-doc-data/slc-temp.png" class="galleryItem" width=…
91 <a href="https://github.com/38/plotters/blob/master/plotters/examples/area-chart.rs">
92 …<img src="https://plotters-rs.github.io/plotters-doc-data/area-chart.png" class="galleryItem" widt…
96 …<img src="https://plotters-rs.github.io/plotters-doc-data/snowflake.png" class="galleryItem" width…
100 …<img src="https://plotters-rs.github.io/plotters-doc-data/animation.gif" class="galleryItem" width…
104 …<img src="https://plotters-rs.github.io/plotters-doc-data/console-example.png" class="galleryItem"…
108 …<img src="https://plotters-rs.github.io/plotters-doc-data/console.png" class="galleryItem" width=2…
111 <a href="https://github.com/38/plotters/blob/master/plotters/examples/blit-bitmap.rs">
112 …<img src="https://plotters-rs.github.io/plotters-doc-data/blit-bitmap.png" class="galleryItem" wid…
116 …<img src="https://plotters-rs.github.io/plotters-doc-data/boxplot.svg" class="galleryItem" width=2…
119 <a href="https://github.com/38/plotters/blob/master/plotters/examples/3d-plot.rs">
120 …<img src="https://plotters-rs.github.io/plotters-doc-data/3d-plot.svg" class="galleryItem" width=2…
123 <a href="https://github.com/38/plotters/blob/master/plotters/examples/3d-plot2.rs">
124 …<img src="https://plotters-rs.github.io/plotters-doc-data/3d-plot2.gif" class="galleryItem" width=…
128 …<img src="https://plotters-rs.github.io/plotters-doc-data/tick_control.svg" class="galleryItem" wi…
135 + [Ubuntu Linux](#ubuntu-linux)
136 * [Quick Start](#quick-start)
137 * [Demo Projects](#demo-projects)
138 …* [Trying with Jupyter evcxr Kernel Interactively](#trying-with-jupyter-evcxr-kernel-interactively)
139 * [Interactive Tutorial with Jupyter Notebook](#interactive-tutorial-with-jupyter-notebook)
140 * [Plotting in Rust](#plotting-in-rust)
141 * [Plotting on HTML5 canvas with WASM Backend](#plotting-on-html5-canvas-with-wasm-backend)
142 * [What types of figure are supported?](#what-types-of-figure-are-supported)
143 * [Concepts by examples](#concepts-by-examples)
144 + [Drawing Back-ends](#drawing-back-ends)
145 + [Drawing Area](#drawing-area)
147 + [Composable Elements](#composable-elements)
148 + [Chart Context](#chart-context)
150 + [Development Version](#development-version)
151 …cing Depending Libraries && Turning Off Backends](#reducing-depending-libraries--turning-off-backe…
152 + [List of Features](#list-of-features)
153 * [FAQ List](#faq-list)
159 ```sudo apt install pkg-config libfreetype6-dev libfontconfig1-dev```
173 fn main() -> Result<(), Box<dyn std::error::Error>> {
174 let root = BitMapBackend::new("plotters-doc-data/0.png", (640, 480)).into_drawing_area();
177 .caption("y=x^2", ("sans-serif", 50).into_font())
181 .build_cartesian_2d(-1f32..1f32, -0.1f32..1f32)?;
187 (-50..=50).map(|x| x as f32 / 50.0).map(|x| (x, x * x)),
205 
211 - WebAssembly + Plotters: [plotters-wasm-demo](https://github.com/plotters-rs/plotters-wasm-demo)
212 - minifb + Plotters: [plotters-minifb-demo](https://github.com/plotters-rs/plotters-minifb-demo)
213 - GTK + Plotters: [plotters-gtk-demo](https://github.com/plotters-rs/plotters-gtk-demo)
235 .build_cartesian_2d(-1f32..1f32, -0.1f32..1f32)?;
240 (-50..=50).map(|x| x as f32 / 50.0).map(|x| (x, x * x)),
255 <img src="https://plotters-rs.github.io/plotters-doc-data/evcxr_animation.gif" width="450px"></img>
268 git clone https://github.com/38/plotters-doc-data
269 cd plotteres-doc-data
273 And select the notebook called `evcxr-jupyter-integration.ipynb`.
275 …ook available at the [this location](https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter…
283 Plotting in Rust can be as easy as most of the high-level programming languages. The Rust based plo…
288 and rendering step into a single application. When plotting in high-level programming languages,
289 e.g. Javascript or Python, data points must be down-sampled before feeding into the plotting
292 … rendering code into your application handling a huge amount of data and visualize it in real-time.
302 …l demo for Plotters + WASM available at [here](https://github.com/plotters-rs/plotters-wasm-demo).
303 To play with the deployed version, follow this [link](https://plotters-rs.github.io/wasm-demo/www/i…
318 ### Drawing Back-ends
319 Plotters can use different drawing back-ends, including SVG, BitMap, and even real-time rendering. …
323 fn main() -> Result<(), Box<dyn std::error::Error>> {
325 let mut backend = BitMapBackend::new("plotters-doc-data/1.png", (300, 200));
334 
339 This is done by creating sub-drawing-areas.
345 fn main() -> Result<(), Box<dyn std::error::Error>> {
347 BitMapBackend::new("plotters-doc-data/2.png", (300, 200)).into_drawing_area();
359 
364 There are different types of built-in elements, like lines, texts, circles, etc.
373 fn main() -> Result<(), Box<dyn std::error::Error>> {
374 let root = BitMapBackend::new("plotters-doc-data/3.png", (300, 200)).into_drawing_area();
387 
391 Besides the built-in elements, elements can be composed into a logic group we called composed eleme…
392 When composing new elements, the upper-left corner is given in the target coordinate, and a new pix…
393 coordinate which has the upper-left corner defined as `(0,0)` is used for further element compositi…
401 fn main() -> Result<(), Box<dyn std::error::Error>> {
402 let root = BitMapBackend::new("plotters-doc-data/4.png", (640, 480)).into_drawing_area();
418 ("sans-serif", 15.0).into_font(),
430 
441 fn main() -> Result<(), Box<dyn std::error::Error>> {
442 let root = BitMapBackend::new("plotters-doc-data/5.png", (640, 480)).into_drawing_area();
448 .caption("This is our first plot", ("sans-serif", 40).into_font())
476 return EmptyElement::at(c) // We want to construct a composed element on-the-fly
478 + Text::new(format!("{:?}", c), (10, 0), ("sans-serif", 10).into_font());
486 
504 use `default_features = false` in the dependency description in `Cargo.toml` and you can cherry-pic…
506 - `svg` Enable the `SVGBackend`
507 - `bitmap` Enable the `BitMapBackend`
523 and then you should be able to cherry-pick what features you want to include into `Plotters` crate.
528 - Tier 1 drawing backends
531 |---------|--------------|--------|------------|
532 | bitmap\_encoder | Allow `BitMapBackend` save the result to bitmap files | image, rusttype, font-…
534 | bitmap\_gif| Opt-in GIF animation Rendering support for `BitMapBackend`, implies `bitmap` enabled…
536 - Font manipulation features
539 |---------|--------------|--------|------------|
540 | ttf | Allows TrueType font support | rusttype, font-kit | Yes |
542 - Coordinate features
545 |---------|--------------|--------|------------|
548 - Element, series and util functions
551 |---------|--------------|--------|------------|
560 - Misc
563 |---------|--------------|--------|------------|
573 …which in most of the case is any of the x86 target. Thus you need add `--target=wasm32-unknown-unk…
587 - [Bitmap Backend](https://github.com/plotters-rs/plotters-bitmap.git)
588 - [SVG Backend](https://github.com/plotters-rs/plotters-svg.git)
589 - [HTML5 Canvas Backend](https://github.com/plotters-rs/plotters-canvas.git)
590 - [GTK/Cairo Backend](https://github.com/plotters-rs/plotters-cairo.git)