doc update

This commit is contained in:
jkriege2 2022-08-30 22:36:12 +02:00
parent 4ef29635ea
commit 2101a159ce
2 changed files with 14 additions and 14 deletions

View File

@ -78,22 +78,22 @@ Running this test on a modern AMD Ryzen 7 5800H laptop (eaxct conditions: Qt 6.2
| Graph Style | Anti-Aliasing | Fixed X-Axis | frame rate [fps] | | Graph Style | Anti-Aliasing | Fixed X-Axis | frame rate [fps] |
| ------------ | ---------------- | --------------- | ----------------- | | ------------ | ---------------- | --------------- | ----------------- |
| lines+symbols| yes | no | 3 | | lines+symbols| yes | no | 20 |
| lines+symbols| yes | yes | 6 | | lines+symbols| yes | yes | 40 |
| lines+symbols| no | no | 32 | | lines+symbols| no | no | 50 |
| lines+symbols| no | yes | 50 | | lines+symbols| no | yes | 95 |
| lines-only | yes | no | 4 | | lines-only | yes | no | 30 |
| lines-only | yes | yes | 7 | | lines-only | yes | yes | 65 |
| lines-only | no | no | 43 | | lines-only | no | no | 78 |
| lines-only | no | yes | 80 | | lines-only | no | yes | 140 |
Since 5.0.0 JKQTPlotter supports a line-compression algorithm (see `JKQTPSimplifyPolyLines()`). This allows to also draw very large datasets with sub-linear speed-decrease. The algorithm tries to not draw lines that are not visible, because they overlay each other. Using this mode we obtain these framerates for a two line-only graphs without anti-aliasing: Since 5.0.0 JKQTPlotter supports a line-compression algorithm (see `JKQTPSimplifyPolyLines()`). This allows to also draw very large datasets with sub-linear speed-decrease. The algorithm tries to not draw lines that are not visible, because they overlay each other. Using this mode we obtain these framerates for a two line-only graphs without anti-aliasing and with fixed x-axis:
| Number of Points | frame rate [fps] | | Number of Points | frame rate [fps] |
| ---------------- | ---------------- | | ---------------- | ---------------- |
| 500 | 48 | | 500 | 67 |
| 1000 | 32 | | 1000 | 42 |
| 2000 | 8 | | 2000 | 23 |
| 10000 | 5 | | 10000 | 11 |

View File

@ -48,7 +48,7 @@ SpeedTestPlot::SpeedTestPlot():
graph2->setXColumn(columnX); graph2->setXColumn(columnX);
graph2->setYColumn(columnY2); graph2->setYColumn(columnY2);
graph2->setTitle(QObject::tr("live cos() graph")); graph2->setTitle(QObject::tr("live cos() graph"));
graph2->setLineWidth(2); graph2->setLineWidth(1);
graph2->setSymbolType(JKQTPNoSymbol); graph2->setSymbolType(JKQTPNoSymbol);
addGraph(graph2); addGraph(graph2);