Download presentation
Presentation is loading. Please wait.
Published byDominick Welch Modified over 9 years ago
1
New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski
2
Output on the Interface Tab Gathering data is an important part of modeling Easiest to the Interface Tab Four ways/locations ▫Monitor ▫Graph ▫Command Center ▫Output Area
3
Output to a Monitor Outputting to a Monitor is easiest. Requires not in-code output commands Just need the variable name Outputs the current value of an variable Updated continuously as the model runs
4
Output to a Monitor Create a Monitor on the Interface Tab ▫Click on the drop down menu (where button is shown) and select Monitor in the drop down menu ▫Add it to the Interface tab clicking on Add and then clicking in the white space ▫The edit dialog box automatically opens
5
Output to a Monitor
6
Program with output to a Monitor
7
Output to a Simple Graph Outputting to a Graph is slightly harder but… More than one variable at a time A line for each variable Graphical information can be easier to understand History of output Outputs the value of an variable Updated continuously as the model runs
8
Output to a Simple Graph Create a Graph on the Interface Tab ▫Click on the drop down menu (where button is shown) and select Graph in the drop down menu ▫Add it to the Interface tab clicking on Add and then clicking in the white space ▫The edit dialog box automatically opens
10
Program with output to a Graph
11
Summary Gathering data - important part of modeling Four ways/locations ▫Monitor – easiest Outputs the current value Updated continuously as the model runs ▫Graph More than one variable at a time (line for each) Graphical information can be easier to understand Continuous history of output ▫Command Center ▫Output Area
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.