mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-22 12:08:43 -04:00
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
This commit is contained in:
parent
9c786a42d2
commit
87910b7ecf
@ -1,4 +1,4 @@
|
||||
//------------------------------------------------------------- MainWindow
|
||||
//-------------------------------------------------------------- MainWindow
|
||||
#include "mainwindow.h"
|
||||
#include "ui_mainwindow.h"
|
||||
#include "devsetup.h"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user