1
$\begingroup$

Please look at my table and graph below:

height  status
110         1
150         2
200         3

table one

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.

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

For each variable you want to plot, you need an axis. If you have four variables, you - in principle - need a four-dimensional space to plot in.

Well, that's of course no good, so what can we do? A common thing to do in these scenarios is to use the left vertical side of the plot as one axis and the right as another, like this.

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.

$\endgroup$
  • $\begingroup$ Thank you Lovsovs, I was afraid the n-dimension is only solution, but indeed it's quiet messy:) $\endgroup$ – Testing man May 19 '17 at 11:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.