plotting intensity to see effect of mask