|
2 | 2 |
|
3 | 3 | Data visualization can help programmers and scientists identify trends in their data and efficiently communicate these results with their peers. Modern C++ is being used for a variety of scientific applications, and this environment can benefit considerably from graphics libraries that attend the typical design goals toward scientific data visualization. Besides the option of exporting results to other environments, the customary alternatives in C++ are either non-dedicated libraries that depend on existing user interfaces or bindings to other languages. **Matplot++** is a graphics library for data visualization that provides interactive plotting, means for exporting plots in high-quality formats for scientific publications, a compact syntax consistent with similar libraries, dozens of plot categories with specialized algorithms, multiple coding styles, and supports generic backends. |
4 | 4 |
|
5 | | -<!--./gh-md-toc --insert README.md--> |
6 | | -<!--ts--> |
7 | | - * [Gallery](#gallery) |
8 | | - * [Examples](#examples) |
9 | | - * [Line Plots](#line-plots) |
10 | | - * [Data Distribution](#data-distribution) |
11 | | - * [Discrete Data](#discrete-data) |
12 | | - * [Geography](#geography) |
13 | | - * [Polar Plots](#polar-plots) |
14 | | - * [Contour Plots](#contour-plots) |
15 | | - * [Vector Fields](#vector-fields) |
16 | | - * [Surfaces](#surfaces) |
17 | | - * [Graphs](#graphs) |
18 | | - * [Images](#images) |
19 | | - * [Annotations](#annotations) |
20 | | - * [Appearance](#appearance) |
21 | | - * [Exporting](#exporting) |
22 | | - * [Coding styles](#coding-styles) |
23 | | - * [Member vs. Free-standing Functions](#member-vs-free-standing-functions) |
24 | | - * [Reactive figures](#reactive-figures) |
25 | | - * [Method Chaining](#method-chaining) |
26 | | - * [Ranges](#ranges) |
27 | | - * [Common Utilities](#common-utilities) |
28 | | - * [Motivation and Details](#motivation-and-details) |
29 | | - * [Integration](#integration) |
30 | | - * [CMake (manual download)](#cmake-manual-download) |
31 | | - * [CMake (automatic download)](#cmake-automatic-download) |
32 | | - * [Other build systems](#other-build-systems) |
33 | | - * [Dependencies](#dependencies) |
34 | | - * [Backends](#backends) |
35 | | - * [Contributing](#contributing) |
36 | | - * [References](#references) |
37 | | -<!--te--> |
38 | | - |
| 5 | +<!-- START doctoc --> |
| 6 | +<!-- END doctoc --> |
39 | 7 |
|
40 | 8 | ## Gallery |
41 | 9 |
|
@@ -1399,6 +1367,7 @@ Install [CPM.cmake](https://github.com/TheLartians/CPM.cmake) and then: |
1399 | 1367 | CPMAddPackage( |
1400 | 1368 | NAME matplotplusplus |
1401 | 1369 | GITHUB_REPOSITORY alandefreitas/matplotplusplus |
| 1370 | + GIT_TAG origin/master # or whatever tag you want |
1402 | 1371 | ) |
1403 | 1372 | # ... |
1404 | 1373 | target_link_libraries(my_target PUBLIC matplot) |
@@ -1459,15 +1428,14 @@ If you're in a hurry, here is a summary of the backends we have and the backends |
1459 | 1428 | * Pros: It seems to be working for everyone. *In practice, this is current default backend you'll get right now.* |
1460 | 1429 | * Cons: Pipes are comparatively slow and unidirectional |
1461 | 1430 | * OpenGL |
1462 | | - * Pros: Efficient for many FPS |
1463 | | - * Cons: Unacceptably blocks the main thread on some operating systems |
| 1431 | + * Pros: Efficient for many FPS. |
| 1432 | + *The experimental OpenGL backend already works for some plot categories.* |
| 1433 | + * Cons: Blocks the main thread on some operating systems |
| 1434 | +* Qt |
| 1435 | + * Same as OpenGL [[1](https://doc.qt.io/qt-5/qtgui-index.html#opengl-and-opengl-es-integration), [2](https://doc.qt.io/qt-5/qtopengl-index.html)] |
1464 | 1436 | * AGG |
1465 | 1437 | * Pros: Great for vector graphics |
1466 | | - * Cons: Unmaintained, 2D only, and non-interactive by itself |
1467 | | -* Qt / QPainter |
1468 | | - * Cons: Unacceptably blocks the main thread on some operating systems |
1469 | | -* OpenCV |
1470 | | -* Elements |
| 1438 | + * Cons: Unmaintained [[1](https://github.com/ghaerr/agg-2.6#roadmap), [2](https://github.com/mapnik/mapnik/wiki/MapnikRenderers), [3](http://www.antigrain.com/)], 2D only, and non-interactive by itself |
1471 | 1439 |
|
1472 | 1440 | ### Contributing |
1473 | 1441 |
|
|
0 commit comments