From 7d12064e84dfd4864617b5facaf61c800eefdf8a Mon Sep 17 00:00:00 2001 From: Ernie Pasveer Date: Mon, 13 Jul 2026 17:08:17 -0500 Subject: [PATCH] Fixed bug with plotting scatter plot. --- src/SeerArrayVisualizerWidget.cpp | 8 ++++++++ tests/hello481/.gitignore | 1 + tests/hello481/Makefile | 11 +++++++++++ tests/hello481/breakpoints.seer | 1 + tests/hello481/hello481.cpp | 19 +++++++++++++++++++ tests/hello481/project.seer | 25 +++++++++++++++++++++++++ 6 files changed, 65 insertions(+) create mode 100644 tests/hello481/.gitignore create mode 100644 tests/hello481/Makefile create mode 100644 tests/hello481/breakpoints.seer create mode 100644 tests/hello481/hello481.cpp create mode 100644 tests/hello481/project.seer diff --git a/src/SeerArrayVisualizerWidget.cpp b/src/SeerArrayVisualizerWidget.cpp index d9bd9e5..b634bc7 100644 --- a/src/SeerArrayVisualizerWidget.cpp +++ b/src/SeerArrayVisualizerWidget.cpp @@ -1083,6 +1083,14 @@ void SeerArrayVisualizerWidget::handleLabelsCheckBox () { void SeerArrayVisualizerWidget::handleLineTypeButtonGroup () { + if (scatterRadioButton->isChecked()) { + pointsCheckBox->setChecked(true); + pointsCheckBox->setEnabled(false); + }else{ + pointsCheckBox->setChecked(false); + pointsCheckBox->setEnabled(true); + } + handleDataChanged(); } diff --git a/tests/hello481/.gitignore b/tests/hello481/.gitignore new file mode 100644 index 0000000..9e49614 --- /dev/null +++ b/tests/hello481/.gitignore @@ -0,0 +1 @@ +hello481 diff --git a/tests/hello481/Makefile b/tests/hello481/Makefile new file mode 100644 index 0000000..26e47cd --- /dev/null +++ b/tests/hello481/Makefile @@ -0,0 +1,11 @@ +.PHONY: all + +all: hello481 + +hello481: hello481.cpp + g++ -g -o hello481 hello481.cpp + +.PHONY: clean +clean: + rm -f hello481 hello481.o + diff --git a/tests/hello481/breakpoints.seer b/tests/hello481/breakpoints.seer new file mode 100644 index 0000000..50ee722 --- /dev/null +++ b/tests/hello481/breakpoints.seer @@ -0,0 +1 @@ +break -source /nas/erniep/Development/seer/tests/hello481/hello481.cpp -line 17 diff --git a/tests/hello481/hello481.cpp b/tests/hello481/hello481.cpp new file mode 100644 index 0000000..10bcfc4 --- /dev/null +++ b/tests/hello481/hello481.cpp @@ -0,0 +1,19 @@ +#include +#include + +int main () { + + double pos[40]; + double vit[40]; + + double posv = 1.0; + + for (int i=0; i