Change scale of sync plot to linear.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2684 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-10-22 19:28:47 +00:00
parent 83acdca6a8
commit 365f1eba0c
3 changed files with 4 additions and 3 deletions

View File

@ -35,7 +35,8 @@ subroutine redsync(ss,ntrperiod,ihsym,iz,red)
if(ref.gt.0.0) s=(sig/ns)/(ref/nr)
if(s.gt.smax) smax=s
enddo
red(i)=db(smax)
! red(i)=db(smax)
red(i)=smax
enddo
return

View File

@ -1,4 +1,4 @@
//------------------------------------------------------------- MainWindow
//-------------------------------------------------------------- MainWindow
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "devsetup.h"

View File

@ -128,7 +128,7 @@ void CPlotter::draw(float swide[], float red[], int i0) //draw()
painter1.drawPoint(i,0);
if(m_bCurrent) y2 = gain*y + 30;
if(m_bCumulative) y2=3*gain*10.0*log10(jt9com_.savg[i]);
if(m_bJT9Sync) y2=3*gain*red[i];
if(m_bJT9Sync) y2=7*gain*red[i] - 30;
if(strong != strong0 or i==m_w-1) {
painter2D.drawPolyline(LineBuf,j);
j=0;