Re: [Discuss-gnuradio] Matplotlib and GNU Radio: Dynamic plot

2017-10-13 Thread Kartik Patel
Dear Ali, The task that you want to do can be done with Bokeh library . I am not sure how to do it but may be you can ask on their forum or can check their examples like this one . We have a GNU Radio

Re: [Discuss-gnuradio] Matplotlib and GNU Radio: Dynamic plot

2017-10-13 Thread Marcus Müller
Dear Ali, yes, that's possible, but it's really hard to make matplotlib play alongside with other GUI toolkits. Good luck. I've already suggested multiple times not to use matplotlib for your use case – believe me, that happened out of experience. Best regards, Marcus On 10/13/2017 03:30 P

Re: [Discuss-gnuradio] Matplotlib and GNU Radio: Dynamic plot

2017-10-13 Thread Ali
Hi to all, As I mentioned above, I am trying to plot the real-time outputs of a grc file. I am using the approach given in the link below. Taking two outputs via message sink and then plotting them by matplotlib functions. http://recolog.blogspot.com.tr/2015/08/processing-data-out-of-gnuradio.htm

Re: [Discuss-gnuradio] Matplotlib and GNU Radio: Dynamic plot

2017-09-27 Thread Ali
Hi to all, For those who are interested in, the approach in the following link seems to be useful. I tried for my case, and it is working fine. http://recolog.blogspot.com.tr/2015/08/processing-data-out-of-gnuradio.html Thanks, Ali 2017-09-21 20:04 GMT+03:00 Marcus Müller : > Interesting! > >

Re: [Discuss-gnuradio] Matplotlib and GNU Radio: Dynamic plot

2017-09-21 Thread Marcus Müller
Interesting! So, my approach in this case would be: 1. Write a block that takes the data from your flow graph, and converts it to a format (e.g. JSON, KML, GPX,…) that makes sense for the receiving end. This data should be emitted as messages (not python variables). 2. use a UDP or ZeroMQ (I reco

Re: [Discuss-gnuradio] Matplotlib and GNU Radio: Dynamic plot

2017-09-20 Thread Ali
Hi, Actually I want to draw coordinates on a map. So I want to upload a map(a png file, like using imshow function in MATLAB, matplotlib) and then draw points on this map. I think it is not possible by just using QT instruments. Regards, Ali 2017-09-20 21:14 GMT+03:00 Marcus Müller : > Dear Ali

Re: [Discuss-gnuradio] Matplotlib and GNU Radio: Dynamic plot

2017-09-20 Thread Marcus Müller
Dear Ali, don't convert data streams to Python variables. Just use the Qt instrumentation plots that directly come with GNU Radio, they are actually meant for this. Matplotlib is *definitely* not what you want to use for live plots. Far too slow. Best regards, Marcus On 09/20/2017 01:29 AM, A

[Discuss-gnuradio] Matplotlib and GNU Radio: Dynamic plot

2017-09-20 Thread Ali
Hi everyone, I have a flowchart in which USRP's are running and after some blocks 2 variables are produced at the output. As the inputs change, outputs change. I want to *dynamically* plot these two variables on x and y axis. I am willing to use matplotlib. What do you suggest to plot these vari