\line(x slope,y slope){length}
The \line command draws a line of the specified length and slope.
\line
length
slope
Note that LaTeX can only draw lines with slope = x/y, where x and y have integer values from -6 through 6.