diff --git a/echograph.cpp b/echograph.cpp index 96c013540..a4179cabd 100644 --- a/echograph.cpp +++ b/echograph.cpp @@ -30,7 +30,7 @@ EchoGraph::EchoGraph(QSettings * settings, QWidget *parent) : int n=m_settings->value("Smooth",0).toInt(); ui->echoPlot->m_smooth=n; ui->smoothSpinBox->setValue(n); - n=m_settings->value("EchoBPP",0).toInt(); + n=m_settings->value("EchoBPP",1).toInt(); ui->echoPlot->m_binsPerPixel=n; ui->binsPerPixelSpinBox->setValue(n); ui->echoPlot->m_blue=m_settings->value("BlueCurve",false).toBool(); diff --git a/echoplot.cpp b/echoplot.cpp index 5501bc6f4..0e225a5d3 100644 --- a/echoplot.cpp +++ b/echoplot.cpp @@ -19,6 +19,7 @@ EPlotter::EPlotter(QWidget *parent) : //EPlotter Constructor m_StartFreq = -200; m_fftBinWidth=12000.0/32768.0; + m_binsPerPixel=1; m_fSpan=1000.0; m_hdivs = HORZ_DIVS; m_Running = false;