|
Plot to Window Action
|
||
| Definition: | The Plot to Window action plots the value of the Attribute or Simulation Property named in the action's text field in the window specified to represent a user-specified quantity between endpoints as specified with numbers or Visual AgenTalk Formulae.The value is plotted using a color displayed in the action's color field.
Attribute values are plotted along the y-axis of a 2-D plot window while time is represented along the plot window's x-axis. To plot Simulation Properties you can also use the plot functionality on the Simulation Properties window. |
|
| Parameters: | attribute, formula | |
| Example: | The Counter agent in the Predators & Prey simulation counts and plots the number of large and small fish living in a pond. It plots the number of small fish in the Population window using yellow color, with the plot ranging between 0 and 150. It also plots the number of large fish in the Population window using red color, with the plot ranging between 0 and 150.
|
|
| See the Predators & Prey simulation that is included in the AgentSheets distribution. | ||
Ristretto Information: |
This action will not operate in Ristretto-generated applets. | |
|
| Next | Previous | Reference Manual | Getting Started Manual | |
||