Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (November 2019)
A list rendered using the script.

This tutorial will explain how elements of a list of numbers can be plotted as a graph.


Here is the script:

define Render // Enable run without screen refresh
set [i v] to (1)
erase all
pen up
go to x: (-240) y: (0) // Start at the far left of the stage
pen down
repeat (length of [list v])
    go to x: ((((480) / (length of [list v])) * (i)) - (240)) y: ((item (i) of [list v]) * (scale))
    change [i v] by (1)

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.