BehaviourComposer: ignore everything before this. Begin micro-behaviour: Begin description: Add a new graph to the previous graphs each time the model is set up. End description Multiple plot generations Begin NetLogo code: substitute-text-area-for maximum-number-of-plot-generations 10000 set maximum-plot-generations maximum-number-of-plot-generations End NetLogo code VariantsYou can the number of generations. When it is exceeded the graph is cleared and new generations can be added. If it is given a non-zero value thenUse pen to add plot can be used to plot with different colours at each generation. For example How this worksThe Behaviour Composer variable maximum-number-of-plot-generations is used to specify how many times the 'SETUP' button can be pressed before the graph is cleared. Related micro-behavioursHistoryMultiple plot generations was implemented by Ken Kahn on 2 April 2010. BehaviourComposer: ignore everything after this. |