Various tweaks to GUI.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/jtms3@2515 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2012-07-13 18:46:13 +00:00
parent 0621e952ef
commit d0af7271e7
4 changed files with 18 additions and 15 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ void CPlotter::draw(float green[], int ig) //draw()
if(2*i < 215) {
if(m_2Dspec) {
y=10.0*log10(0.5*(mscom_.s2[2*i-1] + mscom_.s2[2*i]));
y1 = 5.0*gain*(y + 20 - m_plotZero);
y1 = 7.0*gain*(y + 16 - m_plotZero);
} else {
y=10.0*log10(std::max(mscom_.s1[2*i-1],mscom_.s1[2*i]));
y1 = 5.0*gain*(y + 51 - m_plotZero);