JKQtPlotter/README.md
2018-11-29 22:48:31 +01:00

6.5 KiB

JKQtPlotter

This is an extensive library of function/data plotter classes for Qt (>= 4.7, tested with Qt up to 5.11).

This software is licensed under the term of the GNU Lesser General Public License 2.1 (LGPL 2.1) or above.

Screenshots

Screenshots directory

Examples

This section assembles some simple examples of usage. You can find more (complex) examples for the classes in this repository in the subfolder "test". All test-projects are Qt-projects that use qmake to build. You can load them into QtCreator easily.

Basic Plotting

Screenshot Description Notes
Very Basic Example (Line Graph) JKQTPxyLineGraph
C-style arrays of data
Line Graph with Different Symbols and Line Styles JKQTPxyLineGraph
C++ vector of data
setting line styles and symbol styles
automatic graph coloring
logarithmic axes JKQTPxyLineGraph and JKQTPgeoText
C++ vector of data
logarithmic axes
plot line styles
internal LaTeX parser
add commenting text to a graph
Simple Line/Symbol Graph With Errorbars JKQTPxyLineErrorGraph
C-style arrays of data
Simple Bar Charts JKQTPbarVerticalGraph
C-style arrays of data
Stacked Bar Charts JKQTPbarVerticalStackableGraph, JKQTPbarHorizontalStackableGraph
C++-style vectors of data

Image data Plots

Screenshot Description Notes
Basic 1-channel Raw C Image Plot JKQTPColumnMathImage
image data copied from C-style row-major array into a single column of the internal datastore
Describes several options of the image plotting classes (different ways of color coding, what to do with data above/below the limits etc.)
Modifier-Feature of Image Plots JKQTPColumnMathImage
image data copied from C-style row-major array into a single column of the internal datastore
Image is modified by a second image to display two data dimensions at the same time
Basic 1-channel Raw C Image Plot
without the internal datastore
JKQTPMathImage
image data in a C-style row-major array, not using internal datastore
1-channel OpenCV cv::Mat Image Plot JKQTPColumnMathImage
image data copied from OpenCV cv::Mat-structure into a single column of the internal datastore
RGB OpenCV cv::Mat Image Plot JKQTPColumnRGBMathImage
image data copied from OpenCV cv::Mat-structure into three columns of the internal datastore

Tools and Special Features

Screenshot Description Notes
JKQTMathText: LaTeX Renderer