Add Data To Line Graph: Difference between revisions

From StarLogo Nova Wiki
(add tooltip text)
(Marked this version for translation)
Line 7: Line 7:
<section end="image" /><p id="tooltip">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.</p>
<section end="image" /><p id="tooltip">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.</p>


<!--T:7-->
<section begin="name" />{{Block|Add data to line graph [▼] for [▼] x-axis: [_] y-axis: [_]}}<section end="name" /> is a code block from the [[Interface]] drawer.
<section begin="name" />{{Block|Add data to line graph [▼] for [▼] x-axis: [_] y-axis: [_]}}<section end="name" /> is a code block from the [[Interface]] drawer.



Revision as of 19:30, 8 August 2023

Other languages:


Add data to line graph

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.

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 Block

Inputs:

  1. a graph from the first dropdown menu, and a data series from the second dropdown menu. Then two numbers in the two sockets. The first number will serve as the x function along the graph, and the second will serve as the y function along the graph.


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