jkriege2
7b715541e7
bugfixed parantheses for JKQTPCALTintslashfrac labels + some Codiga-Violations
2022-09-28 01:46:19 +02:00
jkriege2
ce3f25e044
added new JKQTPCALabelType element JKQTPCALTformat for general formatting with a std::format-format string (available for C++>=20 only!!!)
2022-09-28 00:59:57 +02:00
jkriege2
c1b7f678c7
bugfixed issing include
2022-09-27 09:57:50 +02:00
jkriege2
71314496a0
minor bugfixes
2022-09-27 01:55:37 +02:00
jkriege2
2da8553e5d
NEW: barcharts may hav rounded corners now, via JKQTPBarGraphBase::setRectRadius()
2022-09-27 01:42:54 +02:00
jkriege2
153c80d64b
docfix
2022-09-26 23:16:28 +02:00
jkriege2
3de1df2b94
updated impulse plots & doc
2022-09-26 02:08:01 +02:00
jkriege2
465583b48d
bugfixed length of zero line
2022-09-25 21:22:29 +02:00
jkriege2
8855891eea
NEW: added option to draw a zero axis to JKQTPCoordinateAxis, which draws an axis at the origin of the coordinate system
2022-09-25 15:34:05 +02:00
jkriege2
e2fba9957e
added several setter variants for colors that have the alpha transparency value as separate parameter
2022-09-25 15:23:52 +02:00
jkriege2
1c0d0cb262
updated documentation (better structure & more info)
2022-09-24 20:18:08 +02:00
jkriege2
630b4d02f6
added missing include
2022-09-24 02:10:14 +02:00
jkriege2
efa0db1bbe
NEW: added possibility to scale the axis ticks by a factor (e.g. pi) to generate axes with ticks 0pi, 1pi, 2pi ...
2022-09-24 02:06:42 +02:00
jkriege2
bf4aa7ebdb
JKQTPCALTprintf for general axis tick formatting with a printf-format string
2022-09-24 00:16:57 +02:00
jkriege2
b536d79aeb
bugfix for older Qt versions
2022-09-23 21:45:30 +02:00
jkriege2
d2c2185f9c
IMPROVED/REWORKED: reworked JKQTPCADrawMode and coordinate axis drawing so the draw mide can be specified as ORed combination of flags from JKQTPCADrawModeElements, added flags to draw arrows at the end of the axis line
...
IMPROVED/REWORKED: coordinate axis code was refactored
NEW: all elements of a coordinate axis may have their own color now
2022-09-23 20:43:53 +02:00
jkriege2
a769437ae3
docfix
2022-09-22 01:43:46 +02:00
jkriege2
60a4656dd8
NEW: Added new JKQTPCALabelType elements (JKQTPCALTfrac...), so axis label ticks can be displayed as fractions 1/2 instead of 0.5
...
NEW: Added new JKQTPCALabelType element JKQTPCALTscientific, so axis label ticks can be displayed as numbers in scientific notation like 1.2E-34
auto-generate JKQTPCALabelType documentation
2022-09-22 00:44:54 +02:00
jkriege2
75db7cff42
dox update/fix
2022-09-19 21:55:12 +02:00
jkriege2
3c22130902
JKQTPlotter: IMPROVED/REWORKED: reworked JKQTPErrorPlotstyle and error indicator plotting so error-inidcators can be specified as ORed combination of flags from JKQTPErrorPlotstyleElements, added additional error indicator styles (half-bars, arrows...)
2022-09-14 22:03:46 +02:00
jkriege2
16df80c8c7
JKQTPlotter: NEW: Added signals JKQTBasePlotter::beforeExporting()/JKQTBasePlotter::afterExporting() and JKQTBasePlotterJKQTBasePlotter:beforePrinting()/JKQTBasePlotter::afterPrinting() which allow to modify the plot just before and just after an export/print
2022-09-12 00:35:45 +02:00
jkriege2
1fb0c540d9
JKQTPlotter:
...
- FIXED plot-size calculation for filled graphs
- added example for filled graphs with error indicators
2022-09-11 00:06:47 +02:00
jkriege2
6cc08c2041
JKQTPlotter: NEW: added new error indicator styles JKQTPErrorHalfBarsOutwards, JKQTPErrorHalfBarsInwards, JKQTPErrorHalfBarsAbove, JKQTPErrorHalfBarsBelow which are especially useful for barcharts
...
JKQTPlotter: added example for barcharts with errorbars
2022-09-11 00:03:31 +02:00
jkriege2
40748de442
JKQTPlotter: NEW: barcharts (derived from JKQTPBarGraphBase) can be configured to use different fill styles above and below the baseline
2022-09-10 14:35:16 +02:00
jkriege2
f11a98779e
JKQTPlotter: NEW: added JKQTPXYGraph::setKeyColumn()/JKQTPXYGraph::getKeyColumn() and JKQTPXYGraph::setValueColumn()/JKQTPXYGraph::getValueColumn() and corresponding functions in other classes.
2022-09-10 13:38:29 +02:00
jkriege2
117ec4a84f
bugfixed compile errors in CI
2022-09-08 08:55:52 +02:00
jkriege2
ffe9e904bc
bugfix attempt for compile error with QDataStream and JKQTPGraphSymbols
2022-09-07 21:50:58 +02:00
jkriege2
7846bbecf0
JKQTPlotter: added property drawLineInForeground to JKQTPXYLineGraph and JKQTPXYParametrizedScatterGraph
2022-09-07 21:12:26 +02:00
jkriege2
04284af94c
removed outdated (and doubled) README.md files
2022-09-06 12:46:43 +02:00
jkriege2
bf1416d5a6
added possibility to register custom symbols for JKQTPPlotSymbol()
2022-09-06 12:39:23 +02:00
jkriege2
f6def4b9d1
add symbol JKQTPFilledCharacterSymbol
2022-09-06 11:59:11 +02:00
jkriege2
2831dcbfb5
jkqtcommon/jkqtpdrawingtools.h: added template-function to draw a decorated line
...
JKQTPlotter: add auto-generated line-decorator images
2022-09-06 11:07:52 +02:00
jkriege2
4f73fbbaed
JKQTPlottter: added the option to draw a character from a font as symbol (JKQTPCharacterSymbol+QChar('').unicode())
2022-09-02 14:19:47 +02:00
jkriege2
74d54abac5
JKQTCommon: refactoring of JKQTPPlotSymbol(): using static datastructures to store precalculated drawing instructions (polygons, QPainterPath, ...), this should improve the drawing speed a bit and makes the code less complex
2022-09-02 12:27:12 +02:00
jkriege2
9f87652b56
updated style.inis
2022-09-01 22:25:28 +02:00
jkriege2
4bd7444c66
JKQTMathText: resetting pen and brush before drawing, so the previously set pen/brush does not influence the rendering result
2022-09-01 22:22:17 +02:00
jkriege2
7f206882c1
JKQTPlotter: useNonvisibleLineCompression is off by default
2022-09-01 22:21:24 +02:00
jkriege2
9b5549b8b5
JKQTPlotter: generate High-DPI Icons, where necessary/appropriate
2022-09-01 21:37:50 +02:00
jkriege2
6ebd8743ca
JKQTMathText:
...
- NEW: Added the Fira Math fonts as sans-serif symbol font to the library (as a ressource) and added JKQTMathText::useFiraMath()
- NEW: Added JKQTMathText::useGuiFonts()</li>
JKQTPlotter:
- NEW: Using JKQTMathText::useGuiFonts() for FONT rendering by default
2022-09-01 14:36:34 +02:00
jkriege2
4ef29635ea
JKQTPlotter: improved plotting speed for line-graphs by drawing a series of single lines instead of a polyline in some cases
2022-08-30 22:24:24 +02:00
jkriege2
abd62dc341
made randomnumber generators seeded with fixed values
2022-08-30 21:33:22 +02:00
jkriege2
889f95e7af
Merge branch 'master' of https://github.com/jkriege2/JKQtPlotter
2022-08-30 09:45:18 +02:00
jkriege2
eeff6e0036
fixed issue #73 : Symbol thickness differs in actual plot and legend
2022-08-30 09:44:40 +02:00
jkriege2
e729ebbc78
docfix
2022-08-29 21:46:38 +02:00
Jan W. Krieger
d7badaf424
workaround for old MS code!
2022-08-29 13:29:41 +02:00
jkriege2
6eba8acbf2
updated many documentation images to auto-generated ones
2022-08-28 22:48:14 +02:00
jkriege2
2aa6c8e3b6
JKQTPlotter: made resize-timer status accessible from outside via JKQTPlotter::isResizeTimerRunning()
...
made it's delay a global static variable that can be set and red with JKQTPlotter::setGlobalResizeDelay() and JKQTPlotter::getGlobalResizeDelay()
2022-08-28 22:47:46 +02:00
jkriege2
a1604e1eeb
added more auto-generated screenshots
2022-08-26 22:32:48 +02:00
jkriege2
b156fc7e40
NEW: added scatter graph JKQTPXYScatterGraph and JKQTPXYScatterErrorGraph
2022-08-26 12:41:42 +02:00
jkriege2
7030475568
NEW: added JKQTBasePlotter::grabPixelImage() and JKQTPlotter::grabPixelImage(), which grab the plotter into a QImage
...
NEW: added option to not display the preview dialog to JKQTBasePlotter::copyPixelImage() and JKQTPlotter::copyPixelImage()
2022-08-26 12:28:06 +02:00
jkriege2
d283f6b294
bugfix in JKQTPSimplifyPolyLines()
2022-08-26 11:34:03 +02:00
jkriege2
fdb8ce2d75
JKQTPlotter: REORGANIZED: separated line-graphs from jkqtpscatter.h/.cpp into jkqtplines.h/.cpp
2022-08-25 22:41:41 +02:00
jkriege2
a90cbecd9d
added optimized line-drawing to JKQTPSpecialLineGraphBase
2022-08-25 22:33:07 +02:00
jkriege2
064f01d0b0
bugfixed optimized line-drawing
2022-08-25 22:32:34 +02:00
jkriege2
c3afee2c1f
replaced QVector<QPointF> by QPolygonfF, as Qt changes from QVector to QList with Qt5->Qt6
2022-08-25 17:46:57 +02:00
jkriege2
586548c7d6
change parent-chld relationships of scatter graphs
2022-08-25 17:34:12 +02:00
jkriege2
f4c4a693e4
bugfix+docfix
2022-08-25 17:25:23 +02:00
jkriege2
c2338c07b1
bugfix
2022-08-25 16:53:44 +02:00
jkriege2
69adb3adfb
bugfix
2022-08-25 15:30:39 +02:00
jkriege2
03031e3762
JKQTPlotter:
...
- NEW: improved plotting speed for line-graphs by a compression algorithm (see JKQTPGraphLinesCompressionMixin) that removes overlaying lines (e.g. in JKQTPXYLineGraph)
- NEW: improved plotting speed for line-graphs by a clipping algorithm (applies to JKQTPXYLineGraph, JKQTPGraphErrorStyleMixin, JKQTPSpecialLineHorizontalGraph, JKQTPSpecialLineVerticalGraph and others)
- NEW: improved plotting speed for scatter-graphs by not calling draw functions for symbols outside the plot window (e.g. in JKQTPXYLineGraph)
2022-08-25 15:17:50 +02:00
jkriege2
17b93ab580
improved speed example with more options
2022-08-23 22:12:53 +02:00
jkriege2
676b97a3ca
fixed several CMakeLists.txt issues
2022-08-22 20:35:24 +02:00
jkriege2
6c8d517f44
fixed CMakeLists.txt
2022-08-22 17:36:49 +02:00
jkriege2
8993b5ad8d
CMake-System bugfix (in exports): added missing find_package(JKQTCommonStatisticsAndMath)
2022-08-22 16:38:30 +02:00
jkriege2
37024ffe34
fixed compatibility with older Qt version (before 5.12)
2022-08-22 10:45:39 +02:00
jkriege2
cffa7189d4
doc update
2022-08-21 21:34:05 +02:00
jkriege2
07d3fdcd99
JKQTMAthText: improvements in font handling and documentation
2022-08-21 14:49:48 +02:00
jkriege2
db81286452
added missing #include
2022-08-20 16:37:56 +02:00
jkriege2
528eec68d3
fixed non-existend std::make_unique()
2022-08-20 16:26:07 +02:00
jkriege2
6273e469cd
BREAKING/REWORKED: Separated the LaTeX parser into JKQTMathTextLatexParser from JKQTMathText
2022-08-20 16:19:40 +02:00
jkriege2
5722970496
JKQTMathText:
...
- NEW: added environment-modifying commands for font sizes: \c \\tiny ... \c \\normalsize ... \c \\Huge
- NEW: added environment-modifying commands for text color: \c {\\color{COL}...}
- NEW: added environment-modifying commands for text formatting: \c {\\bfseries...}, \c {\\itshape...}, \c {\\bf...}, \c {\\it...}, \c {\\sffamily...}, \c {\\ttfamily...}, ...
- REFACTORING: split up several .h/.cpp-files in nodes subdirectory
2022-08-19 12:16:00 +02:00
jkriege2
dde8deb56f
JKQTMathText: improved placement of sub-/superscript nodes by using JKQTMathtextNodeSize::baselineXCorrection to shift subscript to the left for e.g. preceding italic text or symbols that require such a shift
...
JKQTMathText: moved sub-/superscripts placed below/above a bit further apart from the central symbol/node
2022-08-17 22:56:57 +02:00
jkriege2
b5459a90d9
Merge branch 'master' of https://github.com/jkriege2/JKQtPlotter
...
# Conflicts:
# lib/jkqtmathtext/jkqtmathtext.cpp
# lib/jkqtmathtext/jkqtmathtext.h
2022-08-16 23:11:44 +02:00
jkriege2
6fa5dd65ed
JKQTMathText: Code Cleanup: using JKQTMathTextNodeSize for all size-calculation functions and got rid of all functions that take the output parameters with call-by-reference
...
JKQTMathText: JKQTMathTextBraceNode now properly supports different opening and closing braces e.g. |...> for bra-vetors
2022-08-16 23:05:04 +02:00
jkriege2
74cf8046ce
code cleanup: Removed Parameter prevNodeSize from JKQTMathTextNode::draw() and JKQTMathTextNode::getSize()/JKQTMathTextNode::getSizeInternal(), since it is only really necessary for JKQTMathTextSubscriptNode and JKQTMathTextSuperscriptNode
...
bugfixed possible crash in JKQTMathTextWhitespaceNode (QMap[n1]=QMap[n2]=something; does not work for some reason)
2022-08-14 16:59:03 +02:00
jkriege2
e757e26503
JKQTMathText: ensure mini size of \left/\right braces, when contained text is very small, e.g. only lower-case
...
JKQTMathText: improve width-calculation of \left/\right braces
2022-08-13 21:56:09 +02:00
jkriege2
cfac5138b3
docfix
2022-08-13 19:47:35 +02:00
jkriege2
f83a3468b1
JKQTMathText:
...
- new options interface for JKQTMathText::parse()
- breaking: removed JKQTMathtext::unparsedNode
- several minor improvements
2022-08-13 19:43:39 +02:00
jkriege2
9819a8c4be
new options interface for JKQTMathText::parse()
...
breaking: removed JKQTMathtext::unparsedNode
2022-08-13 15:32:31 +02:00
jkriege2
ce6637fb4b
NEW: JKQTMathText::parse() by default allows linebreaks in the LaTeX string to be parsed. This can be switched off by a parameter
...
NEW: TabSize can be set in JKQTMathTextVerbatimNode
2022-08-13 14:36:49 +02:00
jkriege2
c58fc985ce
JKQTMathText: optimized frac/sub/super spacing
2022-08-12 16:50:26 +02:00
jkriege2
04beafb1a6
JKQTMathText: text/narrow-math-operators have less space around the,
2022-08-12 13:28:34 +02:00
jkriege2
86ec545794
bug fixed
2022-08-12 13:04:26 +02:00
jkriege2
67579da1bc
JKQTMathText: NEW: array/tabular-environments have limited support for formatting string like l|r|c and for \hline , \hdashline , \toprule , \midrule , \bottomrule
2022-08-12 12:54:10 +02:00
jkriege2
05d791502b
fixed \min & \max + docfix
2022-08-11 15:22:48 +02:00
jkriege2
8876c361cf
bugfix QSet <--> QList conversion + docfix
2022-08-11 15:12:11 +02:00
jkriege2
bfee90b4fe
JKQTMathText: added long arrow symbols
2022-08-11 14:17:39 +02:00
jkriege2
331a67c5a8
JKQTMathText: added \c \\dashuline{X}, \c \\dotuline{X}, \c \\underleftarrow{X}, \c \\underrightarrow{X}, \c \\underleftrightarrow{X}, \c \\overleftarrow{X}, \c \\overrightarrow{X}, \c \\overleftrightarrow{X}
...
JKQTMathText: corrected linewidths for decorations
2022-08-11 14:17:04 +02:00
jkriege2
62e3b47d08
JKQTMathText: improved rendering of decorations
2022-08-11 12:26:14 +02:00
jkriege2
c7b0185735
JKQTMathtext: added several new symbols that were missing so far
2022-08-11 11:33:29 +02:00
jkriege2
84f02e3ab6
JKQTMathText: improved symbol listing (auto-generated)
2022-08-11 09:06:06 +02:00
jkriege2
ff58485aa6
docfix
2022-08-10 19:21:54 +02:00
jkriege2
9ab3ddd3b0
doc-update
2022-08-10 14:41:26 +02:00
jkriege2
868b89a99e
JKQTMathText:
...
NEW: added \c \\snugshade{...}
NEW: added \c \\snugbox{...}
NEW: added \c \\phantom{xXy} , \c \\vphantom{xXy} and \c \\hphantom{xXy} instructions for whitespaces with the size of \c xXy
2022-08-10 14:36:16 +02:00
jkriege2
5283a1a995
JKQTMathText: IMPROVED/REWORKED rendering of blackboard font: now several different rendering modes can be selected using JKQTMathText::setFontBlackboradMode()
2022-08-10 12:12:30 +02:00
jkriege2
3de6cf59d2
JKQTMathtext: bugfixed symbols for registered and copyright (had wrong codepoint)
2022-08-10 12:09:13 +02:00
jkriege2
030cdfe2e5
bugfixed JKQTMathText::drawIntoImage(), some code-cleanup in the other draw() functions + update of autogenerated doc-images
2022-08-08 10:12:59 +02:00
jkriege2
03ba0572af
bigfixed some problems
2022-08-07 22:59:32 +02:00
jkriege2
5cc0a2478a
JKQTMathText: updated documentation with new (auto-generated) images, added CMake Custom Target to generate documentation images with jkqtmathtext_render, improved documentation
2022-08-07 22:23:19 +02:00
jkriege2
d3b0e88bb8
jkqtmathtext_render: added option to generate listing of all symbols + fixed some bugs
2022-08-07 22:13:31 +02:00