new Function to generat a Grafic addictive to the Temperatur