Tilman Baum
Tilman Baum

Reputation: 39

plot several runs of BehaviorSpace in one plot

I want one plot to display the results of 100 model runs. Do I have to use Excel or is there a way within Netlogo? I found the proposal to use create-temporary-plot-pen, but i did not manage to find out how this will do the job.

Upvotes: 1

Views: 249

Answers (1)

Seth Tisue
Seth Tisue

Reputation: 30453

Don't use clear-all, as it will clear all of the plots. Start each run by using a more limited set of clearing commands (e.g., clear-turtles, clear-patches, reset-ticks, and so forth). Then each run can add data to an existing plot.

If you do this you may want to offer your user multiple setup buttons, one that clears everything, and one that only sets up the current run.

Upvotes: 1

Related Questions