# How to draw

## Main Question or Discussion Point

How do I draw a graph, when all y values are for intervals. Example: 0-1000: 20, 1000-2000: 30. i tried the middle value, but according to the correct answers they had used "prettier" values.

TLS

Mark44
Mentor
How do I draw a graph, when all y values are for intervals. Example: 0-1000: 20, 1000-2000: 30. i tried the middle value, but according to the correct answers they had used "prettier" values.
Do you mean, all the x values are for intervals? Usually, when there are two variables, they are x and y, with the x values along the horizontal axis, and the y values along the vertical axis.

If I understand what you're asking, in your example, between x = 0 and x = 1000, the y value is 20. Between x = 1000 and x = 2000, the y value is 30. In the first part of the graph (between 0 and 1000), the graph is a horizontal line, 20 units up from the x axis. In the second part (between 1000 and 2000), the graph is a horizontal line 30 units above the x axis.

What do you mean by, "they used 'prettier' values"?