Commit Graph

291 Commits

Author SHA1 Message Date
jkriege2
d6b6a71395 fixes/improvements: JKQTMathText renders several LaTeX strings better (simple braces in math mode, +-*... as symbols with proper sizes in math mode, added some missing instruction aliases, improved size of \vec and \hat, corrrected fonts usage for mathrm, 2022-06-03 13:33:18 +02:00
jkriege2
f33838f187 added debug-feature to show boxes around text in the plot 2022-06-02 23:05:58 +02:00
jkriege2
bf21d53149 improved high-dpr-support in JKQTMathText 2022-06-02 22:17:38 +02:00
jkriege2
4031e9a54e bugfixed styling example 2022-06-02 21:42:10 +02:00
jkriege2
cbaf97c8be updated styling example with context-menu for editing the current line, which shows available values 2022-06-02 21:25:23 +02:00
jkriege2
5fae11472c added seaborn style 2022-05-23 22:44:58 +02:00
jkriege2
ae5713ea68 implemented feature request #69: Show data tooltip on MouseMove by adding general actions that can be executed on a mouse move operation, when no mouse button is pressed, modification by keyboard modifiers is possible though 2022-05-15 14:15:15 +02:00
jkriege2
57ce23426d M_PI not easily defined for every compiler 2022-05-12 11:57:24 +02:00
jkriege2
1a9593409a fixed QT6 compatibility 2022-05-12 10:35:05 +02:00
jkriege2
ee2477a1f6 implemented wiggle plots (feature request #68) 2022-05-11 22:55:23 +02:00
jkriege2
c6aa942486 improved/fixed qmake-build scripts fot Qt6 2022-04-24 22:07:16 +02:00
jkriege2
85e60e3e56 updated documentation and whatsnew.dox 2022-04-22 20:19:25 +02:00
jkriege2
0a5fa42470 more required changes for Qt6 compatibility 2022-04-22 13:27:31 +02:00
jkriege2
4ded1a2028 first round of Qt6 compatibility changes 2022-04-21 10:57:24 +02:00
jkriege2
e275651881 fixed CMake version requirement 2022-04-18 23:12:08 +02:00
jkriege2
8835febb96 modified CMakeLists.txt to match Qt6 2022-04-18 23:10:05 +02:00
jkriege2
5abac3b3db fixed CMakeLists.txt cmake-version to work on appveyor Linux build 2022-04-18 22:42:18 +02:00
jkriege2
d51d47b2f4 requiring higher cmake-version, due to CMP0076
using CMAKE_CURRENT_LIST_DIR instead of CMAKE_CURRENT_SOURCE_DIR
2022-04-18 22:00:31 +02:00
jkriege2
2d44520b82 improved FindCImg.cmake: now also adds proper required link libs and compile options, generates TARGET CImg:CImg 2022-04-18 13:54:08 +02:00
jkriege2
098bcf9c8b activated high-dpi scaling for all JKQtPlotter examples 2022-04-15 23:01:09 +02:00
jkriege2
fc7622e901 several minor bugfixes to QMake build system 2020-10-19 16:05:18 +02:00
Patrick Stewart
2e85504d89 Support Qt in namespace 2020-10-02 14:41:26 +01:00
jkriege2
a371dc86a5 updated predefined styles to updated styling system 2020-09-28 12:46:58 +02:00
jkriege2
534745229d several bugfixes for reading styles, improved default styling for graphs (filled, barcharts, ...) 2020-09-27 17:16:18 +02:00
jkriege2
fc321f027b - breaking: geometric elements constructor: removed all styling properties, added setStyle()-functions to replace them. This is necessary to better work with the extended Styling system
- breaking: extended styling system for graphs
2020-09-26 15:58:58 +02:00
jkriege2
f368855076 renamed JKQTPPlotObject->JKQTPGeometricPlotElement and added new base class JKQTPPlotAnnotationElement 2020-09-21 13:15:57 +02:00
jkriege2
9dbfd6e173 reworked class hierarchy of bar charts 2020-09-17 16:59:57 +02:00
jkriege2
4c98310147 pushed doxygen version to 1.8.20 2020-09-12 15:44:14 +02:00
jkriege2
7296216a3f fixed diverse compile errors from CI (Linx: pthreads missing, VS: could not determine template argument) 2020-09-12 14:39:21 +02:00
jkriege2
f9b85ba4e8 fixed docu 2020-09-11 23:27:31 +02:00
jkriege2
22578725b7 added Mandelbrot Set Explorer and an Example 2020-09-11 23:22:04 +02:00
jkriege2
fa7b08940e fixed rename setPalette()->setColorPalette() in examples 2020-09-11 15:28:56 +02:00
jkriege2
ff373236d4 renamed JKQTPColorPaletteStyleAndToolsMixin::setPalette() -> JKQTPColorPaletteStyleAndToolsMixin::setColorPalette() 2020-09-11 12:14:51 +02:00
jkriege2
2e2d8dc7d6 link examples evalcurve and parametriccurve 2020-09-10 18:02:09 +02:00
jkriege2
ba856b594f removed/breaking change: removed the overlay elements (derived from JKQTPOverlayElement), which were not very well set up and are more confusing than useful. 2020-09-09 11:26:04 +02:00
jkriege2
f77bc97ca5 - cleanup of class-hierarchy of evaluated functions
- added slots for several properties of evaluated functions
- updated examples
2020-09-07 20:58:20 +02:00
jkriege2
414e12920e - added further base-class JKQTPEvaluatedFunctionWithParamsGraphBase, which extends JKQTPEvaluatedFunctionGraphBase with parameters
- modified plot-function with parameters, as the old unsafe way of giving a void* for parameters is no longer necessary with C++-lambdas and std::bind()
2020-09-05 13:47:46 +02:00
jkriege2
29ee1aa376 created common base class JKQTPFunctionLineGraphBase for all graphs that display evaluated functions 2020-09-05 13:14:46 +02:00
jkriege2
8c0c8bf62e simplification/unification: JKQTPXFunctionLineGraph and JKQTPYFunctionLineGraph now use JKQTPAdaptiveFunctionGraphEvaluator to generate sample points 2020-09-05 12:44:02 +02:00
jkriege2
c57c672f78 new: a new graph class JKQTPXYFunctionLineGraph draws parametric 2D curves (f(t) -> [x,y]) 2020-09-04 23:47:03 +02:00
jkriege2
33a9cb5b2d bugfix: straight lines in pie and chord were not drawn as curve in DrawMode=DrawAsMathematicalCurve 2020-09-03 23:28:48 +02:00
jkriege2
e97c0a13fe added simple geometric example, which produces the images fro teh documentation 2020-09-03 23:09:15 +02:00
jkriege2
279ef7880a - improved: geometric objects now use an adaptive drawing algorithm to represent curves (before e.g. ellipses were always separated into a fixed number of line-segments)
- improved: constructors and access functions for several geometric objects (e.g. more constructors, additional functions to retrieve parameters in diferent forms, iterators for polygons, ...)
- new: all geometric objects can either be drawn as graphic element (i.e. lines are straight line, even on non-linear axes), or as mathematical curve (i.e. on non-linear axes, lines become the appropriate curve representing the linear function, connecting the given start/end-points). The only exceptions are ellipses (and the derived arcs,pies,chords), which are always drawn as mathematical curves
2020-09-03 23:08:52 +02:00
jkriege2
87755ce515 diverse code improvements, increased copyright year to 2020 2020-08-26 12:58:23 +02:00
jkriege2
35000a8e38 some fixes to documentation and geometry example 2020-08-23 13:58:47 +02:00
jkriege2
4e1c09c24b improved arrows in geometric elements:
- JKQTPGeoLine, JKQTPGeoPolyLines and JKQTPGeoInfiniteLine support decorators
- improved decorator drawing
- more decorator types
- improved example geometry
- added specific example geo_arrows
- improved documentation
- code cleanup
2020-08-23 13:13:53 +02:00
jkriege2
b3f4c64564 added geometric plot JKQTPGeoArrow object to draw arrows 2020-08-21 18:31:58 +02:00
jkriege2
7e9bad29b4 fix for issue #45:
- for Qt 5.15: added missing #include statements that became necessary since Qt 5.15
- for Qt 5.15: fixed use of several deprecated functions
- for Qt 5.15/6: removed usage of QMatrix
2020-08-14 14:12:59 +02:00
jkriege2
52d3349199 improvements in CMake setup:
- removed more global settings (these are now target-specific)
- exporting now Config.cmake, which contains find_package(Qt) and loads a separate Targets.cmake
2020-06-28 15:53:26 +02:00
jkriege2
4c6498e861 fixed some documentation errors (images didn't show up, because of broken links) 2019-11-24 12:43:37 +01:00
jkriege2
9a667b9c22 several compiler warnings fixed 2019-11-24 12:20:43 +01:00
jkriege2
56660e2f4b fixed several compiler warnings (mostly Visual Studio): clean-up of use of math constants M_PI ... and j0()/j1()/...-functions etc. 2019-11-24 10:42:44 +01:00
jkriege2
39c43ef8ab improved speedtest example (context-menu now allows to select the different options) and updated performance table for a newer processor 2019-11-18 16:46:15 +01:00
jkriege2
f3fa587541 reworked CMake build system ... now JKQT...Config.cmake-files are written into the correct directory 2019-11-18 15:59:06 +01:00
jkriege2
d494407e76 fixed some compiler warnings (qSort is deprecated ... using std::sort instead) 2019-11-18 13:08:42 +01:00
Ondřej Čertík
69674d5f81 Fix a typo 2019-11-17 10:42:44 -07:00
jkriege2
23620c2b9a added greek letter sample for JKQtMathTest_test 2019-11-16 15:03:16 +01:00
jkriege2
ef482042db fixed documentation 2019-11-16 13:58:24 +01:00
jkriege2
57e8fb3362 added CImg interface (header-only) + examples
some corrections for OpenCV examples
2019-11-16 13:50:43 +01:00
jkriege2
e087f40870 documentation improvement for OpenCV + minor fixes 2019-11-16 11:35:59 +01:00
jkriege2
528f6fe537 - added post-build deploy for OpenCV and Qt-DLLs (on windows)
- checked OpenCV-examples and improved OpenCV-copy-tool (now copies as an image column, as appropriate!)
2019-11-10 15:35:07 +01:00
Dan Timson
3a1b536c58 Minor documentation clarifications 2019-09-16 18:05:40 +01:00
jkriege2
686fb1eeb1 using mix-in class JKQTPColorPaletteWithModifierStyleAndToolsMixin now also in JKQTPMathImage ... 2019-07-31 22:10:26 +02:00
jkriege2
4347d27c04 * reworked color-palette-system:
1. added several new (JKQTPMathImageBone, JKQTPMathImageCool, JKQTPMathImageCopper, JKQTPMathImageAutumn, JKQTPMathImageSeismic, JKQTPMathImageTerrain, JKQTPMathImageViridis, JKQTPMathImageMagma, JKQTPMathImageInferno, JKQTPMathImagePlasma)
  2. reworked LUT-types (now a QVector, instead of a C-array, suing malloc)
  3. reworked available functions to build LUTs (cleanup, more options, clearer names)
  4. added functions to load palettes from files
  5. Improved documentation
* added example for user-controlled color palettes
2019-07-28 16:30:50 +02:00
jkriege2
01b6d7cee6 JKQTMathText: improved font-handling system + new fraktur and caligraphic, as well as special math sans/serif fonts-classes 2019-06-30 17:34:41 +02:00
jkriege2
933d374533 + added license/readme output to INSTALL-target in CMake
+ added example demonstrating how to link against a CMake-build of JKQTPlotter
+ improved documentation
2019-06-22 16:42:42 +02:00
jkriege2
34b31812ba + bugfixed DLL-export when building shared libraries
+ CMAKE now properly adds the Build-type when building libraries
+ removed some more compiler warning
2019-06-22 14:21:32 +02:00
jkriege2
77d799a742 - removed many compiler warnings
- enabled compiler-warnings in CMake-build
- several bugfixes (also to appveyor.yml)
- removed some function from JKQTBasePlotter, which were (messy) shortcuts to adding graphs
2019-06-21 21:48:14 +02:00
jkriege2
fb5b497356 - several bugfixes (doc etz.)
- decoration of library names in CMake-builds
- renamed advancedlineandfillstyling to advplotstyling to solve problems with too long filenames
2019-06-21 13:44:49 +02:00
jkriege2
5ed80e5ce9 bugfixed README.md 2019-06-20 22:46:25 +02:00
jkriege2
5e8081e088 bugfixed build-scripts 2019-06-20 22:30:06 +02:00
jkriege2
7311948d53 using CMake now to build examples
restructuring/massive renaming to make this possible
2019-06-20 22:24:47 +02:00
jkriege2
fae6b28a58 further reorganizations of code 2019-06-20 16:25:29 +02:00
jkriege2
60999478f8 added CMake build scripts for libraries + some necessary reorganizations 2019-06-20 15:18:58 +02:00
jkriege2
d9e9a5aa67 added adaptor functions for violin plots 2019-06-18 19:36:54 +02:00
jkriege2
f5abce1e6d added violin plots and an example demonstrating their usage/generation from random data 2019-06-16 19:19:52 +02:00
jkriege2
baab796541 bugfixes to documentation 2019-06-13 13:00:27 +02:00
jkriege2
2b5a30a668 statistics library: added functions for grouped statistics and adaptors for them
added example for grouped statistics
some improvements to documentation
2019-06-13 10:29:12 +02:00
jkriege2
8abb2492fa statistics library: added functions for 2D histograms and 2D kernel density estimates
statistics library: added adaptor functions for 2D histograms and 2D kernel density estimates
added examples for the two above
2019-06-11 18:06:03 +02:00
jkriege2
9ff9076e63 moved basic polynomial functions to jkqtpmathtools.h
renamed jkqtptoolsdebugging.h to jkqtpdebuggingtools.h
added jkqtpstatWeightedCoefficientOfDetermination()
2019-06-02 15:39:10 +02:00
jkriege2
ad38ac47f2 added weighted sum of deviations (chi-square) and coefficient of determination (R^2) to statistics library
added log regression model to statistics library
added output of R^2 and chi^2 to regression adaptors (output in graph label)
bugfixed some documentation typos
2019-06-02 14:17:49 +02:00
jkriege2
2d0b1e7935 added regression, IRLS robust regression, weighted regression and polynomial fitting/evaluation to statistics library
added example for regression, IRLS robust regression, weighted regression and polynomial fitting
2019-06-01 18:15:04 +02:00
jkriege2
6fe42748ed improvements to iterator interface (full random access iterators, erase-remove-idion)
added specific example for the iterator interface
2019-05-31 14:51:01 +02:00
jkriege2
c56b02998f improvements to documentation structure 2019-05-30 11:52:48 +02:00
jkriege2
fdc4a1deb9 bugfixes (added missing DEFINE-compiler-flags for Visual C++, doxygen warnings/errors removed) 2019-05-30 11:19:56 +02:00
jkriege2
ff489e9fac bugfixes 2019-05-30 09:48:51 +02:00
jkriege2
356cc34349 new: Statistics library with functions to calculate histograms, regression, kernel density estimates, ... including a new example
new: iterator interface and improved documentation for JKQTPDatastore
reorganization of library (better separation of common code in jkqtpcommon and other code e.g. in jkqtplotter or jkqtmathtext)
2019-05-29 22:40:02 +02:00
jkriege2
5a4a778faf improved contour plots + added example for contour plots
split contour plot into two variant, one for C-array-data and one for image column data
improved doxygen annotation
2019-05-19 15:22:56 +02:00
jkriege2
5f62722d38 code reorganization 2019-05-18 13:22:46 +02:00
jkriege2
2b1649c7b7 added slanted fractions to JKQTMathText + improved documentation 2019-05-18 11:42:35 +02:00
jkriege2
ad48bf1873 improvements to documentation 2019-05-18 10:49:49 +02:00
jkriege2
8edab9865e added JKQTPDatastore::appendFromContainerToColumn() and JKQTPDatastore::appendToColumn() that extend columns with additional rows (and move the to internal storage implicitly) 2019-05-17 08:59:33 +02:00
jkriege2
8bbfe37436 minor changes to doc 2019-05-16 21:32:44 +02:00
jkriege2
56e54baee9 new: rework/extension of the JKQTPDatastore interface (WIP)
new: Example simpletest_datastore, which demonstrates the extended interface of JKQTPDatastore
2019-05-16 21:28:15 +02:00
jkriege2
34366a42a0 several new plot symbols 2019-05-12 17:35:08 +02:00
jkriege2
86ba47db9a some bugfixes in build scripts/QMake projects 2019-05-11 16:09:44 +02:00
jkriege2
20352285ca new: improved styling options of boxplots (options to style many more elements of the plot), moved JKQTPGraphBoxplotStyleMixin to its own file
new: notched boxplots
new: example for styling boxplots
2019-05-11 15:56:11 +02:00
jkriege2
477f48be70 compile error fixed in example 2019-05-05 21:47:15 +02:00
jkriege2
c873041d93 update: allow to style median-line of boxplots independently 2019-05-05 19:58:52 +02:00
jkriege2
67d23150f2 new: user-interaction tool that shows coordinates of data points near the current mouse position (when mouse is dragged, while mouse button is pressed)
new: user-interaction tool that measures distances and angles when mouse is dragged, while mouse button is pressed)
update: reworked error indicator base classes and styling settings
update: improved boxplot styling with a separate full-featured pen for the whiskers
2019-05-05 19:31:20 +02:00
jkriege2
f710048f49 clean-up of special context menu code + added documentation 2019-05-01 12:46:17 +02:00
Jan W. Krieger
fcc8122d75 fixed some compile errors in example 2019-04-27 22:53:01 +02:00
jkriege2
3dc56510e9 changed backgroundColor-properties for plot/widget/key to backgroundBrush, modified example to demonstrate this 2019-04-24 19:33:51 +02:00
jkriege2
1064050b65 added example for advanced filling and line options 2019-04-23 23:50:06 +02:00
jkriege2
a62825f9e5 fixed documentation error 2019-04-22 18:40:01 +02:00
jkriege2
62fc116296 added Styling-Mix-In for boxplots 2019-04-22 17:20:33 +02:00
jkriege2
a67975e680 - major rework of graph styling (now using mix-in classes)
- some reorganizations into different files
- additional options for graph filling (color gradients, textures, ...) as provided by QBrush
- PREPARATIONS: added a general feature to JKQTPPlotElement which allows to show a graph in a highlighted state (if supported by the derived graph class!)
- JKQTPXYParametrizedScatterGraph: added functors to transform column values into symbol type+size and line-width to give even more control
- JKQTPStepHorizontalGraph has been renamed to JKQTPSpecialLineHorizontalGraph (vertical variants also) and have gained additional features (baseline for filling and drawing of symbols)
- filled curve graphs (e.g. JKQTPSpecialLineHorizontalGraph) are now merely a specializedly initialized JKQTPSpecialLineHorizontalGraph
2019-04-22 13:27:50 +02:00
jkriege2
14d4857670 improvements to JKQtMathText when rendering non-XITS unicode fonts 2019-03-06 23:19:05 +01:00
Jan W. Krieger
6f703ad2c4 fixed ordering of examples 2019-02-12 09:36:00 +01:00
Jan W. Krieger
2400245e94 - reworked how MTsubscriptNode/MTsuperscriptNode operate, also when the previous node was a brace (i.e. special shifts of sub/superscript)
- improved documentation
- fixed a bug in \overbrace
2019-02-12 09:32:20 +01:00
jkriege2
3050debd16 - RGB-image plots now work properly with inverted axes (image is inverted, befor image was not shown at all)
- added example for simple RGB math image plot with RGB/CMY-color mapping
- fixed some of the OpenCV examples (improved QMake-project files)
2019-02-09 22:17:01 +01:00
jkriege2
8ce6987315 minor fixes 2019-02-09 18:46:12 +01:00
jkriege2
d886757a1c 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
jkriege2
69ad2a0182 - added styling system for JKQTPlotter (+example app)
- improved documentation
- changed: using static const variables instead of \c #define for fixed default values (e.g. JKQTPImageTools::LUTSIZE, JKQTPImageTools::PALETTE_ICON_WIDTH, JKQTPlotterDrawinTools::ABS_MIN_LINEWIDTH, JKQTMathText::ABS_MIN_LINEWIDTH ...)
- new: added debugging option, which surrounds different regions with visible rectangles (JKQTBasePlotter::enableDebugShowRegionBoxes() )
- fixed: colorbars at top were positioned over the plot label
- new: frames (plot viewport, key/legend ...) may be rounded off at the corners
- new: diverse new styling options (default font name/size ...)
- speed improvements to JKQTMathText::useSTIX()
2019-02-09 12:43:12 +01:00
jkriege2
6082010c98 finished mouse interaction example + improved documentation 2019-02-04 13:15:56 +01:00
jkriege2
08932f2863 improved documentation 2019-02-03 20:25:25 +01:00
jkriege2
4a63afc709 - fixed zoomin/synchronized graphs, which was broken by former update to user-interaction
- improved documentation & HTML-sytle
- removed datarange-facilities (not really useful!)
2019-02-03 14:08:16 +01:00
Jan W. Krieger
c5b9504189 finished rework of user-interaction API for the mouse 2019-01-28 17:05:03 +01:00
Jan W. Krieger
17a4473e4f reworked how context-menus are specified/activated
prepared for future reworks
some renames
2019-01-28 10:46:38 +01:00
Jan W. Krieger
75d8fc8314 reworked the functions that allow to specify how JKQTPlotter reacts to mouse single-click actions 2019-01-27 23:24:12 +01:00
jkriege2
dabc061de9 implemented panning the plot with the mouse
fixed: switchability of zoomByMouseWheel
fixed: 0 on axis sometimes shown as 10^{-17}...
2019-01-27 08:30:59 +01:00
jkriege2
c74e87ad31 improved user-interactions (& their example) 2019-01-26 20:12:54 +01:00
jkriege2
0e2237e92f - more refactorings to modernize C++
- fixed JKQTPColumnMathImage with modifiers
- improved documentation
- make use of link_prl/create_prl in QMake projects (see http://doc.qt.io/qt-5/qmake-advanced-usage.html)
2019-01-26 18:00:42 +01:00
jkriege2
847fcb7a35 improved code (cont...&-parameters, diverse refactoring for C++1//modernC++, diverse corrections ...) 2019-01-26 12:28:44 +01:00
jkriege2
df257a6b1a major renaming to get rid of the get_.../set_... function names
improved documentation
2019-01-25 20:17:07 +01:00
jkriege2
a73deb098d bugfixed missing include 2019-01-25 19:24:44 +01:00
jkriege2
d35aa31584 improved documentation
started to add example for user-interactions in JKQTPlotter
2019-01-24 22:49:10 +01:00
jkriege2
aad32df585 try to fix C++1-issues for VisualStudio 2019-01-20 17:32:12 +01:00
jkriege2
b539d8af59 switch on C++1 by default 2019-01-20 16:26:32 +01:00
jkriege2
2d08250db6 - added new graph: JKQTPSingleColumnSymbolsGraph
- fixed additional renames JKQTPLotter->JKQTPlotter
- improved documentation (boxplots, JKQTMathText)
- added several examples
2019-01-20 16:15:10 +01:00
jkriege2
86c2f3fa76 extensive renaming of classes --> using a unified CamelCase-Scheme now for class/function names 2019-01-20 10:49:29 +01:00
jkriege2
306436f770 corrected documentation 2019-01-19 18:06:30 +01:00
jkriege2
7adc6c8b82 cleaned/improved doc further 2019-01-19 16:13:08 +01:00
jkriege2
488df45829 improved code and files for doxygen documentation 2019-01-12 23:11:08 +01:00
jkriege2
3688595f51 renamed MD-file 2019-01-12 17:46:25 +01:00
jkriege2
992c76f64f improved readme-structure 2019-01-12 14:02:12 +01:00
jkriege2
3e21d8a17f fixed formating 2019-01-08 20:06:19 +01:00
jkriege2
4ed1d41e8c fixed some typos/wrong links 2019-01-08 20:04:51 +01:00
jkriege2
828afb1138 added example that explains how to use JKQtPlotter from the Qt Form Designer 2019-01-08 20:02:05 +01:00
jkriege2
5b910fc9b3 added example for geometric objects 2019-01-07 21:00:56 +01:00
Jan W. Krieger
5beed78563 reorganized folder structure in root directory (there are now distinct folders for INCLUDE, STATIC, DYNAMIC libs and examples moved to the folder examples) 2018-12-28 17:46:47 +01:00