graphing linear functions in Excel
Gosia asks:
Question
How do I graph a linear function in Excel, if I have a series of X and Y values in cells--instead of getting two seperate lines?Answer
Let's say you have the following data:
| y | z |
| 98 | 69 |
| 64 | 45 |
| 57 | 40 |
| 87 | 61 |
| 42 | 29 |
| 80 | 56 |
| 95 | 67 |
| 62 | 43 |
| 87 | 61 |
| 66 | 46 |
| 36 | 25 |
| 13 | 9 |
| 23 | 16 |
| 91 | 63 |
| 81 | 57 |
| 69 | 49 |
| 6 | 4 |
| 69 | 48 |
| 47 | 33 |
| 26 | 18 |
| 48 | 33 |
where column Z is exactly 70% of column Y, or any other constant for that matter. Insert a graph, and choose the following graph type:
xxx
And this will display the following chart for you:
yyyy