From a4db2a4c30ae07600a2356fca46bf4ba1c13765c Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 26 Sep 2012 18:45:10 +0000 Subject: [PATCH] More progress. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2601 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- getfile.cpp | 2 +- mainwindow.cpp | 2 +- plotter.cpp | 13 ++++++------- widegraph.cpp | 6 +++--- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/getfile.cpp b/getfile.cpp index c0291a67f..a6cfc924e 100644 --- a/getfile.cpp +++ b/getfile.cpp @@ -19,7 +19,7 @@ void getfile(QString fname, int ntrperiod) fread(jt8com_.d2,1,44,fp); int nrd=fread(jt8com_.d2,2,npts,fp); fclose(fp); - for(int i=0; iwidePlot->plotWidth(); // qint64 sf = nkhz + ui->widePlot->freqOffset() - 0.5*w*nbpp*df/1000.0; // if(sf != ui->widePlot->startFreq()) ui->widePlot->SetStartFreq(sf); - int i0=16384.0+(ui->widePlot->startFreq()-nkhz+1.27046+0.001*m_fCal) * - 1000.0/df + 0.5; - i0=0; //### +// int i0=16384.0+(ui->widePlot->startFreq()-nkhz+1.27046+0.001*m_fCal) * +// 1000.0/df + 0.5; + int i0=0; //### nbpp=1; //### int i=i0; for (int j=0; j<2048; j++) {