Detect temperture and paint temperture curve graph.