The calculator can increase and decrease the display ranges of the X-axis and the Y-axis, i.e., Xmin, Xmax, Ymin and Ymax in response to the operator touching a part of the coordinate detecting means located on one of the display range change instruction buttons, for example, with instruction means such as a pen.