JKQtPlotter/examples
2019-01-19 18:06:30 +01:00
..
jkqtfastplotter_test improved code and files for doxygen documentation 2019-01-12 23:11:08 +01:00
jkqtmathtext_simpletest cleaned/improved doc further 2019-01-19 16:13:08 +01:00
jkqtmathtext_test corrected documentation 2019-01-19 18:06:30 +01:00
jkqtplot_test added example for geometric objects 2019-01-07 21:00:56 +01:00
simpletest cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_barchart cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_dateaxes cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_errorbarstyles cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_filledgraphs cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_functionplot cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_geometric cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_imageplot cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_imageplot_modifier cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_imageplot_nodatastore cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_imageplot_opencv cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_impulsesplot cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_logaxes cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_parametriccurve cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_paramscatterplot cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_paramscatterplot_image cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_parsedfunctionplot cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_rgbimageplot_opencv cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_rgbimageplot_qt cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_speed cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_stackedbars cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_stepplots cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_symbols_and_errors cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_symbols_and_styles cleaned/improved doc further 2019-01-19 16:13:08 +01:00
simpletest_ui cleaned/improved doc further 2019-01-19 16:13:08 +01:00
test_multiplot cleaned/improved doc further 2019-01-19 16:13:08 +01:00
README.md corrected documentation 2019-01-19 18:06:30 +01:00

Example (JKQtPlotter): Examples & Tutorials

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.

Different Plot Data Styles

Screenshot Description Notes
Very Basic Example (Line Graph) JKQTPxyLineGraph
C++-style QVector arrays of data
Line Graph with Live Data / Speed Test JKQTPxyLineGraph
external std::array<double,N> data, not owned by datastore
live-data, measure plotting speed
tipps to increas plotting speed
Line Graph with Different Symbols and Line Styles JKQTPxyLineGraph
C++ vector of data
setting line styles and symbol styles
automatic graph coloring
Step Line Plots in Different Styles JKQTPstepHorizontalGraph (and JKQTPxyLineGraph)
C++ vector of data
different step modes, filled and line-only
Simple Line/Symbol Graph With Errorbars JKQTPxyLineErrorGraph
C-style arrays of data
Different Types of Error Indicators JKQTPxyLineErrorGraph
different styles of error indicators for x- and y-errors
C++-style QVector for data
styling error indicators
moving key and formatting plotter grid
Simple Bar Charts JKQTPbarVerticalGraph
C-style arrays of data

Stacked Bar Charts JKQTPbarVerticalStackableGraph, JKQTPbarHorizontalStackableGraph
C++-style vectors of data
Filled Curve Plots JKQTPbarVerticalGraph
setting/altering data in JKQTPdatstore directly
transparent plots
calculating histograms
Impulse Plots JKQTPimpulsesVerticalGraph and JKQTPimpulsesHorizontalGraph
C++-style QVector as plot data
Scatter Graph with Parametrized Symbols/Colors JKQTPxyParametrizedScatterGraph
C++-style QVector as plot data
modify scatter/points/line-graph properties by data
Draw an Artistic Image with a Parametrized Scatter Graph JKQTPxyParametrizedScatterGraph
C++-style QVector as plot data
rectangular arrangement of scatters
generative computer graphics
Plotting Parametric Curves JKQTPxyLineGraph and JKQTPxyParametrizedScatterGraph
C++-style QVector as plot data
parametric curve plotting
Plotting Mathematical Functions as Line Graphs JKQTPxFunctionLineGraph
diretly plotting C/C++-functions
Plotting Parsed Mathematical Functions as Line Graphs JKQTPxParsedFunctionLineGraph
plotting functions with the internal math equation parser/evaluator
Plotting Geometric Objects

Styling the Plot, Keys, Axes, ...

Screenshot Description Notes
logarithmic axes JKQTPxyLineGraph and JKQTPgeoText
C++ vector of data
logarithmic axes and styling
plot line styles
internal LaTeX parser
add commenting text to a graph


date/time axes JKQTPxyLineGraph and JKQTPfilledVerticalRangeGraph
C++ vector of data
date/time axes
plot min/max range graph
internal LaTeX parser
data from CSV files

Image data Plots

Screenshot Description Notes
QImage as a Graph JKQTPImage
QImage drawn onto a plot with arbitrary scaling)
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

GUI Tools and Plot Layout

Screenshot Description Notes
Layouting Several Plots Combining plots in Qt Layouts
linking plot axes
copy data from a std::map int the datastore
print plots/print preview
Placing JKQtPlotter into a Qt User-Interface-XML-file (*.ui) using Qt Form Designer
parsed function plots (JKQTPxParsedFunctionLineGraph)

Tools and Special Features

Screenshot Description Notes
JKQTmathText: LaTeX Renderer