CreateLinePoints creates a vector that represents the line that connects two points
Vector containing the xy-coordinates of point 1
Vector containing the xy-coordinates of point 2
Returns a vector which contains the slope and intercept of the defined line. If the points have the same x-coordinate, the slope is set to
Inf and the intercept is replaced by the x-value for the line (which is a vertical line in this situation)
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.