added if statements to plots for colour related to depth