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

Plot population vs generation #3

Open
copy opened this issue Apr 19, 2018 · 1 comment
Open

Plot population vs generation #3

copy opened this issue Apr 19, 2018 · 1 comment

Comments

@copy
Copy link
Owner

copy commented Apr 19, 2018

A suggestion via email:

I do have one suggestion/request: It would be nice to have an "Export data"
button that generates a .csv file with the population for each generation
for the current pattern.
Another (more ambitious) idea would be to be able to see a plot of
population vs. generation.

@Yeryomin1
Copy link

Hello!
What should a graph be able to do? If I understand the idea correctly, the submitted data should be updated. Accordingly, the ranges of abscissae and ordinates are changed, which ensure the convenience of information perception. For example, if during the first 10 seconds the population changed between 120 and 140 units, then at the tenth second it is desirable to have from 100 to 150 units on the ordinate axis. When the population exceeds 150 units, we have to change the scale of the axis so that the line does not go over the border. Accordingly, you need to scale the line that has already been drawn. Or is this logic overly complex? Second question: what time interval should the abscissus axis reflect? Perhaps this is the entire interval from the beginning of the game. In this case, the graph will be compressed horizontally. Another option is to display, for example, the last 10 seconds. The graph will not shrink, but the history will be lost.
Maybe I'll try to create something like this.

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