pixels vs intensity plot
ploting image in runtime