Time resolved analysis of the visible light emitted by a laser produced plasma