https://github.com/ess-dmsc/qplot
Some convenience classes for scientific plotting in Qt
https://github.com/ess-dmsc/qplot
plotting qcustomplot qt5 scientific-visualization visualization
Last synced: 12 days ago
JSON representation
Some convenience classes for scientific plotting in Qt
- Host: GitHub
- URL: https://github.com/ess-dmsc/qplot
- Owner: ess-dmsc
- License: bsd-2-clause
- Created: 2017-06-13T16:51:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-02-13T12:07:39.000Z (3 months ago)
- Last Synced: 2025-05-09T18:18:53.295Z (14 days ago)
- Topics: plotting, qcustomplot, qt5, scientific-visualization, visualization
- Language: C++
- Size: 1.83 MB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QPlot
A library of for scientific plotting with Qt Widgets / C++.[](https://jenkins.esss.dk/dm/job/ess-dmsc/job/qplot/job/master/)
[](https://github.com/ess-dmsc/conan-qplot)Contains the following:
* Simple containers for list- and map-based histograms (QHist.h)
* KnightRiderWidget for scalar value visualization

* [qcustomplot](https://www.qcustomplot.com/) (v2.1.0)
* Convenience classes based on qcustomplot
- QPlot1D for 1-dimensional histogram widgets
- QPlotDraggable for selecting points and ranges in 1d plots

- QPlot2D for colormap widgets

- GradientSelector widget with visualization for color map gradients
A conan package of the library is available on the
[ESS Artifactory](https://artifactory.esss.lu.se/artifactory/ecdc-conan-release/).### Building
First make sure that the environment variable `QT6_DIR` points to the root location of you Qt6 installation.
```
export QT6_DIR=/path/to/qt6/root
```Then run the following commands
```
git clone https://github.com/ess-dmsc/qplot.gitcd qplot
mkdir build
cd build
cmake ..
make
```### Miscelleanous
You can build doxygen API docs with `make api_doc`, though there is little in terms of descriptions. The [test](test) subdirectory contains some interactive examples of how each widget is to be used. You can also glean examples of usage in the following projects that make extensive use of this library
* [daquiri](https://github.com/ess-dmsc/daquiri)
* [events-nmx-classify](https://github.com/ess-dmsc/events-nmx-classify)
* [qpx-gamma](https://github.com/usnistgov/qpx-gamma)