11
New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

Embed Size (px)

Citation preview

Page 1: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

New Mexico Computer Science For All

Interface Output in NetLogo (Part 1)

Maureen Psaila-Dombrowski

Page 2: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

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

Page 3: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

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

Page 4: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

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

Page 5: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

Output to a Monitor

Page 6: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

Output to a Monitor

•Program with output to a Monitor

Page 7: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

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

Page 8: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

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

Page 9: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski
Page 10: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

•Program with output to a Graph

Page 11: New Mexico Computer Science For All Interface Output in NetLogo (Part 1) Maureen Psaila-Dombrowski

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