How to connect points on Desmos
Updated November 2026 · Sarkari Tools math team
Desmos can join points in three ways: turn on lines for a table, draw a closed shape with polygon(), or draw a single segment between two points with a short parametric formula.
polygon((0,0),(4,0),(2,3))(1+3t, 2+2t)Step by step
- Put the points in a table (+ menu → Table) in the order you want them joined.
- Click the color circle at the top of the y₁ column and switch on Lines. Desmos joins the points in row order.
- For a closed shape, type
polygon((0,0),(4,0),(2,3)). Desmos draws and shades the triangle. - To join just two points, type
(1+3t, 2+2t). With the default range 0 ≤ t ≤ 1, this is the segment from (1, 2) to (4, 4).
Try it live
This graph is drawn by our free graphing calculator, which uses the same style of typing. Edit any line and the graph updates.
Common mistakes and tips
- Lines follow the order of the rows, so sort your table first.
- For a segment from (x₁, y₁) to (x₂, y₂), use (x₁ + (x₂ − x₁)t, y₁ + (y₂ − y₁)t).
- Turn off Points if you only want the line.
Frequently asked questions
Why are my points connected in the wrong order?
Desmos connects table rows top to bottom. Reorder the rows to change the path.
How do I draw a line through two points?
Find the slope and use point-slope form, or fit y₁ ~ mx₁ + b to a two-row table.
Can I make the connecting lines dashed?
Yes. Click the color circle and pick a dashed line style.
No Desmos? Use our free online graphing calculator
Our free online graphing calculator works in any browser with no sign-up, and it shows step-by-step working where it can.
More Desmos guides
- How to graph a circle on Desmos
- How to graph piecewise functions on Desmos
- How to graph polar coordinates on Desmos
- How to graph parametric equations on Desmos
- How to make a table on Desmos
- How to do regression on Desmos
- How to add a slider in Desmos
- How to restrict the domain (limit a function) in Desmos
- How to do derivatives in Desmos
- How to do limits in Desmos
- How to do a cube root on Desmos
- How to make a heart in Desmos
- How to find slope on Desmos
- How to convert a decimal to a fraction on Desmos
- How to use Desmos on the SAT
- How to make a box plot on Desmos
- How to do a subscript in Desmos
- How to put a function in Desmos
- How to graph inequalities on Desmos
- How to find the intersection of two graphs on Desmos
Desmos is a trademark of Desmos Studio PBC. Sarkari Tools is independent and not affiliated with or endorsed by Desmos. Our guides describe how to use the Desmos calculator; our own calculators are separate tools.