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
@@ -54,7 +54,7 @@ $$../examples/quick_start.rs$$
54
54
55
55
## Demo Projects
56
56
57
-
To learn how to use Plotters in different scenarios by checking out the following demo projects:
57
+
To learn how to use Plotters in different scenarios, check out the following demo projects:
@@ -63,7 +63,7 @@ To learn how to use Plotters in different scenarios by checking out the followin
63
63
64
64
## Trying with Jupyter evcxr Kernel Interactively
65
65
66
-
Plotters now supports integrate with `evcxr` and is able to interactively drawing plots in Jupyter Notebook.
66
+
Plotters now supports integration with `evcxr` and is able to interactively draw plots in Jupyter Notebook.
67
67
The feature `evcxr` should be enabled when including Plotters to Jupyter Notebook.
68
68
69
69
The following code shows a minimal example of this.
@@ -104,7 +104,7 @@ figure
104
104
105
105
## Interactive Tutorial with Jupyter Notebook
106
106
107
-
*This tutorial is now working in progress and isn't complete*
107
+
*This tutorial is a work in progress and isn't complete*
108
108
109
109
Thanks to the evcxr, now we have an interactive tutorial for Plotters!
110
110
To use the interactive notebook, you must have Jupyter and evcxr installed on your computer.
@@ -114,57 +114,55 @@ After that, you should be able to start your Jupyter server locally and load the
114
114
115
115
```bash
116
116
git clone https://github.com/38/plotters-doc-data
117
-
cdplotteres-doc-data
117
+
cdplotters-doc-data
118
118
jupyter notebook
119
119
```
120
120
121
121
And select the notebook called `evcxr-jupyter-integration.ipynb`.
122
122
123
-
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)
123
+
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)
124
124
125
125
## Plotting in Rust
126
126
127
-
Rust is a perfect language for data visualization. Although there are many mature visualization libraries in many different languages.
128
-
But Rust is one of the best languages fits the need.
127
+
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.
129
128
130
129
***Easy to use** Rust has a very good iterator system built into the standard library. With the help of iterators,
131
-
Plotting in Rust can be as easy as most of the high-level programming languages. The Rust based plotting library
130
+
plotting in Rust can be as easy as most of the high-level programming languages. The Rust based plotting library
132
131
can be very easy to use.
133
132
134
-
***Fast** If you need rendering a figure with trillions of data points,
135
-
Rust is a good choice. Rust's performance allows you to combine data processing step
133
+
***Fast** If you need to render a figure with trillions of data points,
134
+
Rust is a good choice. Rust's performance allows you to combine the data processing step
136
135
and rendering step into a single application. When plotting in high-level programming languages,
137
136
e.g. Javascript or Python, data points must be down-sampled before feeding into the plotting
138
137
program because of the performance considerations. Rust is fast enough to do the data processing and visualization
139
138
within a single program. You can also integrate the
140
-
figure rendering code into your application handling a huge amount of data and visualize it in real-time.
139
+
figure rendering code into your application to handle a huge amount of data and visualize it in real-time.
141
140
142
-
***WebAssembly Support** Rust is one of few the language with the best WASM support. Plotting in Rust could be
141
+
***WebAssembly Support** Rust is one of the languages with the best WASM support. Plotting in Rust could be
143
142
very useful for visualization on a web page and would have a huge performance improvement comparing to Javascript.
144
143
145
144
## Plotting on HTML5 canvas with WASM Backend
146
145
147
-
Plotters currently supports backend that uses the HTML5 canvas. To use the WASM support, you can simply use
146
+
Plotters currently supports a backend that uses the HTML5 canvas. To use WASM, you can simply use
148
147
`CanvasBackend` instead of other backend and all other API remains the same!
149
148
150
149
There's a small demo for Plotters + WASM available at [here](https://github.com/plotters-rs/plotters-wasm-demo).
151
150
To play with the deployed version, follow this [link](https://plotters-rs.github.io/wasm-demo/www/index.html).
152
151
153
-
154
152
## What types of figure are supported?
155
153
156
154
Plotters is not limited to any specific type of figure.
157
155
You can create your own types of figures easily with the Plotters API.
158
156
159
-
But Plotters provides some builtin figure types for convenience.
157
+
Plotters does provide some built-in figure types for convenience.
160
158
Currently, we support line series, point series, candlestick series, and histogram.
161
159
And the library is designed to be able to render multiple figure into a single image.
162
160
But Plotter is aimed to be a platform that is fully extendable to support any other types of figure.
163
161
164
162
## Concepts by examples
165
163
166
-
### Drawing Back-ends
167
-
Plotters can use different drawing back-ends, including SVG, BitMap, and even real-time rendering. For example, a bitmap drawing backend.
164
+
### Drawing Backends
165
+
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.
177
-
Plotters support multiple integrating into a single image.
175
+
Plotters supports integrating multiple figures into a single image.
178
176
This is done by creating sub-drawing-areas.
179
177
180
-
Besides that, the drawing area also allows the customized coordinate system, by doing so, the coordinate mapping is done by the drawing area automatically.
178
+
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