[Matplotlib-users] animating scatter points (from files)

Ryan May rmay31 at gmail.com
Tue Jan 2 14:41:21 EST 2018


That sounds like a perfect use for FuncAnimation with plot() or scatter()
to me. You only really need to use scatter if you want to change the
size/color of points based on another variable.

Ryan

On Tue, Jan 2, 2018 at 12:21 PM, Heiland, Randy <heiland at iu.edu> wrote:

> Hello,
>
> I have a use case of wanting to “animate” scatter points whose coordinates
> are being written to files (per time step). So, basically, I’d like to be
> able to loop over reading the files in a directory, parse them to extract
> coords, and smoothly plot the points in a window. The number of points will
> change per time step. Suggestions? Do I want to use the FuncAnimation
> method or something else?
>
> thanks!
> Randy
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>



-- 
Ryan May
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180102/c8f97824/attachment.html>


More information about the Matplotlib-users mailing list