Scientists have used a new technique to identify the age and source of an eruption depicted in the world's first known landscape painting.