Matplotlib Curve Overlapping with Animated plot

Hello,

I am migrating from octave to python and found matplotlib as an useful and powerful resource.

I played with many animations examples and tried to build my own.

The objective is to build a live plot from data coming from an arduino.

The serial is working perfect (I can receive and plot data without problem).

Unfortunately, when I resize my animation windows, I get curves overlapped.

I must use blit because I have 6 subplots.

Please, check the attached files:

Python:

-> animationR00.py (main)

-> lib/
-> AnalogPlot.py
-> RingBuffer.py

-> crc8.py

Arduino:

Teste.cpp (main)

Teste.h

ComSerial.cpp

ComSerial.h

OneWire.cpp

OneWire.h

I appreciate any help.

Arduino.tar.bz2 (10.1 KB)

Animation.tar.bz2 (4.43 KB)

···

Thales Alexandre Carvalho Maia

Thales,

Sorry for the delay in responding. This mailing list has actually moved to https://mail.python.org/mailman/listinfo/matplotlib-users

Let’s start up a new thread there with this information, plus also which version of matplotlib you are using and which backend.

Cheers!

Ben Root

···

On Wed, Aug 26, 2015 at 6:12 PM, Thales Maia <thalesmaia@…1896…> wrote:

Hello,

I am migrating from octave to python and found matplotlib as an useful and powerful resource.

I played with many animations examples and tried to build my own.

The objective is to build a live plot from data coming from an arduino.

The serial is working perfect (I can receive and plot data without problem).

Unfortunately, when I resize my animation windows, I get curves overlapped.

I must use blit because I have 6 subplots.

Please, check the attached files:

Python:

-> animationR00.py (main)

-> lib/
-> AnalogPlot.py
-> RingBuffer.py

-> crc8.py

Arduino:

Teste.cpp (main)

Teste.h

ComSerial.cpp

ComSerial.h

OneWire.cpp

OneWire.h

I appreciate any help.

Thales Alexandre Carvalho Maia



Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users