plots intensity vs pixel