# Plot an Ordered Pair

Learning Outcomes

1. Draw $$x$$ and $$y$$ axes.
2. Plot a point in the xy-plane

We have already gone into detail about how to plot points on a number line, and that is very useful for single variable presentations. Now we will move to questions that involve comparing two variables. Working with two variables is frequently encountered in statistical studies and we would like to be able to display the results graphically. This is best done by plotting points in the xy-plane.

Example $$\PageIndex{1}$$

Plot the points: $$(3,4)$$,$$(-2,1)$$, and $$(0,-1)$$

Solution

The first thing to do when plotting points is to sketch the x-axis and y-axis and decide on the tick marks. Here the numbers are all less than 5, so it is reasonable to count by 1's. Next, we plot the first point, $$(3,4)$$. This means to start at the origin, where the axes intersect. Then move 3 units to the right and 4 units up. After arriving there, we just draw a dot. For the next point, $$(-2,1)$$, we start at the origin, move 2 units to the left and 1 unit up and draw the dot. For the third point, $$(0,-1)$$, we don't move left or right at all since the x-coordinate is 0, but we do move 1 unit down and draw the dot. The plot is shown below.

Example $$\PageIndex{2}$$

A survey was done to look at the relationship between a person's age and their income. The first three answers are shown in the table below:

 Age 49 24 35 Income 69,000 32,000 40,000

Graph the three points on the xy-plane.

Solution

Notice that the numbers are all relatively large. Therefore counting by 1's would not make sense. Instead, it makes better sense to count the Age axis, $$x$$, by 10's and the Income axis, $$y$$, by 1000's. The points are plotted below.

Exercise

A hotel manager was interested in seeing the relationship between the price per night, $$x$$, that the hotel charged and the number of occupied rooms, $$y$$. The results were (75,83), (100,60), (110,55), and (125,40). Plot these points in the xy-plane.

Ex: Plotting Points on the Coordinate Plane

Plotting Points
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://stats.libretexts.org/Courses/Support_Course_for_Elementary_Statistics/Graphing_Points_and_Lines_in_Two_Dimensions/Plot_an_Ordered_Pair", "fetch_time": 1579680297000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2020-05/segments/1579250606872.19/warc/CC-MAIN-20200122071919-20200122100919-00014.warc.gz", "warc_record_offset": 666564926, "warc_record_length": 20641, "token_count": 541, "char_count": 2077, "score": 4.84375, "int_score": 5, "crawl": "CC-MAIN-2020-05", "snapshot_type": "latest", "language": "en", "language_score": 0.9283583760261536, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00005-of-00064.parquet"}