patterned histogram