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?

Rescaleserve the same purpose asColorFunctionScaling->False? – CA Trevillian Mar 03 '20 at 13:35Rescaleacts likeColorFunctionScaling -> Truebecause it rescales the whole dataset of values in the range [0,1]. However, forVertexColorsyou need to rescale the values yourself opposed to things likePlotthat do it for you. – halirutan Mar 04 '20 at 06:59