Note: Either public, protected or private keyword is used in place of access_specifier term used in the above code. Example of public, protected and private inheritance in C++
The graph of a relation of the form y = 5 is a line parallel to the x-axis because the y value never changes. A line parallel to the x-axis is called a horizontal line. The graph of a relation of the form x = 5 is a line parallel to the y-axis because the x value never changes. A line parallel to the y-axis is called a vertical line. Plot the graph of each of the following relations: horizontal line, vertical line.
1 With a chart, the y-axis is the vertical data that is typically on the right-side of the chart. 2  In computer graphics, if you wanted to draw a horizontal line the x-axis can be used to determine the start and end point of the line. 3  Drawing a two-dimensional object would require only the x-axis and y-axis.