JKQtPlotter/examples
2019-05-11 15:56:11 +02:00
..
jkqtfastplotter_test moved build-projects for libs into their own subdirectories (works better with QMake, when building different libs) + necessary docu updates 2019-02-09 15:25:16 +01:00
jkqtmathtext_simpletest moved build-projects for libs into their own subdirectories (works better with QMake, when building different libs) + necessary docu updates 2019-02-09 15:25:16 +01:00
jkqtmathtext_test improvements to JKQtMathText when rendering non-XITS unicode fonts 2019-03-06 23:19:05 +01:00
jkqtplot_test new: user-interaction tool that shows coordinates of data points near the current mouse position (when mouse is dragged, while mouse button is pressed) 2019-05-05 19:31:20 +02:00
simpletest - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_advancedlineandfillstyling new: improved styling options of boxplots (options to style many more elements of the plot), moved JKQTPGraphBoxplotStyleMixin to its own file 2019-05-11 15:56:11 +02:00
simpletest_barchart - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_boxplot new: improved styling options of boxplots (options to style many more elements of the plot), moved JKQTPGraphBoxplotStyleMixin to its own file 2019-05-11 15:56:11 +02:00
simpletest_dateaxes - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_errorbarstyles new: user-interaction tool that shows coordinates of data points near the current mouse position (when mouse is dragged, while mouse button is pressed) 2019-05-05 19:31:20 +02:00
simpletest_filledgraphs moved build-projects for libs into their own subdirectories (works better with QMake, when building different libs) + necessary docu updates 2019-02-09 15:25:16 +01:00
simpletest_functionplot - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_geometric moved build-projects for libs into their own subdirectories (works better with QMake, when building different libs) + necessary docu updates 2019-02-09 15:25:16 +01:00
simpletest_imageplot moved build-projects for libs into their own subdirectories (works better with QMake, when building different libs) + necessary docu updates 2019-02-09 15:25:16 +01:00
simpletest_imageplot_modifier moved build-projects for libs into their own subdirectories (works better with QMake, when building different libs) + necessary docu updates 2019-02-09 15:25:16 +01:00
simpletest_imageplot_nodatastore moved build-projects for libs into their own subdirectories (works better with QMake, when building different libs) + necessary docu updates 2019-02-09 15:25:16 +01:00
simpletest_imageplot_opencv - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_impulsesplot - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_logaxes fixed documentation error 2019-04-22 18:40:01 +02:00
simpletest_parametriccurve - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_paramscatterplot - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_paramscatterplot_image - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_parsedfunctionplot - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_rgbimageplot - RGB-image plots now work properly with inverted axes (image is inverted, befor image was not shown at all) 2019-02-09 22:17:01 +01:00
simpletest_rgbimageplot_opencv - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_rgbimageplot_qt - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_speed - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_stackedbars - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_stepplots - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_symbols_and_errors - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
simpletest_symbols_and_styles added example for advanced filling and line options 2019-04-23 23:50:06 +02:00
simpletest_ui moved build-projects for libs into their own subdirectories (works better with QMake, when building different libs) + necessary docu updates 2019-02-09 15:25:16 +01:00
test_distributionplot new: improved styling options of boxplots (options to style many more elements of the plot), moved JKQTPGraphBoxplotStyleMixin to its own file 2019-05-11 15:56:11 +02:00
test_multiplot - major rework of graph styling (now using mix-in classes) 2019-04-22 13:27:50 +02:00
test_styledboxplot new: improved styling options of boxplots (options to style many more elements of the plot), moved JKQTPGraphBoxplotStyleMixin to its own file 2019-05-11 15:56:11 +02:00
test_styling compile error fixed in example 2019-05-05 21:47:15 +02:00
test_user_interaction new: user-interaction tool that shows coordinates of data points near the current mouse position (when mouse is dragged, while mouse button is pressed) 2019-05-05 19:31:20 +02:00
README.md new: improved styling options of boxplots (options to style many more elements of the plot), moved JKQTPGraphBoxplotStyleMixin to its own file 2019-05-11 15:56:11 +02: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
Special Step Line Plots in Different Styles JKQTPSpecialLineHorizontalGraph
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
Plotting Box Plots JKQTPBoxplotVerticalGraph, JKQTPBoxplotHorizontalGraph

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
advanced line and fill styling JKQTPXYLineGraph, JKQTPSpecialLineHorizontalGraph and JKQTPBarVerticalGraph
C++ vector of data
advanced line styling and filling
Styling of Boxplots Modifying different Aspects of the Styling of boxplots
Styling of JKQTPlotter Modifying different Aspects of the Styling of JKQTPlotter

Image data Plots

Screenshot Description Notes
QImage as a Graph JKQTPImage
QImage drawn onto a plot with arbitrary scaling
inverted coordinate axes
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
Simple 3-channel Math RGB/CMY Image Plot JKQTPColumnRGBMathImage
image data in a C-style row-major array, not using internal datastore
RGB/CMY color compositing
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
inverted coordinate axesof the internal datastore

GUI Tools

Screenshot Description Notes
Placing JKQTPlotter into a Qt User-Interface-XML-file (*.ui) using Qt Form Designer
parsed function plots (JKQTPXParsedFunctionLineGraph)
User Interaction different possibilities of user-interaction in JKQtPlotter

Plot Layout & Styling

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
Styling of JKQTPlotter Modifying different Aspects of the Styling of JKQTPlotter

More Complex Examples

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
Plotting a Statistical Distribution of Data Combines several different graphs to draw random values, their distribution and some statistical properties

Tools and Special Features

Screenshot Description Notes
JKQTMathText: Simple Demonstration
JKQTMathText: Full Testing Application
JKQTFastPlotter: Example