You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plotters is drawing library designed for rendering figures, plots, and charts, in pure rust. Plotters supports various types of back-ends,
16
+
Plotters is a drawing library designed for rendering figures, plots, and charts, in pure Rust. Plotters supports various types of back-ends,
17
17
including bitmap, vector graph, piston window, GTK/Cairo and WebAssembly.
18
18
19
-
- A new Plotters Developer's Guide is working in progress. The preview version is available at[here](https://plotters-rs.github.io/book).
20
-
-To try Plotters with interactive Jupyter notebook, or view [here](https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter-integration.html) for the static HTML version.
19
+
- A new Plotters Developer's Guide is a work in progress. The preview version is available [here](https://plotters-rs.github.io/book).
20
+
-Try Plotters with an interactive Jupyter notebook, or view [here](https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter-integration.html) for the static HTML version.
21
21
- To view the WASM example, go to this [link](https://plotters-rs.github.io/wasm-demo/www/index.html)
22
-
- Currently we have all the internal code ready for console plotting, but a console based backend is still not ready. See [this example](https://github.com/38/plotters/blob/master/examples/console.rs) for how to plotting on Console with a customized backend.
23
-
- Plotters now moved all backend code to sperate repositories, check [FAQ list](#faq-list) for details
22
+
- Currently we have all the internal code ready for console plotting, but a console based backend is still not ready. See [this example](https://github.com/38/plotters/blob/master/examples/console.rs) for how to plot on console with a customized backend.
23
+
- Plotters has moved all backend code to separate repositories, check [FAQ list](#faq-list) for details
24
24
- Some interesting [demo projects](#demo-projects) are available, feel free to try them out.
25
25
26
26
## Gallery
@@ -140,8 +140,8 @@ To view the source code for each example, please click on the example image.
140
140
*[Plotting in Rust](#plotting-in-rust)
141
141
*[Plotting on HTML5 canvas with WASM Backend](#plotting-on-html5-canvas-with-wasm-backend)
142
142
*[What types of figure are supported?](#what-types-of-figure-are-supported)
@@ -215,7 +215,7 @@ To learn how to use Plotters in different scenarios by checking out the followin
215
215
216
216
## Trying with Jupyter evcxr Kernel Interactively
217
217
218
-
Plotters now supports integrate with `evcxr` and is able to interactively drawing plots in Jupyter Notebook.
218
+
Plotters now supports integration with `evcxr` and is able to interactively drawing plots in Jupyter Notebook.
219
219
The feature `evcxr` should be enabled when including Plotters to Jupyter Notebook.
220
220
221
221
The following code shows a minimal example of this.
@@ -256,7 +256,7 @@ figure
256
256
257
257
## Interactive Tutorial with Jupyter Notebook
258
258
259
-
*This tutorial is now working in progress and isn't complete*
259
+
*This tutorial is a work in progress and isn't complete*
260
260
261
261
Thanks to the evcxr, now we have an interactive tutorial for Plotters!
262
262
To use the interactive notebook, you must have Jupyter and evcxr installed on your computer.
@@ -266,37 +266,37 @@ After that, you should be able to start your Jupyter server locally and load the
266
266
267
267
```bash
268
268
git clone https://github.com/38/plotters-doc-data
269
-
cdplotteres-doc-data
269
+
cdplotters-doc-data
270
270
jupyter notebook
271
271
```
272
272
273
273
And select the notebook called `evcxr-jupyter-integration.ipynb`.
274
274
275
-
Also, there's a static HTML version of this notebook available at the [this location](https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter-integration.html)
275
+
Also, there's a static HTML version of this notebook available at [this location](https://plotters-rs.github.io/plotters-doc-data/evcxr-jupyter-integration.html)
276
276
277
277
## Plotting in Rust
278
278
279
-
Rust is a perfect language for data visualization. Although there are many mature visualization libraries in many different languages.
280
-
But Rust is one of the best languages fits the need.
279
+
Rust is a perfect language for data visualization. Although there are many mature visualization libraries in many different languages,
280
+
Rust is one of the best languages fits the need.
281
281
282
282
***Easy to use** Rust has a very good iterator system built into the standard library. With the help of iterators,
283
-
Plotting in Rust can be as easy as most of the high-level programming languages. The Rust based plotting library
283
+
plotting in Rust can be as easy as most of the high-level programming languages. The Rust based plotting library
284
284
can be very easy to use.
285
285
286
-
***Fast** If you need rendering a figure with trillions of data points,
287
-
Rust is a good choice. Rust's performance allows you to combine data processing step
286
+
***Fast** If you need to render a figure with trillions of data points,
287
+
Rust is a good choice. Rust's performance allows you to combine the data processing step
288
288
and rendering step into a single application. When plotting in high-level programming languages,
289
289
e.g. Javascript or Python, data points must be down-sampled before feeding into the plotting
290
290
program because of the performance considerations. Rust is fast enough to do the data processing and visualization
291
291
within a single program. You can also integrate the
292
-
figure rendering code into your application handling a huge amount of data and visualize it in real-time.
292
+
figure rendering code into your application to handle a huge amount of data and visualize it in real-time.
293
293
294
-
***WebAssembly Support** Rust is one of few the language with the best WASM support. Plotting in Rust could be
295
-
very useful for visualization on a web page and would have a huge performance improvement comparing to Javascript.
294
+
***WebAssembly Support** Rust is one of the languages with the best WASM support. Plotting in Rust could be
295
+
very useful for visualization on a web page and would have a huge performance improvement compared to Javascript.
296
296
297
297
## Plotting on HTML5 canvas with WASM Backend
298
298
299
-
Plotters currently supports backend that uses the HTML5 canvas. To use the WASM support, you can simply use
299
+
Plotters currently supports a backend that uses the HTML5 canvas. To use WASM support, you can simply use
300
300
`CanvasBackend` instead of other backend and all other API remains the same!
301
301
302
302
There's a small demo for Plotters + WASM available at [here](https://github.com/plotters-rs/plotters-wasm-demo).
@@ -308,15 +308,15 @@ To play with the deployed version, follow this [link](https://plotters-rs.github
308
308
Plotters is not limited to any specific type of figure.
309
309
You can create your own types of figures easily with the Plotters API.
310
310
311
-
But Plotters provides some builtin figure types for convenience.
311
+
Plotters does provide some built-in figure types for convenience.
312
312
Currently, we support line series, point series, candlestick series, and histogram.
313
313
And the library is designed to be able to render multiple figure into a single image.
314
314
But Plotter is aimed to be a platform that is fully extendable to support any other types of figure.
315
315
316
316
## Concepts by examples
317
317
318
-
### Drawing Back-ends
319
-
Plotters can use different drawing back-ends, including SVG, BitMap, and even real-time rendering. For example, a bitmap drawing backend.
318
+
### Drawing Backends
319
+
Plotters can use different drawing backends, including SVG, BitMap, and even real-time rendering. For example, a bitmap drawing backend.
Plotters uses a concept called drawing area for layout purpose.
338
-
Plotters support multiple integrating into a single image.
338
+
Plotters supports integrating multiple figures into a single image.
339
339
This is done by creating sub-drawing-areas.
340
340
341
-
Besides that, the drawing area also allows the customized coordinate system, by doing so, the coordinate mapping is done by the drawing area automatically.
341
+
Besides that, the drawing area also allows customized coordinate system, by doing so, the coordinate mapping is done by the drawing area automatically.
0 commit comments