Add Data To Line Graph: Difference between revisions
No edit summary |
(Marked this version for translation) |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | |||
<section begin="image"/> | <section begin="image"/> | ||
[[File:Add data to line graph.png|alt=Add data to line graph|thumb]] | [[File:Add data to line graph.png|alt=Add data to line graph|thumb]] | ||
Line 7: | Line 8: | ||
<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. | ||
<!--T:2--> | |||
==Usage== | ==Usage== | ||
<p id="tooltip">{{Block|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.</p> | <p id="tooltip">{{Block|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.</p> | ||
<!--T:3--> | |||
===Syntax=== | ===Syntax=== | ||
<code>Add data to line graph [Dropdown: Line Graph Widget] for [Dropdown: Data Series] x-axis: [Textbox: x function] y-axis: [Textbox: y function]</code> | <code>Add data to line graph [Dropdown: Line Graph Widget] for [Dropdown: Data Series] x-axis: [Textbox: x function] y-axis: [Textbox: y function]</code> | ||
<!--T:4--> | |||
==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. | 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. | ||
<!--T:5--> | |||
==Related Blocks== | ==Related Blocks== | ||
*{{Block|Clear Line Graph|clear line graph [▼]}} | *{{Block|Clear Line Graph|clear line graph [▼]}} | ||
<!--T:6--> | |||
[[Category:Interface]] | [[Category:Interface]] | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
</translate> | </translate> |
Revision as of 20:20, 27 June 2023
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.