Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Alex98156 opened this issue Sep 13, 2022 · 1 comment
Open

Comments

@Alex98156
Copy link

Alex98156 commented Sep 13, 2022

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

@adri4na
Copy link

adri4na commented Jul 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants