Added shadow plotting function.