Wilang Documentation1.0.0+4

ray#

Draw a half-line starting at one point and passing through another.

Available in: math cells.

Syntax#

ray(a, b)

Arguments and behavior#

Each point is a two-element array and the two points must differ. The ray has no upper bound and is clipped to the visible window.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
plot(ray([-3, 0], [3, 0]))

Expected result: plot.

See also#

plot

All functions · Math guides