How can I colour my terrain using a colour gradient based on the elevation?

This works perfectly! thanks very much for sharing :smiley: