[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] QT GUI Time Sink text scale bug
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] QT GUI Time Sink text scale bug |
Date: |
Sun, 23 Nov 2014 21:48:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Under certain circumstances the axis label was not updated
(essentially it seems to be: iff you set the sampling rate to 1k);
patched this away.
Lou, you can find the minimal changeset attached; it should work
against current maint and master.
Greetings,
Marcus
On 11/23/2014 08:16 PM, Marcus Müller wrote:
> Nope, not a QWT bug, as increasing the sample rate from 1k to
> 1.002k achieves the desirable result. Am experimenting with
> floating point rounding in gr-qtgui/lib/timedisplayform.cc :)
>
>
> On 11/23/2014 06:49 PM, Marcus Müller wrote:
>> Hi Lou, yep, it looks exactly the same for me. I think the text
>> is statically set as "Time (sec)", but QWT *should* annotate the
>> axis with a factor like 10^-3 automagically; I'll have a look at
>> this, but most probably you'll be faster than me figuring things
>> out (since you're already at this ;) ).
>>
>> Greetings, Marcus
>>
>> On 11/23/2014 04:24 AM, Louis Brown wrote:
>>> Can anyone confirm the QT GUI Time Sink has a time scale text
>>> bug when working at low sample rates in
>>> 3.7.6git-188-gf60cd24f? Please see below:
>>>
>>> https://dl.dropboxusercontent.com/u/49570443/qt_time_scale_grc.png
>>>
>>>
https://dl.dropboxusercontent.com/u/49570443/qt_time_scale_plot.png
>>>
>>>
https://dl.dropboxusercontent.com/u/49570443/qt_time_scale.grc
>>>
>>> Plot text should be "ms" instead of "sec". No show stopper;
>>> just confused me when working with very low rates.
>>>
>>> Thanks, Lou
>>>
>>>
>>>
>>> _______________________________________________
>>> Discuss-gnuradio mailing list address@hidden
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUckgxAAoJEAFxB7BbsDrLMMoIAIPR3ahpApMvrh6w6v7umdZ8
6wOECxIEPW5ATrGhJkWfbBa7yGGvU0xd1qJWZd2StqMLgzTq0hPo1rljgPXi09JF
J26MCSqMePmh1moP+dD5Lh38962h5YiM+/DZ8zkKE2ZkyvqBCktKkQ/GIBiCWIct
+XM2jTtjtS4nI5F4cV+R+Dp2VjmENpSuCsD0/tFlzkCaq8nwlN/dxYXe8CZC1ImT
qXmXcc2C6SwU7BBjCMEqr67o1IUzgtvQomygFjhRWSZ20f1uTKJMaB/iAi+Bglpn
MXjdoo7aGtZ+4Zue72WB/YhsDK9tlS9L4GD6Ia11Z+jRXUvYg4vNV2KHlcNs8SA=
=qGu3
-----END PGP SIGNATURE-----
0001-qtgui-fixed-non-changing-from-sec-to-ms.patch
Description: Text Data