Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要一张图来显示 100 次模型运行的结果。我必须使用 Excel 还是在 Netlogo 中有办法?我找到了使用 create-temporary-plot-pen 的建议,但我没有设法找出这将如何完成这项工作。
不要使用clear-all,因为它会清除所有的情节。通过使用一组更有限的清除命令(例如,、、、等等)开始clear-turtles每次clear-patches运行reset-ticks。然后每次运行都可以将数据添加到现有绘图中。
clear-all
clear-turtles
clear-patches
reset-ticks
如果您这样做,您可能希望为您的用户提供多个设置按钮,一个清除所有内容,一个仅设置当前运行。