Panasonic is discontinuing production of plasma televisions and shuttering the three factories that made them in the wake of stiff competition from LCD TVs.