Module:ColinTheCat/Plotter/doc: Difference between revisions

From Resonite Wiki
No edit summary
No edit summary
Line 19: Line 19:
|Plots=
|Plots=
[
[
{"Type": "function", "Function": "sin(x)", "Samples": 100}
{"Type": "function", "Function": "sin(x)", "Samples": 100, "Label": "sin"}
]
]
}}
}}

Revision as of 03:53, 12 February 2024

{{#invoke:ColinTheCat/Plotter|Plot2D
|From=-0.2, -1.2
|To=2 * pi + 0.2, 1.2
|GridStep=0.5 * pi, 1
|LabelStepX=format("%.1f π", x/pi)
|Plots=
[
{"Type": "function", "Function": "sin(x)", "Samples": 100}
]
}}
0.5 π 1.0 π 1.5 π 2.0 π -1 1
sin