[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Waterfallsink
From: |
Johnathan Corgan |
Subject: |
Re: [Discuss-gnuradio] Waterfallsink |
Date: |
Sat, 23 Feb 2008 17:41:39 -0800 |
On 2/23/08, Tobias Gresch <address@hidden> wrote:
> For example when I execute usrp_fft.py with the -W option I do not get
> a waterfall graph as expected but instead of having the spectra moving
> down slowly the actual spectrum is drawn over the whole height of the
> graph.
>
> I tried to track down the problem and it appears that the bitmap is copied
> correctly to shift it one down but later gets overwritten (see [1]) because
> the height value of 1 in the method dc1.DrawRectangle() is somehow too
> small. If I set it to 2, i.e. dc1.DrawRectangle(x_pos*p_width, 0, p_width,
> 2),
> it works.
Good catch.
I've confirmed this behavior and the fix in a similar configuration.
It looks like a wxGTK-2.6 vs. wxGTK-2.8 issue.
> ps. In waterfallsink2.py in the class waterfall_window make_colormap(self)
> is defined twice. [2]
Noted, and fixed as well.
--
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/