Line a base object of Graphics to learn. If we have two end points, we can easily draw the line with y=mx+c equation. Here I am going to discuss how to visualize a line roughly only with its Slope (m) value. As we know that slope is the ratio of difference of y and x of any two points lies on the line, we can easily calculate the slope if we have the values to two end points of a line. Now if we only have the values of m, then also we can easily guess the line with the following properties.

**Type-I:**

In this type of line all the values of x is equal to the values of y and the line is at 45^{0} with x-axis as well as y-axis. As all the values of x and y are same, thus the value of m is always 1.

**Type-II:**

In this type of lines, all the points lies on this line are having equal y-value. This line is always parallel with x-axis and perpendicular with y-axis. The value of slop is 0.

**Type-III:**

In this type of lines, all the points lies on this line are having equal x-value. This line is always parallel with y-axis and perpendicular with x-axis. The value of slop is ∞.

**Type-IV:**

This type of lines is having less than 45^{0} angles with x-axis similar as the diagram and the value of slope is less than 1. During plotting every points lies on this line we must remember that for each point interval the value of x will be incremented by 1, but the value of y will be incremented less than one. The next value for y need to be decided whether it is y or y+1.

**Type-V:**

This type of lines is having greater than 45^{0} and less than 90^{0} angles with x-axis similar as the diagram and the value of slope is greater than 1. During plotting every points lies on this line we must remember that for each point interval the value of y will be incremented by 1, but the value of x will be incremented less than one. The next value for x need to be decided whether it is x or x+1.

**Type-VI:**

This type of lines is having less than 135^{0} and greater than 180^{0} angle with x-axis similar as the diagram and the value of slope is greater than -1 and less than 0. During plotting every points lies on this line we must remember that for each point interval the value of x will be incremented by 1, but the value of y will be decremented less than one. The next value for y need to be decided whether it is y or y-1.

**Type-VII:**

This type of lines is having greater than 90^{0} and less than 135^{0} angle with x-axis similar as the diagram and the value of slope is less than -1. During plotting every points lies on this line we must remember that for each point interval the value of y will be decremented by 1, but the value of x will be incremented less than one. The next value for x need to be decided whether it is x or x+1.

**Follow us on ***Facebook_Page***, ***Youtube_Channel*** and Join us on ***Facebook_Group*

She is a co-founder of "Day On My Plate". Furthermore she is an academician in Dept. of Computer Science & Engineering. She likes to voyage all over the world in search of unrevealed experiences. She is passionate in reading novels and writing articles. Hope you all are enjoying her articles.