How can I make a multi channels real time plotting tool by using Qt and Qwt?
-
wrote on 22 Nov 2013, 00:47 last edited by
Hi,
I am trying to implement a real time plotting tool for displaying multi-channel bit streams. Each channel should have its own plotting window and all the plotting windows should be in one big main window. Does Qwt or Qt has "subplots" function or any similar ones for doing this kind of work? I am very new to Qt and Qwt, Can anyone give me any related examples or links?
Thanks
-
wrote on 22 Nov 2013, 01:44 last edited by
I think the 'cpuplot', and 'plotmatrix' examples is what your after, they are located in the examples, and playground directories included with Qwt.
-
wrote on 22 Nov 2013, 02:28 last edited by
Hi,
Thanks for your reply. BUT the "cpuplot" is multiple curves in one window. What I need is one curve in one window and multiple windows together in one main window. And the 'plotmatrix' is not in Qwt 6.1 package.
Any other suggestions?
Thanks,
-
Hi,
Then create one plot per channel and use a QGridLayout to put them together in your main widget. All examples in the documentation uses that kind of approach, either building up the interface by hand or using Designer.
1/4