Discussion:
[guidata/guiqwt] guiqwt huge data
Denis Sidorov
2014-12-05 13:21:58 UTC
Permalink
Hello,

I have some troubles when I make guiqwt show huge numpy array (float32*2e6,
memory overflow). Current recipe to solve the problem is rarefy numpy array
before ``set_data`` (array[1::r_coef], r_ceof is increased with data size
increasing). But I can lose information on zooming in and this makes me
return data from source array.

I can't find a signal, which emits on curve's resizing before replot. How
to capture this event, to modify data for quiqwt before replot?

Is there any other recipe for huge data showing with guiqwt?

Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Eric McDonald
2014-12-05 22:53:42 UTC
Permalink
I overloaded something deep in CurveDialog, maybe MouseClickEvent? on the
curve widget (I don't have my code handy), and checked for middle-click or
right-click (pan or zoom), and then handled it there. Otherwise, I let the
event pass up the chain.

I never tried to catch any signals. My method is basically a monkey-patch.

Good luck,
Eric
Post by Denis Sidorov
Hello,
I have some troubles when I make guiqwt show huge numpy array
(float32*2e6, memory overflow). Current recipe to solve the problem is
rarefy numpy array before ``set_data`` (array[1::r_coef], r_ceof is
increased with data size increasing). But I can lose information on zooming
in and this makes me return data from source array.
I can't find a signal, which emits on curve's resizing before replot. How
to capture this event, to modify data for quiqwt before replot?
Is there any other recipe for huge data showing with guiqwt?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...