diff --git a/mainwindow.cpp b/mainwindow.cpp index 18dbb725d..ae894c0b0 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//------------------------------------------------------------- MainWindow +//------------------------------------------------------------ MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h" diff --git a/widegraph.cpp b/widegraph.cpp index 8955299e5..0dbf10f18 100644 --- a/widegraph.cpp +++ b/widegraph.cpp @@ -87,6 +87,7 @@ void WideGraph::dataSink2(float s[], float red[], float df3, int ihsym, { static float splot[NSMAX]; static float swide[2048]; + static float rwide[2048]; int nbpp = ui->widePlot->binsPerPixel(); static int n=0; @@ -111,11 +112,14 @@ void WideGraph::dataSink2(float s[], float red[], float df3, int ihsym, int jz=1000.0/df3; for (int j=0; jwidePlot->draw(swide,red,i0); + ui->widePlot->draw(swide,rwide,i0); } }