Patent ID: 8791959

Claim:
An electronic device, comprising: a display which displays an image; a graph graphic detection unit which detects graph graphics matching predetermined graph shapes in the image; a graph rendering unit which renders graphs overlapping the graph graphics which are detected by the graph graphic detection unit; a length input line segment designation unit which designates any one of line segments included in the image as a line segment subject to length input based on a user's operation; a line segment length input unit which inputs a given length of the line segment designated by the length input line segment designation unit, based on a user's operation; a point of origin setting unit which sets a point of origin of an XY coordinate system in the image according to positions and shapes of the graphs; a display range calculation unit which calculates a display range of the XY coordinate system which is set so as to be superimposed on the image based on the input length of the designated line segment, the XY coordinate system having a minimum X coordinate value, a maximum X coordinate value, a minimum Y coordinate value, and a maximum Y coordinate value; a graph equation calculation unit which calculates graph equations of the rendered graphs based on the display range and displays calculation results on the display; and a trace coordinate display unit which displays a tracing point on one of the rendered graphs, moves the tracing point on the graph according to a user's operation, and displays coordinates of the moved tracing point.