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
@@ -140,7 +140,7 @@ 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)
143
-
*[Concepts by example](#concepts-by-examples)
143
+
*[Concepts by example](#concepts-by-example)
144
144
+[Drawing Backends](#drawing-backends)
145
145
+[Drawing Area](#drawing-area)
146
146
+[Elements](#elements)
@@ -215,7 +215,7 @@ To learn how to use Plotters in different scenarios, check out the following dem
215
215
216
216
## Trying with Jupyter evcxr Kernel Interactively
217
217
218
-
Plotters now supports integration with `evcxr` and is able to interactively drawing plots in Jupyter Notebook.
218
+
Plotters now supports integration with `evcxr` and is able to interactively draw 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.
@@ -276,8 +276,7 @@ Also, there's a static HTML version of this notebook available at [this location
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
-
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, Rust is one of the best languages that fits the need.
281
280
282
281
***Easy to use** Rust has a very good iterator system built into the standard library. With the help of iterators,
283
282
plotting in Rust can be as easy as most of the high-level programming languages. The Rust based plotting library
@@ -292,17 +291,16 @@ within a single program. You can also integrate the
292
291
figure rendering code into your application to handle a huge amount of data and visualize it in real-time.
293
292
294
293
***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.
294
+
very useful for visualization on a web page and would have a huge performance improvement comparing to Javascript.
296
295
297
296
## Plotting on HTML5 canvas with WASM Backend
298
297
299
-
Plotters currently supports a backend that uses the HTML5 canvas. To use WASM support, you can simply use
298
+
Plotters currently supports a backend that uses the HTML5 canvas. To use WASM, you can simply use
300
299
`CanvasBackend` instead of other backend and all other API remains the same!
301
300
302
301
There's a small demo for Plotters + WASM available at [here](https://github.com/plotters-rs/plotters-wasm-demo).
303
302
To play with the deployed version, follow this [link](https://plotters-rs.github.io/wasm-demo/www/index.html).
304
303
305
-
306
304
## What types of figure are supported?
307
305
308
306
Plotters is not limited to any specific type of figure.
@@ -313,7 +311,7 @@ Currently, we support line series, point series, candlestick series, and histogr
313
311
And the library is designed to be able to render multiple figure into a single image.
314
312
But Plotter is aimed to be a platform that is fully extendable to support any other types of figure.
315
313
316
-
## Concepts by examples
314
+
## Concepts by example
317
315
318
316
### Drawing Backends
319
317
Plotters can use different drawing backends, including SVG, BitMap, and even real-time rendering. For example, a bitmap drawing backend.
@@ -338,7 +336,7 @@ Plotters uses a concept called drawing area for layout purpose.
338
336
Plotters supports integrating multiple figures into a single image.
339
337
This is done by creating sub-drawing-areas.
340
338
341
-
Besides that, the drawing area also allows customized coordinate system, by doing so, the coordinate mapping is done by the drawing area automatically.
339
+
Besides that, the drawing area also allows for a customized coordinate system, by doing so, the coordinate mapping is done by the drawing area automatically.
342
340
343
341
```rust
344
342
useplotters::prelude::*;
@@ -626,3 +624,5 @@ pub fn register_font(
626
624
627
625
In the case that error handling is important, you need manually call the `present()` method before the backend gets dropped.
Plotters is drawing library designed for rendering figures, plots, and charts, in pure rust. Plotters supports various types of back-ends,
19
+
Plotters is a drawing library designed for rendering figures, plots, and charts, in pure Rust. Plotters supports various types of back-ends,
20
20
including bitmap, vector graph, piston window, GTK/Cairo and WebAssembly.
21
21
22
-
- A new Plotters Developer's Guide is working in progress. The preview version is available at [here](https://plotters-rs.github.io/book).
23
-
- 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.
22
+
- A new Plotters Developer's Guide is a work in progress. The preview version is available [here](https://plotters-rs.github.io/book).
23
+
- 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.
24
24
- To view the WASM example, go to this [link](https://plotters-rs.github.io/wasm-demo/www/index.html)
25
-
- 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.
26
-
- Plotters now moved all backend code to sperate repositories, check [FAQ list](#faq-list) for details
25
+
- 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.
26
+
- Plotters has moved all backend code to separate repositories, check [FAQ list](#faq-list) for details
27
27
- Some interesting [demo projects](#demo-projects) are available, feel free to try them out.
28
28
29
29
## Gallery
@@ -280,8 +280,8 @@ including bitmap, vector graph, piston window, GTK/Cairo and WebAssembly.
280
280
* [Plotting in Rust](#plotting-in-rust)
281
281
* [Plotting on HTML5 canvas with WASM Backend](#plotting-on-html5-canvas-with-wasm-backend)
282
282
* [What types of figure are supported?](#what-types-of-figure-are-supported)
@@ -355,7 +355,7 @@ To learn how to use Plotters in different scenarios by checking out the followin
355
355
356
356
## Trying with Jupyter evcxr Kernel Interactively
357
357
358
-
Plotters now supports integrate with `evcxr` and is able to interactively drawing plots in Jupyter Notebook.
358
+
Plotters now supports integration with `evcxr` and is able to interactively draw plots in Jupyter Notebook.
359
359
The feature `evcxr` should be enabled when including Plotters to Jupyter Notebook.
360
360
361
361
The following code shows a minimal example of this.
@@ -396,7 +396,7 @@ figure
396
396
397
397
## Interactive Tutorial with Jupyter Notebook
398
398
399
-
*This tutorial is now working in progress and isn't complete*
399
+
*This tutorial is a work in progress and isn't complete*
400
400
401
401
Thanks to the evcxr, now we have an interactive tutorial for Plotters!
402
402
To use the interactive notebook, you must have Jupyter and evcxr installed on your computer.
@@ -406,57 +406,55 @@ After that, you should be able to start your Jupyter server locally and load the
406
406
407
407
```bash
408
408
git clone https://github.com/38/plotters-doc-data
409
-
cd plotteres-doc-data
409
+
cd plotters-doc-data
410
410
jupyter notebook
411
411
```
412
412
413
413
And select the notebook called `evcxr-jupyter-integration.ipynb`.
414
414
415
-
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)
415
+
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)
416
416
417
417
## Plotting in Rust
418
418
419
-
Rust is a perfect language for data visualization. Although there are many mature visualization libraries in many different languages.
420
-
But Rust is one of the best languages fits the need.
419
+
Rust is a perfect language for data visualization. Although there are many mature visualization libraries in many different languages, Rust is one of the best languages that fits the need.
421
420
422
421
* **Easy to use** Rust has a very good iterator system built into the standard library. With the help of iterators,
423
-
Plotting in Rust can be as easy as most of the high-level programming languages. The Rust based plotting library
422
+
plotting in Rust can be as easy as most of the high-level programming languages. The Rust based plotting library
424
423
can be very easy to use.
425
424
426
-
* **Fast** If you need rendering a figure with trillions of data points,
427
-
Rust is a good choice. Rust's performance allows you to combine data processing step
425
+
* **Fast** If you need to render a figure with trillions of data points,
426
+
Rust is a good choice. Rust's performance allows you to combine the data processing step
428
427
and rendering step into a single application. When plotting in high-level programming languages,
429
428
e.g. Javascript or Python, data points must be down-sampled before feeding into the plotting
430
429
program because of the performance considerations. Rust is fast enough to do the data processing and visualization
431
430
within a single program. You can also integrate the
432
-
figure rendering code into your application handling a huge amount of data and visualize it in real-time.
431
+
figure rendering code into your application to handle a huge amount of data and visualize it in real-time.
433
432
434
-
* **WebAssembly Support** Rust is one of few the language with the best WASM support. Plotting in Rust could be
433
+
* **WebAssembly Support** Rust is one of the languages with the best WASM support. Plotting in Rust could be
435
434
very useful for visualization on a web page and would have a huge performance improvement comparing to Javascript.
436
435
437
436
## Plotting on HTML5 canvas with WASM Backend
438
437
439
-
Plotters currently supports backend that uses the HTML5 canvas. To use the WASM support, you can simply use
438
+
Plotters currently supports a backend that uses the HTML5 canvas. To use WASM, you can simply use
440
439
`CanvasBackend` instead of other backend and all other API remains the same!
441
440
442
441
There's a small demo for Plotters + WASM available at [here](https://github.com/plotters-rs/plotters-wasm-demo).
443
442
To play with the deployed version, follow this [link](https://plotters-rs.github.io/wasm-demo/www/index.html).
444
443
445
-
446
444
## What types of figure are supported?
447
445
448
446
Plotters is not limited to any specific type of figure.
449
447
You can create your own types of figures easily with the Plotters API.
450
448
451
-
But Plotters provides some builtin figure types for convenience.
449
+
Plotters does provide some built-in figure types for convenience.
452
450
Currently, we support line series, point series, candlestick series, and histogram.
453
451
And the library is designed to be able to render multiple figure into a single image.
454
452
But Plotter is aimed to be a platform that is fully extendable to support any other types of figure.
455
453
456
-
## Concepts by examples
454
+
## Concepts by example
457
455
458
-
### Drawing Back-ends
459
-
Plotters can use different drawing back-ends, including SVG, BitMap, and even real-time rendering. For example, a bitmap drawing backend.
456
+
### Drawing Backends
457
+
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.
478
-
Plotters support multiple integrating into a single image.
476
+
Plotters supports integrating multiple figures into a single image.
479
477
This is done by creating sub-drawing-areas.
480
478
481
-
Besides that, the drawing area also allows the customized coordinate system, by doing so, the coordinate mapping is done by the drawing area automatically.
479
+
Besides that, the drawing area also allows for a customized coordinate system, by doing so, the coordinate mapping is done by the drawing area automatically.
0 commit comments