I have to plot a variable e.g f(x,y,z) in complete 3D space (x,y,z).

Normally in 3D plots we use two axis and take the variable along 3rd axis to see the variations. But I am not clear how to do this in full 3D with all three axis and a variable as fourth axis parameter.

Can anyone help me go through this?

Thanks in anticipation!