From b156fc7e409ee294527eedc61394237ae48c5829 Mon Sep 17 00:00:00 2001 From: jkriege2 Date: Fri, 26 Aug 2022 12:41:42 +0200 Subject: [PATCH] NEW: added scatter graph JKQTPXYScatterGraph and JKQTPXYScatterErrorGraph --- doc/dox/jkqtplotter.dox | 3 + doc/dox/whatsnew.dox | 1 + lib/jkqtplotter/graphs/jkqtpscatter.cpp | 205 ++++++++++++++++++++++++ lib/jkqtplotter/graphs/jkqtpscatter.h | 85 +++++++++- screenshots/scatter.png | Bin 0 -> 34716 bytes screenshots/scatter_small.png | Bin 0 -> 8589 bytes 6 files changed, 291 insertions(+), 3 deletions(-) create mode 100644 screenshots/scatter.png create mode 100644 screenshots/scatter_small.png diff --git a/doc/dox/jkqtplotter.dox b/doc/dox/jkqtplotter.dox index 84e9780849..d5732e4fda 100644 --- a/doc/dox/jkqtplotter.dox +++ b/doc/dox/jkqtplotter.dox @@ -283,6 +283,9 @@ This group assembles graphs that show their data with symbols and optionally wit \image html beeswarmplot_small.png JKQTPSingleColumnSymbolsGraph + + \image html scatter_small.png + JKQTPXYScatterGraph, JKQTPXYScatterErrorGraph \image html symbols_and_styles_small.png JKQTPXYLineGraph, JKQTPXYLineErrorGraph diff --git a/doc/dox/whatsnew.dox b/doc/dox/whatsnew.dox index 2ddf28b93d..b42b5535ed 100644 --- a/doc/dox/whatsnew.dox +++ b/doc/dox/whatsnew.dox @@ -37,6 +37,7 @@ Changes, compared to \ref page_whatsnew_V4_0_0 "v4.0.0" include:
  • NEW: improved plotting speed for scatter-graphs by not calling draw functions for symbols outside the plot window (e.g. in JKQTPXYLineGraph)
  • 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()
  • +
  • NEW: added simple scatter plot JKQTPXYScatterGraph
  • JKQTMathText: