How to connect points on Desmos
To connect points on Desmos, put them in a table, then click and hold the coloured icon at the top of the y column, and turn on “Lines”. Desmos joins the points in the order they appear in the table.
Step by step
- 1Click + and choose “table”, then type your points in order.
- 2Click and hold the coloured circle at the top of the y₁ column until the style menu opens.
- 3Switch on Lines. You can also switch off Points to leave just the lines.
Connecting two points with an equation
To join (1, 2) and (4, 8) without a table, use a parametric line, where t runs from 0 to 1, which is the default:
(1 + 3t, 2 + 6t)
In general, from (a, b) to (c, d), type (a + (c - a)t, b + (d - b)t). Unlike a restriction, this also works for vertical segments.
Closing a shape
Lines only join rows in order, so to close a shape, repeat your first point as the last row. Or use polygon, which closes the shape for you and fills it: see shapes in Desmos.
Finding the equation of the line
The slope calculator gives you the equation of the line through two points, in every form.
Frequently asked questions
How do I connect two points on Desmos?
Why are my points connecting in the wrong order?
How do I make a line segment?
Keep going
Where the points come from.
More ways to draw a segment.
The line through two points.
Type y₁ ~ m x₁ + b below a table, with the tilde.
Type r = 2 sin(3θ), then set the range and the polar grid.
Name a list, then type boxplot(L).
The same equations work here, with algebra, steps and exports built in. It is free, with no account.