scatter and histogram