Setting TransferFunction in 3D

Sample code for general purpose colour/opacity adjustment.

The result might not good good on particular data because this is intended purely for demonstration purposes!