Repast/repast4py

How to merge / show all agents from all the cores in a single plot

Opened this issue · 1 comments

Hi, me again.
im running a simulation via matplot.pyplot.plot lib, but my image shows only the agents on the space in the current rank /bounds per tick. What's needed to show all the agents on the space for all the cores simultaneously per tick and on a single Image file.

Example below - Tick 1

Rank 0 Image
img12

Rank 1 Image
img13

Wanted: All ranks Image
imagen

Thanks for your time
Alex

Did you find a way within the documentation? My solution was to write whatever variable you want to plot (i.e. agents) to a pickle archive (one per rank) and then run another code to plot