Clear Line Graph

From StarLogo Nova Wiki
Revision as of 14:38, 14 August 2023 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:


clear line graph

Removes all existing data on a selected graph.

clear line graph [▼] is a code block from the Interface drawer.

Usage

clear line graph [▼] removes all existing data on the selected line graph.

Syntax

The Clear Line Graph Block

Inputs:

  1. a graph from the dropdown menu

Example

Clear Line Graph example code

This is a model of an epidemic. When the setup is pushed the population health line graph is cleared.

Nuances

Clear your line graphs each time before you run a new simulation to keep data separate from each run.

Related Blocks