# multiple inputs on x axis

Please look at my table and graph below:

height  status
110         1
150         2
200         3


Great, I have done three measurements. I input height of people and I have an Y axis, which represent a status. I inserted independent values on x and y the target data. I got this lovely scatter graph. Perfect.

Now my question is:

How do you apply multiple independent values to graph? Let's say I have:

height  weight  age status
110       50    10  1
150       100   20  2
200       200   30  3


for which I want to have all three independent values (height, weight, age) on X axis and status value on Y axis of course? What would be the correct way to place it in graph? I would really appreciate if you could help me understand that. Please be at least simplistic as possible. Thank you very much in advance.

• along same vertical line for each height also put in extra red and green circles representing weight and age. – Narasimham May 19 '17 at 11:17

But this allows only for three variables to be plotted at the same time. If you want, you could simply add a third dimension, but I wouldn't recommend it, as it becomes messy. Rather, I'd simply make two plot: Use the same $x$-variable on both and have two $y$-axis on one plot and a single $y$-axis (with the last variable) on the second plot.