Add Data To Line Graph: Difference between revisions

From StarLogo Nova Wiki
No edit summary
Line 11: Line 11:


==Nuances==
==Nuances==
You can add many different line graphs to your simulation, and they can all use the same axes! Just be sure to use different sets of data for each line graph.


==Related Blocks==
==Related Blocks==

Revision as of 20:02, 1 December 2022

Add data to line graph

Add data to line graph [▼] for [▼] x-axis: [_] y-axis: [_] is a code block from the Interface drawer.

Usage

Add data to line graph [▼] for [▼] x-axis: [_] y-axis: [_] adds data to a selected series of a selected graph that’s made up of pairs of x-coordinates and y-coordinates. First create a line graph widget using the Widget Editor, and add one or more series as needed.

Syntax

Add data to line graph [Dropdown: Line Graph Widget] for [Dropdown: Data Series] x-axis: [Textbox: x function] y-axis: [Textbox: y function]

Nuances

You can add many different line graphs to your simulation, and they can all use the same axes! Just be sure to use different sets of data for each line graph.

Related Blocks