Clear Line Graph: Difference between revisions
No edit summary |
(Marked this version for translation) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
<!--T:1--> | |||
<section begin="image"/> | <section begin="image"/> | ||
<section end="image" /> | [[File:Clear line graph.png|alt=clear line graph|thumb]] | ||
<section end="image" /><p id="tooltip">Removes all existing data on a selected graph.</p> | |||
<!--T:7--> | |||
<section begin="name" />{{Block|clear line graph [▼]}}<section end="name" /> is a code block from the [[Interface]] drawer. | <section begin="name" />{{Block|clear line graph [▼]}}<section end="name" /> is a code block from the [[Interface]] drawer. | ||
<!--T:2--> | |||
==Usage== | ==Usage== | ||
{{Block|clear line graph [▼]}} removes all existing data on the selected line graph. | |||
<!--T:3--> | |||
==Syntax== | |||
[[File:Clear LineGraph Nums.png|right|alt=The Clear Line Graph Block|thumb]] | |||
<!-- <code>clear line graph [Dropdown: Line Graph Widget]</code> --> | |||
Inputs: | |||
#a graph from the dropdown menu | |||
==Example== <!--T:8--> | |||
<!--T:9--> | |||
[[File:clear_line_graph_example.gif|alt=Clear Line Graph example gif|thumb]] | |||
[[File:clear_line_graph_example.png|alt=Clear Line Graph example code|thumb]] | |||
<!--T:10--> | |||
< | This is a model of an epidemic. When the setup is pushed the population health line graph is cleared. | ||
<!--T:4--> | |||
==Nuances== | ==Nuances== | ||
Clear your line graphs each time before you run a new simulation to keep data separate from each run. | Clear your line graphs each time before you run a new simulation to keep data separate from each run. | ||
<!--T:5--> | |||
==Related Blocks== | ==Related Blocks== | ||
*{{Block|Add Data to Line Graph|clear line graph [▼]}} | *{{Block|Add Data to Line Graph|clear line graph [▼]}} | ||
<!--T:6--> | |||
[[Category:Interface]] | [[Category:Interface]] | ||
[[Category:Code Block]] | [[Category:Code Block]] | ||
</translate> |
Latest revision as of 14:31, 14 August 2023
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
Inputs:
- a graph from the dropdown menu
Example
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.