draw histogram from actual picture