console.log elevation in the plotElevation function