1. A method of controlling a display in an electronic device, the method comprising: measuring a temperature of at least one part of the electronic device; determining an algorithm corresponding to the measured temperature of the at least one part; and displaying an image based on the determined algorithm.