Lines Matching +full:libfontconfig1 +full:- +full:dev
4 # Plotters - A Rust drawing library focus on data plotting for both WASM and native applications …
15 <a href="https://plotters-rs.github.io/rustdoc/plotters/">
16 …<img style="display: inline! important" src="https://img.shields.io/badge/docs-development-lightgr…
19 …r rendering figures, plots, and charts, in pure rust. Plotters supports various types of back-ends,
22 - A new Plotters Developer's Guide is working in progress. The preview version is available at [her…
23 - To try Plotters with interactive Jupyter notebook, or view [here](https://plotters-rs.github.io/p…
24 - To view the WASM example, go to this [link](https://plotters-rs.github.io/wasm-demo/www/index.htm…
25 - Currently we have all the internal code ready for console plotting, but a console based backend i…
26 - Plotters now moved all backend code to sperate repositories, check [FAQ list](#faq-list) for deta…
27 - Some interesting [demo projects](#demo-projects) are available, feel free to try them out.
32 <a href="https://plotters-rs.github.io/plotters-doc-data/sample.png">
33 … <img src="https://plotters-rs.github.io/plotters-doc-data/sample.png" class="galleryItem"></img>
42 <a href="https://plotters-rs.github.io/plotters-doc-data/stock.png">
43 … <img src="https://plotters-rs.github.io/plotters-doc-data/stock.png" class="galleryItem"></img>
52 <a href="https://plotters-rs.github.io/plotters-doc-data/histogram.png">
53 …<img src="https://plotters-rs.github.io/plotters-doc-data/histogram.png" class="galleryItem"></img>
62 <a href="https://plotters-rs.github.io/plotters-doc-data/0.png">
63 <img src="https://plotters-rs.github.io/plotters-doc-data/0.png" class="galleryItem"></img>
71 <a href="https://plotters-rs.github.io/plotters-doc-data/console-2.png">
72 …<img src="https://plotters-rs.github.io/plotters-doc-data/console-2.png" class="galleryItem"></img>
80 <a href="https://plotters-rs.github.io/plotters-doc-data/mandelbrot.png">
81 …<img src="https://plotters-rs.github.io/plotters-doc-data/mandelbrot.png" class="galleryItem"></im…
91 <a href="https://plotters-rs.github.io/plotters-doc-data/evcxr_animation.gif">
92 …<img src="https://plotters-rs.github.io/plotters-doc-data/evcxr_animation.gif" class="galleryItem"…
100 <a href="https://plotters-rs.github.io/plotters-doc-data/plotters-piston.gif">
101 …<img src="https://plotters-rs.github.io/plotters-doc-data/plotters-piston.gif" class="galleryItem"…
104 Real-time Rendering
105 …<a href="https://github.com/plotters-rs/plotters-piston/blob/master/examples/cpustat.rs">[code]</a>
110 <a href="https://plotters-rs.github.io/plotters-doc-data/normal-dist.png">
111 …<img src="https://plotters-rs.github.io/plotters-doc-data/normal-dist.png" class="galleryItem"></i…
115 … <a href="https://github.com/38/plotters/blob/master/plotters/examples/normal-dist.rs">[code]</a>
120 <a href="https://plotters-rs.github.io/plotters-doc-data/twoscale.png">
121 … <img src="https://plotters-rs.github.io/plotters-doc-data/twoscale.png" class="galleryItem"></img>
124 Dual Y-Axis Example
125 … <a href="https://github.com/38/plotters/blob/master/plotters/examples/two-scales.rs">[code]</a>
130 <a href="https://plotters-rs.github.io/plotters-doc-data/matshow.png">
131 … <img src="https://plotters-rs.github.io/plotters-doc-data/matshow.png" class="galleryItem"></img>
140 <a href="https://plotters-rs.github.io/plotters-doc-data/sierpinski.png">
141 …<img src="https://plotters-rs.github.io/plotters-doc-data/sierpinski.png" class="galleryItem"></im…
150 <a href="https://plotters-rs.github.io/plotters-doc-data/normal-dist2.png">
151 …<img src="https://plotters-rs.github.io/plotters-doc-data/normal-dist2.png" class="galleryItem"></…
155 … <a href="https://github.com/38/plotters/blob/master/plotters/examples/nomal-dist2.rs">[code]</a>
160 <a href="https://plotters-rs.github.io/plotters-doc-data/errorbar.png">
161 … <img src="https://plotters-rs.github.io/plotters-doc-data/errorbar.png" class="galleryItem"></img>
170 <a href="https://plotters-rs.github.io/plotters-doc-data/slc-temp.png">
171 … <img src="https://plotters-rs.github.io/plotters-doc-data/slc-temp.png" class="galleryItem"></img>
175 … <a href="https://github.com/38/plotters/blob/master/plotters/examples/slc-temp.rs">[code]</a>
180 <a href="https://plotters-rs.github.io/plotters-doc-data/area-chart.png">
181 …<img src="https://plotters-rs.github.io/plotters-doc-data/area-chart.png" class="galleryItem"></im…
185 … <a href="https://github.com/38/plotters/blob/master/plotters/examples/area-chart.rs">[code]</a>
190 <a href="https://plotters-rs.github.io/plotters-doc-data/snowflake.png">
191 …<img src="https://plotters-rs.github.io/plotters-doc-data/snowflake.png" class="galleryItem"></img>
201 <a href="https://plotters-rs.github.io/plotters-doc-data/animation.gif">
202 …<img src="https://plotters-rs.github.io/plotters-doc-data/animation.gif" class="galleryItem"></img>
212 <a href="https://plotters-rs.github.io/plotters-doc-data/console.png">
213 … <img src="https://plotters-rs.github.io/plotters-doc-data/console.png" class="galleryItem"></img>
222 <a href="https://plotters-rs.github.io/plotters-doc-data/blit-bitmap.png">
223 …<img src="https://plotters-rs.github.io/plotters-doc-data/blit-bitmap.png" class="galleryItem"></i…
227 … <a href="https://github.com/38/plotters/blob/master/plotters/examples/blit-bitmap.rs">[code]</a>
232 <a href="https://plotters-rs.github.io/plotters-doc-data/boxplot.svg">
233 … <img src="https://plotters-rs.github.io/plotters-doc-data/boxplot.svg" class="galleryItem"></img>
242 <a href="https://plotters-rs.github.io/plotters-doc-data/3d-plot.svg">
243 … <img src="https://plotters-rs.github.io/plotters-doc-data/3d-plot.svg" class="galleryItem"></img>
247 <a href="https://github.com/38/plotters/blob/master/plotters/examples/3d-plot.rs">[code]</a>
252 <a href="https://plotters-rs.github.io/plotters-doc-data/3d-plot2.gif">
253 … <img src="https://plotters-rs.github.io/plotters-doc-data/3d-plot2.gif" class="galleryItem"></img>
256 2-Var Gussian Distribution PDF
257 … <a href="https://github.com/38/plotters/blob/master/plotters/examples/3d-plot2.rs">[code]</a>
262 <a href="https://plotters-rs.github.io/plotters-doc-data/tick_control.svg">
263 …<img src="https://plotters-rs.github.io/plotters-doc-data/tick_control.svg" class="galleryItem"></…
266 COVID-19 Visualization
275 + [Ubuntu Linux](#ubuntu-linux)
276 * [Quick Start](#quick-start)
277 * [Demo Projects](#demo-projects)
278 …* [Trying with Jupyter evcxr Kernel Interactively](#trying-with-jupyter-evcxr-kernel-interactively)
279 * [Interactive Tutorial with Jupyter Notebook](#interactive-tutorial-with-jupyter-notebook)
280 * [Plotting in Rust](#plotting-in-rust)
281 * [Plotting on HTML5 canvas with WASM Backend](#plotting-on-html5-canvas-with-wasm-backend)
282 * [What types of figure are supported?](#what-types-of-figure-are-supported)
283 * [Concepts by examples](#concepts-by-examples)
284 + [Drawing Back-ends](#drawing-back-ends)
285 + [Drawing Area](#drawing-area)
287 + [Composable Elements](#composable-elements)
288 + [Chart Context](#chart-context)
290 + [Development Version](#development-version)
291 …cing Depending Libraries && Turning Off Backends](#reducing-depending-libraries--turning-off-backe…
292 + [List of Features](#list-of-features)
293 * [FAQ List](#faq-list)
299 ```sudo apt install pkg-config libfreetype6-dev libfontconfig1-dev```
313 fn main() -> Result<(), Box<dyn std::error::Error>> {
314 let root = BitMapBackend::new("plotters-doc-data/0.png", (640, 480)).into_drawing_area();
317 .caption("y=x^2", ("sans-serif", 50).into_font())
321 .build_cartesian_2d(-1f32..1f32, -0.1f32..1f32)?;
327 (-50..=50).map(|x| x as f32 / 50.0).map(|x| (x, x * x)),
345 
351 - WebAssembly + Plotters: [plotters-wasm-demo](https://github.com/plotters-rs/plotters-wasm-demo)
352 - minifb + Plotters: [plotters-minifb-demo](https://github.com/plotters-rs/plotters-minifb-demo)
353 - GTK + Plotters: [plotters-gtk-demo](https://github.com/plotters/plotters-gtk-demo)
375 .build_cartesian_2d(-1f32..1f32, -0.1f32..1f32)?;
380 (-50..=50).map(|x| x as f32 / 50.0).map(|x| (x, x * x)),
395 <img src="https://plotters-rs.github.io/plotters-doc-data/evcxr_animation.gif" width="450px"></img>
408 git clone https://github.com/38/plotters-doc-data
409 cd plotteres-doc-data
413 And select the notebook called `evcxr-jupyter-integration.ipynb`.
415 …ook available at the [this location](https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter…
423 Plotting in Rust can be as easy as most of the high-level programming languages. The Rust based plo…
428 and rendering step into a single application. When plotting in high-level programming languages,
429 e.g. Javascript or Python, data points must be down-sampled before feeding into the plotting
432 … rendering code into your application handling a huge amount of data and visualize it in real-time.
442 …ll demo for Plotters + WASM available at [here](https://github.com/plotters-rs/plotters-wasm-demo).
443 To play with the deployed version, follow this [link](https://plotters-rs.github.io/wasm-demo/www/i…
458 ### Drawing Back-ends
459 Plotters can use different drawing back-ends, including SVG, BitMap, and even real-time rendering. …
463 fn main() -> Result<(), Box<dyn std::error::Error>> {
465 let mut backend = BitMapBackend::new("plotters-doc-data/1.png", (300, 200));
474 
479 This is done by creating sub-drawing-areas.
485 fn main() -> Result<(), Box<dyn std::error::Error>> {
487 BitMapBackend::new("plotters-doc-data/2.png", (300, 200)).into_drawing_area();
499 
504 There are different types of built-in elements, like lines, texts, circles, etc.
513 fn main() -> Result<(), Box<dyn std::error::Error>> {
514 let root = BitMapBackend::new("plotters-doc-data/3.png", (300, 200)).into_drawing_area();
527 
531 Besides the built-in elements, elements can be composed into a logic group we called composed eleme…
532 When composing new elements, the upper-left corner is given in the target coordinate, and a new pix…
533 coordinate which has the upper-left corner defined as `(0,0)` is used for further element compositi…
541 fn main() -> Result<(), Box<dyn std::error::Error>> {
542 let root = BitMapBackend::new("plotters-doc-data/4.png", (640, 480)).into_drawing_area();
558 ("sans-serif", 15.0).into_font(),
570 
581 fn main() -> Result<(), Box<dyn std::error::Error>> {
582 let root = BitMapBackend::new("plotters-doc-data/5.png", (640, 480)).into_drawing_area();
588 .caption("This is our first plot", ("sans-serif", 40).into_font())
616 return EmptyElement::at(c) // We want to construct a composed element on-the-fly
618 + Text::new(format!("{:?}", c), (10, 0), ("sans-serif", 10).into_font());
626 
644 use `default_features = false` in the dependency description in `Cargo.toml` and you can cherry-pic…
646 - `svg` Enable the `SVGBackend`
647 - `bitmap` Enable the `BitMapBackend`
663 and then you should be able to cherry-pick what features you want to include into `Plotters` crate.
668 - Tier 1 drawing backends
671 |---------|--------------|--------|------------|
672 | bitmap\_encoder | Allow `BitMapBackend` save the result to bitmap files | image, rusttype, font-…
674 | bitmap\_gif| Opt-in GIF animation Rendering support for `BitMapBackend`, implies `bitmap` enabled…
676 - Font manipulation features
679 |---------|--------------|--------|------------|
680 | ttf | Allows TrueType font support | rusttype, font-kit | Yes |
682 - Coordinate features
685 |---------|--------------|--------|------------|
688 - Element, series and util functions
691 |---------|--------------|--------|------------|
700 - Misc
703 |---------|--------------|--------|------------|
713 …which in most of the case is any of the x86 target. Thus you need add `--target=wasm32-unknown-unk…
727 - [Bitmap Backend](https://github.com/plotters-rs/plotters-bitmap.git)
728 - [SVG Backend](https://github.com/plotters-rs/plotters-svg.git)
729 - [HTML5 Canvas Backend](https://github.com/plotters-rs/plotters-canvas.git)
730 - [GTK/Cairo Backend](https://github.com/plotters-rs/plotters-cairo.git)
746 max-width: 500px;
750 display: inline-block;
753 max-width: 100%;
756 text-align: center;
805 // Re-export the backend for backward compatibility
860 /// - `T`: The return type
861 /// - `D`: The drawing backend type
868 // Re-export tier 1 backends for backward compatibility
876 /// This module contains some useful re-export of backend related types.