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]))Interactive examples could not load. You can still copy the expressions.
Expected result: plot.