A few more tweaks.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@351 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2007-01-14 01:44:13 +00:00
parent e4ef0a98e5
commit 088ea9fdd9
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#------------------------------------------------------------------- MAP65 #------------------------------------------------------------------ MAP65
# $Date$ $Revision$ # $Date$ $Revision$
# #
from Tkinter import * from Tkinter import *

View File

@ -326,11 +326,11 @@ def update():
#-------------------------------------------------------- draw_axis #-------------------------------------------------------- draw_axis
def draw_axis(): def draw_axis():
c.delete(ALL) c.delete(ALL)
xmid=125.0 xmid=125.0 - 2.1 #Empirical
bw=96.0 bw=96.0
x1=int(xmid-0.5*bw) x1=int(xmid-0.5*bw)
x2=int(xmid+0.5*bw) x2=int(xmid+0.5*bw)
xdf=bw/NX xdf=bw/NX #128 Hz
for ix in range(x1,x2,1): for ix in range(x1,x2,1):
i=0.5*NX + (ix-xmid)/xdf i=0.5*NX + (ix-xmid)/xdf
j=20 j=20