Is it better matplotlib interactive mode or matplotlib animation in terms of performance?
I have a continous flow of data coming from the serial port. I get 2 measures let's say var1 and var2. I need to plot them in a 3d plot adding the 3th dimension, the time. I've tried different approches based on ion, but i couldn't get what i want. I've seen many examples of animation, but no one is suitable for my purpose. I was arguing which one ion or animate is quicker, since the flow of data has a high frequency update. So i need to update data var1 as x and var2 as y and have a sliding z axis, the time is flowing.
Also, is there a something similar to "set_xdata" in a 3d plot?