A straight line can be drawn by joining two points plotted on a grid. The coordinates of the mid-point of the line and the length of the line can be calculated using the coordinate values.