I think this question has already be asked before, but I could not find a track of the answer. Anyway, here is a way to play with property nodes to read the Z color table from a 3D control, and to write it to an intensity map indicator. You then just need to paint the intensity graph transparent to get a nice Z scale.
Chilly Charly (aka CC)