mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 14:48:46 -05:00
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:
parent
83acdca6a8
commit
365f1eba0c
@ -35,7 +35,8 @@ subroutine redsync(ss,ntrperiod,ihsym,iz,red)
|
|||||||
if(ref.gt.0.0) s=(sig/ns)/(ref/nr)
|
if(ref.gt.0.0) s=(sig/ns)/(ref/nr)
|
||||||
if(s.gt.smax) smax=s
|
if(s.gt.smax) smax=s
|
||||||
enddo
|
enddo
|
||||||
red(i)=db(smax)
|
! red(i)=db(smax)
|
||||||
|
red(i)=smax
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
return
|
return
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//------------------------------------------------------------- MainWindow
|
//-------------------------------------------------------------- MainWindow
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
#include "devsetup.h"
|
#include "devsetup.h"
|
||||||
|
@ -128,7 +128,7 @@ void CPlotter::draw(float swide[], float red[], int i0) //draw()
|
|||||||
painter1.drawPoint(i,0);
|
painter1.drawPoint(i,0);
|
||||||
if(m_bCurrent) y2 = gain*y + 30;
|
if(m_bCurrent) y2 = gain*y + 30;
|
||||||
if(m_bCumulative) y2=3*gain*10.0*log10(jt9com_.savg[i]);
|
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) {
|
if(strong != strong0 or i==m_w-1) {
|
||||||
painter2D.drawPolyline(LineBuf,j);
|
painter2D.drawPolyline(LineBuf,j);
|
||||||
j=0;
|
j=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user