I have to plot a function of three varaibles $F(\theta,\beta,\gamma)$ with version 10.0 and I thought to follow the first advice of this answer, so my plot is given by:
xyz = Flatten[
Table[{i, j, k}, {i, 0, Pi, 0.1}, {j, 0, 2 Pi, 0.1}, {k, 0, Pi,
0.1}], 2];
f[x_, y_, z_] := Cos[x] Sin[y] Cos[z];
Graphics3D[
Point[xyz, VertexColors -> (Hue /@ Rescale[f[##] & @@@ xyz])],
Axes -> True, AxesLabel -> {\[Theta], \[Beta], \[Gamma]}]
I want to add a color legend to it how can I do it?