From 87910b7ecf6aa18088a9712cd226b8d153e0ebe2 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 13 Jul 2012 15:03:06 +0000 Subject: [PATCH] Adjust zero in 2d spectrum. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/jtms3@2511 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 2 +- plotter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 1ca820341..354eae65b 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/plotter.cpp b/plotter.cpp index f42d5faf1..eac3074df 100644 --- a/plotter.cpp +++ b/plotter.cpp @@ -145,7 +145,7 @@ void CPlotter::draw(float green[], int ig) //draw() y1 = 5.0*gain*(y + 20 - m_plotZero); } else { y=10.0*log10(std::max(mscom_.s1[2*i-1],mscom_.s1[2*i])); - y1 = 5.0*gain*(y + 55 - m_plotZero); + y1 = 5.0*gain*(y + 51 - m_plotZero); } } else { y1=0;