How is a thermometer related to rectangular coordinate system