Electronic equipment, systems, methods and programs for controlling electronic equipment

JP2024132240A5Pending Publication Date: 2026-03-24CASIO COMPUTER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

Conventional electronic devices with graph drawing functions are limited by the number of colors, leading to multiple graphs being drawn in the same color, which can make it difficult to distinguish between them visually.

Method used

The electronic device includes a processor that temporarily sets and changes the display mode of additional graphs to ensure that graphs with matching ends are displayed in different colors or line types, improving visibility by ensuring each graph has a distinct appearance.

Benefits of technology

This approach enhances the visibility of multiple graphs by ensuring they are displayed in distinguishable colors or line types, even when their ends coincide, thereby improving the clarity of the graphical representation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To improve the visibility of graphs drawn on a display screen.SOLUTION: A processor 21 of an electronic device 10 is configured to: display, according to an electronic calculator control program 221, a first graph corresponding to a first graph function expression in a first display mode on a graph screen of a display 12; and temporarily set a display mode for displaying a second graph corresponding to a second graph function expression, which is different from the first graph function expression, on the graph screen on which the first graph is displayed. When a coordinate value of an end of the first graph is coincident with a coordinate value of an end of the second graph and when the first display mode of the first graph is coincident with the display mode temporarily set for the second graph, the processor 21 changes the display mode temporarily set for the second graph.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] An embodiment of the present invention relates to an electronic device, a control method for an electronic device, and a program. [Background technology]

[0002] In recent years, electronic devices called scientific calculators with a graph drawing function have been used in mathematics learning (see, for example, patent literature). Such electronic devices can draw, for example, 20 graphs with five color patterns. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2015-210598 A Summary of the Invention [Problem to be solved by the invention]

[0004] In conventional electronic devices, the number of colors is limited, so when drawing a graph with more than that number of colors, the multiple graphs are drawn in the same color.

[0005] When graphs are drawn in the same color in this way, the y values ​​at the ends of the domains of the graphs may end up being the same, meaning that two different graphs may appear to be one graph.

[0006] The problem that the present invention aims to solve is to provide an electronic device, a control method for an electronic device, and a program that make it possible to improve the visibility of each graph when drawing multiple graphs on a display screen. [Means for solving the problem]

[0007] The electronic device according to the present invention comprises: a display means for displaying a first graph corresponding to a first function on a display screen in a first display manner; a provisional setting means for provisionally setting a display mode when a second graph corresponding to a second function different from the first function is displayed on the display screen on which the first graph is displayed; a change means for changing the display mode of the second graph provisionally set by the provisional setting means when a coordinate value of an end of the first graph and a coordinate value of an end of the second graph match and when the first display mode of the first graph and the display mode provisionally set for the second graph match; Equipped with. Effect of the Invention

[0008] According to the present invention, it is possible to provide an electronic device, a control method for an electronic device, and a program that make it possible to improve the visibility of each graph when multiple graphs are drawn on a display screen. [Brief description of the drawings]

[0009] [Figure 1] 1 is a front view illustrating an example of an external configuration of an electronic device according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram showing a functional configuration of an electronic circuit of the electronic device. [Diagram 3] FIG. 3 is a block diagram showing subprograms included in the calculator control program in FIG. 2. [Figure 4] FIG. 13 is a diagram showing an example of a graph function formula list screen displayed on a display. [Diagram 5] 5 is a diagram showing an example of a graph screen displayed on a display, in which graphs y1 and y2 of graph function formulas Y1 and Y2 are drawn on the graph function formula list screen of FIG. 4. FIG. [Figure 6] 10 is a flowchart showing an example of the operation of the electronic device. [Figure 7] FIG. 13 is a diagram showing another example of the graph function formula list screen. [Figure 8]8 is a diagram showing an example of a graph screen on which a graph y1 of a graph function formula Y1 is drawn on the graph function formula list screen of FIG. 7. FIG. [Figure 9] 8 is a diagram showing an example of a graph screen in which graphs y1 and y6 of graph function formulas Y1 and Y6 on the graph function formula list screen of FIG. 7 are drawn in a set display color. FIG. [Figure 10] 8 is a diagram showing an example of a graph screen on which graphs y1 and y6 of graph function formulas Y1 and Y6 are drawn on the graph function formula list screen of FIG. 7 when the drawing color of graph function formula Y6 is changed. FIG. [Figure 11] FIG. 11 is a diagram showing a characteristic part of a flowchart illustrating an operation example of an electronic device according to a second embodiment of the present invention. [Figure 12] FIG. 13 is a diagram showing an example of a graph function formula list screen when the drawing color of the graph is changed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0011] (First embodiment) Fig. 1 is a front view illustrating an example of an external configuration of an electronic device 10 according to a first embodiment of the present invention. Fig. 1 shows a case in which the electronic device 10 is implemented as a graphing scientific calculator.

[0012] The electronic device 10 configured as a graphing scientific calculator is small enough for a user to hold and operate it in one hand due to the need for portability, and has a key input section 11 and a display 12 on the front of the main body.

[0013] The key input section 11 is provided with a group of numeric and arithmetic symbol keys 111 for inputting numeric values ​​and formulas and for instructing the execution of calculations and programs, a group of function keys 112 for inputting various functions and activating memory functions, a group of setting keys 113 including a menu key "MENU" for displaying a main menu screen for selecting various function modes such as a calculation mode or a graph mode, a group of function keys 114 for activating various functions displayed along the bottom edge of the display 12 with a single key operation, and cursor keys 115 for moving a cursor displayed on the display 12 and selecting data items.

[0014] The numeric value / operation symbol key group 111 includes numeric values ​​[0] to [9], four arithmetic symbols [+], [-], [×], and [÷], an [EXE] (execute) key, an [AC] (clear) key, and the like.

[0015] The function key group 112 includes a [sin] (sine) key, a [cos] (cosine) key, a [tan] (tangent) key, and the like.

[0016] As the setting key group 113, in addition to the menu key "MENU", an [EXIT] key, a [SHIFT] key, and the like are arranged.

[0017] The function key group 114 includes an arrangement of keys [F1] to [F6].

[0018] In addition, when the numeric / operation symbol keys 111, the function keys 112, the setting keys 113, and the function keys 114 are operated after the [SHIFT] key, they can function as the keys written above them, rather than the key functions written on the key tops. For example, if the [AC] key is operated after the [SHIFT] key is operated (hereinafter referred to as [SHIFT]+[AC] keys), it becomes the [OFF] (power off) key. The [SHIFT]+[MENU] keys become the [SET UP] key, and the [SHIFT]+[F3] keys become the [V-Window] key (which commands the display of the view window: drawing area setting screen).

[0019] The display 12 is a dot-matrix color liquid crystal display unit. When the electronic device 10 is a tablet terminal, the display 12 is a liquid crystal display unit with a touch panel superimposed thereon.

[0020] FIG. 2 is a block diagram showing the configuration of an electronic circuit of the electronic device 10. As shown in FIG.

[0021] The electronic circuit of this electronic device 10 is mainly composed of a processor 21 such as a CPU (Central Processing Unit), and is configured by connecting the key input unit 11, the display 12, a memory 22, and a recording medium reading unit 23 via a bus B.

[0022] The memory 22 comprises a ROM in which the operating programs executed by the processor 21 and fixed data are stored in a non-volatile manner, and a RAM in which various data read from the ROM is expanded and held. The memory 22 stores a calculator control program 221 and also has a writable data area 222.

[0023] The calculator control program 221 is an operating program stored in the ROM that causes the processor 21 to execute various calculation processes including function calculations in normal mode and graph drawing calculations in graph mode, and to display the results of the calculations on the display 12.

[0024] The processor 21 controls the operation of each part of the circuit in accordance with a calculator control program 221 stored in this memory 22, and executes various processes in response to key input signals from the key input unit 11. The calculator control program 221 may be stored in advance in the memory 22, or may be read and stored in the memory 22 from an external recording medium 24 such as a memory card via the recording medium reading unit 23. The calculator control program 221 is designed so that it cannot be rewritten by the user by operating the key input unit 11.

[0025] In addition to such information that cannot be rewritten by the user, the memory 22 has a writable data area 222 secured as an area for storing data that can be rewritten by the user, in which data of key codes entered by the key input unit 11 is sequentially input and used to store mathematical formula data, table data, graph data, and the like. In other words, the writable data area 222 is a work area in the RAM that temporarily holds programs and data when the processor 21 executes program processing.

[0026] The recording medium reading unit 23 is an interface that connects to the external recording medium 24, such as a memory card, that is attached to the electronic device 10 via a card slot (not shown) in order to read data such as additional programs from the external recording medium 24. The read data such as additional programs is stored in the writable data area 222 of the memory 22 via the bus B under the control of the processor 21.

[0027] Although not shown, the electronic device 10 may be provided with a communication unit that can connect to an external device such as a personal computer via a wired connection through a communication terminal such as a USB terminal, or via a wireless connection through a wireless LAN, thereby enabling connection to an external network (NW). The communication unit enables the electronic device 10 to transmit and receive necessary data, for example, data when updating the calculator control program 221.

[0028] In the electronic device 10 thus configured, the processor 21 controls the operation of each part of the circuit in accordance with the instructions written in the calculator control program 221, and the software and hardware operate in cooperation with each other to realize a graph drawing function, as described below. That is, the calculator control program 221 is a program that displays a graph of a graph function formula on the display 12 in the graph mode.

[0029] FIG. 3 is a configuration diagram showing the subprograms included in the calculator control program 221. As shown in FIG.

[0030] As shown in FIG. 3, the calculator control program 221 includes a graph display subprogram 221a, a line appearance temporary setting subprogram 221b, a line appearance change subprogram 221c, and a graph display control subprogram 221d.

[0031] Setting of the electronic device 10 to the graph mode is started by pressing the [MENU] key in the setting key group 113. That is, the electronic device 10 has various operation modes such as a calculation mode and a graph mode, and when the "MENU" key is pressed, the processor 21 displays on the display 12 a main menu screen in which the operation modes of the electronic device 10 are arranged, for example, as icons. Then, the processor 21 displays the icon in a highlighted manner, for example, in response to the selection of the icon by the operation of the cursor key 115, and enters the operation mode corresponding to the icon that is displayed when the [EXE] key in the numeric value / operation symbol key group 111 is pressed.

[0032] When the operating mode enters the graph mode, the processor 21, in accordance with the graph display subprogram 221a, causes the display 12 to display a graph function list screen, and becomes capable of accepting input of a graph function to be used for graph drawing from the numeric value / operation symbol key group 111.

[0033] FIG. 4 is a diagram showing an example of the graph function formula list screen. In the electronic device 10 according to the present embodiment, the graph function formula list screen includes graph function formula areas GF1 to GF6 for displaying up to six graph function formulas, and line style areas LS1 to LS6 for displaying line styles set for the graph function formulas displayed in the graph function formula areas GF1 to GF6. The user can input a graph function formula by operating the numerical value / operation symbol key group 111, and can register up to 20 graph function formulas Y1 to Y20, for example, in a graph function formula memory (not shown) provided in the writable data area 222. In FIG. 4, in the display of the function formula Y1, due to the limitation of the display area of ​​the display 12, the last closing parenthesis ")" of the input graph function formula "0.1x(x+4)(x-2)" is cut off and is not displayed. The line style is the display style of the line used when drawing the graph of the graph function formula, and includes the display color and the line type. In this embodiment, five display colors, namely blue (B), red (R), green (G), pink (P), and black (K), and five line types, namely standard, thick line, dashed line, dotted line, and thin line, can be set. As an initial setting, five colors are assigned to standard line types, as shown in FIG. 4. The graph function formula areas GF1 to GF6 and line style areas LS1 to LS6 in the graph function formula list screen are displayed in colors according to the display colors set as the line styles. In FIG. 4, the display colors are shown in parentheses. Note that in other figures, when it is necessary to show the display colors, the colors are shown in parentheses.

[0034] After the graph function formula is registered, the user instructs graph drawing. For example, the user presses the [F6] key in the function key group 114 or the [EXE] key in the numerical value / operation symbol key group 111. In response to this, the processor 21 creates a graph screen on which one of the graph functions registered in the graph function formula memory of the writable data area 222 is drawn according to the graph display subprogram 221a, and causes the display 12 to display this graph screen.

[0035] Fig. 5 is a diagram showing an example of a graph screen on which graphs y1 and y2 of graph function formulas Y1 and Y2 are drawn on the graph function formula list screen shown in Fig. 4. A coordinate system consisting of an x-axis as a first coordinate axis and a y-axis as a second coordinate axis perpendicular to the first coordinate axis is set on the graph screen. First, the processor 21 draws one graph function formula, for example, the graph y1 of the graph function formula Y1, in blue (B) according to a set line pattern.

[0036] After drawing a graph of one graph function formula in this way, the processor 21 draws another registered graph function formula, for example, the graph y2 of the graph function formula Y2. At this time, the processor 21 provisionally sets the display mode of the graph y2 of the graph function formula Y2, which is another graph function formula, for example, the drawing color to red (R), according to the line mode provisional setting subprogram 221b.

[0037] Thereafter, in accordance with the line pattern change subprogram 221c, the processor 21 checks whether the coordinate values ​​of the end points of the drawn graph y1 match the coordinate values ​​of the end points of the graph y2 of this other graph function formula Y2, and whether the display pattern of the drawn graph y1, in this example blue (B), matches the display pattern provisionally set for the graph y2 of this other graph function formula Y2, in this example red (R).

[0038] An end is an end point, and a graph may have one or two ends. The processor 21 compares the coordinate value of one end of a first graph, which is a drawn graph, with the coordinate value of one end of the first graph in a second graph, which is another graph, to determine whether or not the coordinate value of the end of the first graph matches the coordinate value of the end of the second graph. If the coordinate values ​​of the ends of both graphs match and the line patterns also match, the processor 21 changes the display mode of the provisionally set second graph. If not, the display mode of the provisionally set second graph is maintained. In the example of FIG. 5, since neither graph has an end, red (R), which is the display mode of the provisionally set graph y2, is maintained.

[0039] Then, the processor 21, in accordance with the graph display control subprogram 221d, draws the second graph in this provisionally set line style on the graph screen on which the first graph has already been drawn, thereby causing the graph screen on which the graphs of these graph function equations are drawn to be displayed on the display 12. As a result, as shown in Fig. 5, the graph y2, which is the second graph, is drawn in red (R) in the set line style.

[0040] Next, the operation of the electronic device 10 according to the first embodiment of the present invention configured as above will be described.

[0041] FIG. 6 is a flowchart showing an example of the operation of the electronic device 10.

[0042] The operation for setting a graph function formula is the same as in the conventional method, so its explanation will be omitted. Here, it is assumed that multiple graph functions have already been registered in the graph function formula memory of the writable data area 222 by operations on the graph function formula list screen.

[0043] When a user instructs to draw a graph, the processor 21, in accordance with the graph display subprogram 221a, first initializes the value of a pointer n (not shown) set in the writable data area 222 of the memory 22 to "1" (step S11).

[0044] Next, the processor 21 judges whether or not the graph function formula Yn is registered in the graph function formula memory of the writable data area 222 (step S12). For example, it is assumed that two graph function formulas Y1 and Y2 have been registered as shown in Fig. 4. In this case, the processor 21 judges that there is a graph function formula Y1 which is the graph function formula Yn.

[0045] When it is determined that the graph function formula Yn exists (step S12 (YES)), the processor 21 calculates drawing coordinates for drawing the graph yn of the graph function formula Yn, in this case, the graph y1 (step S13).

[0046] Then, the processor 21 judges whether or not the graph yn has an end based on the drawing coordinates calculated in the above step S13 (step S14). The graph y1, which is the graph yn, does not have an end. Therefore, in this case, the processor 21 judges that the graph yn does not have an end.

[0047] When it is determined that the graph yn does not have an end (step S14 (NO)), the processor 21 determines whether or not there is a graph that has already been drawn (step S15). When drawing the graph y1, there is no graph that has already been drawn.

[0048] When it is determined that no graph has been drawn (step S15 (NO)), the processor 21 draws the graph yn, in this case the graph y1, based on the calculated drawing coordinates in the line pattern registered in the graph function formula memory of the writable data area 222 (step S16). This allows the display 12 to display a graph screen in which the graph yn of the graph function formula Yn, in this case the graph y1 of the graph function formula Y1, is drawn in blue (B) display color.

[0049] After that, the processor 21 increments the value of the pointer n by 1 (step S17). In this case, n=2.

[0050] Then, the processor 21 determines whether the value of the pointer n is greater than "20" (step S18). This value "20" is a value based on the number of graph function formulas that can be registered. As described above, the electronic device 10 according to this embodiment is capable of registering a maximum of 20 graph function formulas. Here, since n=2, the pointer value is 20 or less, and in this case (step S18 (NO)), the processor 21 proceeds to the processing operation of the above step S12. Note that the maximum number of graph function formulas that can be registered is not limited to 20, and may be less than 20 or more than 20.

[0051] Then, since the graph function formula Yn, in this case the graph function formula Y2, is registered in the graph function formula memory of the writable data area 222, the processor 21 determines in the above step S12 that the graph function formula Yn exists (step S12 (YES)). Therefore, in the above step S13, the processor 21 calculates drawing coordinates for drawing the graph yn of the graph function formula Yn, in this case the graph y2. Then, in the above step S14, the processor 21 determines that the graph y2, which is the graph yn, does not have an end (step S14 (NO)), and in the above step S15, it is determined whether or not there is a drawn graph. In this case, since the graph y1 has already been drawn, the processor 21 determines that there is a drawn graph.

[0052] When it is determined that there is a drawn graph (step S15 (YES)), the processor 21 provisionally sets the display color registered as the line mode of the graph yn of the graph function formula Yn in the graph function formula memory of the writable data area 222, in this case red (R) which is the drawing color of the graph y2, as the display color to be used for drawing in accordance with the line mode provisional setting subprogram 221b (step S20). This provisional setting is stored in a provisional setting register provided in the writable data area 222.

[0053] Thereafter, the processor 21 judges whether the end points match those of the drawn graph in accordance with the line style change subprogram 221c (step S21). The drawn graph y1 does not have an end point, and the graph yn calculated in step S13 above, in this case the graph y2, does not have an end point in the drawing coordinates, so the processor 21 judges that the end points do not match those of the drawn graph.

[0054] When it is determined that the drawn graph and the end do not match (step S21 (NO)), the processor 21 proceeds to the processing operation of the above step S16. In this case, in step S16, the processor 21 performs processing operations in accordance with the graph display control subprogram 221d. That is, the processor 21 draws the graph yn, in this case the graph y2, in the line form stored in the temporary setting register of the writable data area 222 based on the calculated drawing coordinates. This makes it possible to display on the display 12 a graph screen in which the graph yn of the graph function formula Yn, in this case the graph y2 of the graph function formula Y2, is drawn in a display color of red (R).

[0055] Thereafter, in step S17, the processor 21 increments the value of the pointer n by "+1," and in step S18, the processor 21 determines whether the value of the pointer n is greater than "20." Since n=3 here, the processor 21 proceeds to the processing operation of step S12.

[0056] Then, since the graph function formula Yn, in this case the graph function formula Y3, is not registered in the graph function formula memory of the writable data area 222, the processor 21 determines in step S12 that the graph function formula Yn does not exist. When it is determined that the graph function formula Yn does not exist (step S12 (NO)), the processor 21 proceeds to the processing operation of step S17.

[0057] In this way, the graph function formula Y20 is checked, and when the value of the pointer n is incremented by "+1" in step S17 to become n=21, it is determined in step S18 that the value of the pointer n is greater than "20." When the processor 21 determines that the value of the pointer n is greater than "20" (step S18 (YES)), it ends the operation shown in this flowchart.

[0058] 7 is a diagram showing another example of the graph function list screen. Next, the operation of the electronic device 10 when such a graph function is registered will be described.

[0059] In this case, for the graph function formula Y1, the processor 21 determines in step S14 that the graph y1, which is the graph yn, has an end. When it is determined that the graph yn has an end (step S14 (YES)), the processor 21 stores the x coordinate and the y coordinate of the end in the end memory provided in the writable data area 222 in step S19. After that, the processor 21 moves to the processing operation of step S16 via the processing operation of step S15, and draws the graph y1 in the line form registered in the graph function formula memory of the writable data area 222 based on the drawing coordinates calculated in step S13. This makes it possible to display on the display 12 a graph screen on which the graph y1 of the graph function formula Y1 is drawn in a display color of blue (B). FIG. 8 is a diagram showing an example of a graph screen on which the graph y1 of the graph function formula Y1 is drawn.

[0060] Thereafter, in step S17, the processor 21 increments the value of the pointer n by "+1," and in step S18, the processor 21 determines whether the value of the pointer n is greater than "20." Since n=2 here, the processor 21 proceeds to the processing operation of step S12.

[0061] Then, since the graph function formula Yn, in this case the graph function formula Y2, is not registered in the graph function formula memory of the writable data area 222, the processor 21 determines in step S12 that the graph function formula Yn does not exist. When it is determined that the graph function formula Yn does not exist (step S12 (NO)), the processor 21 proceeds to the processing operation of step S17. In this way, the graph function formula Y5 is checked, and the value of the pointer n is incremented by "+1" in step S17 to make n=6. Then, the processor 21 proceeds to step S12 via step S18. This time, since the graph function formula Y6 is registered in the graph function formula memory of the writable data area 222, the processor 21 determines in step S12 that the graph function formula Yn exists (step S12 (YES)). Therefore, in step S13, the processor 21 calculates the drawing coordinates for drawing the graph yn of the graph function formula Yn, in this case the graph y6. Then, in step S14, the processor 21 determines whether or not the graph y6, which is the graph yn, has an edge.

[0062] Fig. 9 is a diagram showing an example of a graph screen in which graphs y1 and y6 of graph function formulas Y1 and Y6 on the graph function formula list screen of Fig. 7 are drawn in a set display color. As shown in Fig. 9, the graph y6 has an end. Therefore, in this case, the processor 21 determines that the graph y6, which is the graph yn, has an end (step S14 (YES)), and in the above step S19, the x coordinate and y coordinate of the end are stored in the end memory of the writable data area 222.

[0063] Then, in step S15, the processor 21 determines that there is a graph that has already been drawn (step S15 (YES)), and in step S20, the display color registered as the line pattern of the graph yn of the graph function formula Yn in the graph function formula memory of the writable data area 222, in this case blue (B), which is the drawing color of the graph y6, is provisionally set as the display color to be used for drawing.

[0064] Thereafter, in step S21, the processor 21 judges whether or not the end coincides with the drawn graph. In this case, the end of the drawn graph y1 and the end of the graph y6, which is the current graph yn, respectively stored in the end memory of the writable data area 222, coincide with each other, so the processor 21 judges that the end coincides with the drawn graph.

[0065] When it is determined that the end portion matches the drawn graph (step S21 (YES)), the processor 21 determines in accordance with the line pattern change subprogram 221c whether the display color registered as the line pattern of the graph yn of the graph function formula Yn in the graph function formula memory of the writable data area 222, in this case the drawing color of the graph y6, blue (B), matches the drawing color of the drawn graph whose end portion is determined to match (step S22). Since the drawn graph y1 is drawn in blue (B), the processor 21 determines that it matches the drawing color of the drawn graph.

[0066] If it is determined that the color matches the drawing color of the already drawn graph (step S22 (YES)), processor 21 determines whether or not there are any colors remaining for which a match has not yet been determined, that is, whether or not there are any remaining colors (step S23).

[0067] When it is determined that there are still remaining colors (step S23 (YES)), the processor 21 changes the provisional display color of the graph yn of the graph function formula Yn stored in the provisional setting register provided in the writable data area 222, that is, the display color provisionally set to be used for drawing the graph y2, to one of the remaining colors (step S24). For example, the processor 21 stores the previous display color, black (K), as the provisional display color in the provisional setting register of the writable data area 222. After that, the processor 21 proceeds to the processing operation of the above step S22.

[0068] Then, in step S22, the processor 21 determines whether or not the changed provisional display color, black (K), matches the drawing color of the already-drawn graph whose end portion is determined to match. Since the already-drawn graph y1 is drawn in blue (B), the processor 21 determines that it does not match the drawing color of the already-drawn graph. When it is determined that it does not match the drawing color of the already-drawn graph (step S22 (NO)), the processor 21 proceeds to the processing operation of step S21 and determines whether or not the end portion of another already-drawn graph matches the end portion of graph y6, which is the current graph yn.

[0069] In the above step S21, when it is determined that the end of the graph y6 does not match the end of any other drawn graph (step S21 (NO)), the processor 21 proceeds to the processing operation of the above step S16 and performs processing operations according to the graph display control subprogram 221d. That is, the processor 21 draws the graph yn, in this case the graph y6, in the line form stored in the temporary setting register of the writable data area 222 based on the calculated drawing coordinates. This makes it possible to display on the display 12 a graph screen on which the graph y6 of the graph function formula Y6 is drawn in black (K) display color. FIG. 10 is a diagram showing an example of a graph screen on which the graphs y1 and y6 of the graph function formulas Y1 and Y6 in this case are drawn.

[0070] Although not shown, it is possible that, for any of the graphs y7 to y20 of the graph function formulas Y7 to Y20, the coordinate values ​​of the end of either of these graphs y1 and y6 match the coordinate values ​​of the end of any of these graphs, and the display color of either of the graphs y1 and y6 matches the display mode provisionally set for any of these graphs. In addition, after drawing the graphs y1 and y6, it is possible that a new graph function formula can be registered as the graph function formulas Y2 to Y5, and the graph of the newly registered graph function formula may have such a relationship. In such a case, when drawing the graph of the graph function formula, as long as it is determined in the above step S23 that there is a remaining color, the provisionally set display color is changed and a non-matching display color is searched for. Then, in the above step S23, if it is determined that there is no remaining color (step S23 (NO)), that is, if it becomes impossible to change the color any more, the processor 21 changes the line type to a line type different from that of the graph already drawn (step S25). Then, the processor 21 proceeds to the processing operation of step S16, and draws a graph using that line type.

[0071] As described above in detail, according to the electronic device 10 according to the present embodiment, the processor 21 functioning as a display means displays a first graph corresponding to a first graph function formula in a first display mode on the graph screen of the display 12, and the processor 21 functioning as a provisional setting means provisionally sets a display mode for displaying a second graph corresponding to a second graph function formula different from the first graph function formula on the graph screen on which the first graph is displayed. The processor 21 functioning as a change means changes the display mode of the provisionally set second graph when the coordinate values ​​of the end of the first graph and the coordinate values ​​of the end of the second graph match, and the first display mode of the first graph and the display mode provisionally set for the second graph match. Thus, the display modes of two graphs whose ends match can be made different from each other, so that it is possible to improve the visibility of each graph when multiple graphs are drawn on the graph screen.

[0072] According to the electronic device 10 of the present embodiment, the processor 21 functioning as a display control means displays the second graph on the graph screen in the changed display mode. Thus, two graphs whose ends coincide with each other can be displayed on the graph screen in different display modes.

[0073] The change in the display mode of the second graph can be a change in the display color and the line type (dotted line, dashed line, dotted line, etc.). Therefore, by changing the already-drawn graph and the display color, it is possible to improve the visibility of each graph. Furthermore, when the display color cannot be changed, it is possible to improve the visibility of each graph by changing the already-drawn graph and the line type.

[0074] In addition, in the electronic device 10 according to the present embodiment, the processor 21 functioning as a creation means calculates the plotting coordinates of the first graph according to the first graph function formula, and calculates the plotting coordinates of the second graph according to the second graph function formula, so that the processor 21 functioning as a display creation means can create the first graph and the second graph, respectively.

[0075] In addition, a coordinate system consisting of the x-axis, which is the first coordinate axis, and the y-axis, which is the second coordinate axis perpendicular to the x-axis, is set on the graph screen, and the coordinate values ​​of the ends of each graph can be expressed by x and y values. Therefore, by expressing the coordinate values ​​of the ends as numerical values, it is possible to determine whether the ends of two graphs match by a simple numerical comparison.

[0076] Furthermore, according to electronic device 10 of this embodiment, processor 21 functioning as a means for determining whether or not a graph has an end determines whether or not the graph has an end based on the drawing coordinates of the graph calculated according to the graph function formula, and if an end is present, processor 21 functioning as a means for storing the coordinate values ​​of the end stores the coordinate values ​​of the end in an end memory provided in writable data area 222 of memory 22. Therefore, it is possible to easily determine whether or not the ends of two graphs match simply by checking whether or not the coordinate values ​​stored in the end memory match.

[0077] Furthermore, according to the electronic device 10 of this embodiment, the processor 21 determines whether the coordinate values ​​of the end of the first graph and the coordinate values ​​of the end of the second graph match by comparing the coordinate values ​​of one end of the first graph with the coordinate values ​​of one end of the first graph in the second graph. Therefore, even if the second graph has two ends, the end to be used for the match determination can be easily determined, and the match determination can be performed quickly.

[0078] Second embodiment In the above-mentioned first embodiment, even if the line mode such as the display color of a graph yn of a certain graph function formula Yn is changed and drawn, the line mode of the graph function formula Yn registered in the graph function formula memory of the writable data area 222 is not changed. In the present embodiment, the registered line mode is changed in response to a change in the line mode to be drawn.

[0079] 11 is a diagram showing a characteristic part of a flowchart illustrating an operation example of the electronic device 10 according to the second embodiment of the present invention. In this embodiment, the following processing operation is added between the above step S16 and the above step S17 in the operation of the electronic device 10 according to the first embodiment.

[0080] That is, after drawing the graph yn of the graph function formula Yn in step S16, the processor 21 determines whether the drawing color of the graph yn is a set color registered as the line style of the graph function formula Yn in the graph function formula memory of the writable data area 222 (step S31).

[0081] When the graph y1 of the graph function formula Y1 in the example shown in Fig. 7 is drawn, the graph y1 is drawn in the set color, so the processor 21 determines that the drawing color is the set color of the graph function formula Yn (step S31 (YES)). Therefore, in this case, the processor 21 proceeds to the processing operation of the above step S17.

[0082] In contrast, when the graph y6 of the graph function formula Y6 in the example shown in Fig. 7 is drawn, the graph y6 is drawn in a display color different from the set color. Therefore, in this case, the processor 21 determines that the drawing color is not the set color of the graph function formula Yn.

[0083] When it is determined that the drawing color is not the set color of the graph function formula Yn (step S31 (NO)), the processor 21 searches the graph function formula memory of the writable data area 222 for an unregistered graph function formula that is set to the same color as the drawing color of the graph function formula Y6, which is the graph function formula Yn, in this case black (K) (step S32). In this case, the search is performed in descending order starting from the graph function formula Yn-1.

[0084] Then, it is determined whether or not there is a corresponding unregistered graph function formula (step S33). If it is determined that there is no corresponding unregistered graph function formula (step S33 (NO)), the processor 21 proceeds to the processing operation of the above step S17.

[0085] In the example of Fig. 7, the graph function formula Y5 is searched for as an unregistered graph function formula that is set to the same color as the drawing color of the graph function formula Y6, black (K). When it is determined that there is a corresponding unregistered graph function formula (step S33 (YES)), the processor 21 changes the setting color of the unregistered graph function formula in the graph function formula memory of the writable data area 222 to the setting color of the graph function formula Yn in the same graph function formula memory (step S34). Therefore, in the example of Fig. 7, the setting color of the unregistered graph function formula Y5, black (K), is changed to the setting color of the graph function formula Y6, blue (B).

[0086] Furthermore, the processor 21 changes the setting color of the registered graph function formula Yn in the graph function formula memory of the writable data area 222 to the drawing color (step S35). Therefore, in the example of Fig. 7, the setting color of the graph function formula Y6, blue (B), is changed to the drawing color, black (K). After that, the processor 21 proceeds to the processing operation of the above step S17.

[0087] FIG. 12 is a diagram showing an example of the graph function formula list screen when the drawing color of the graph y6 has been changed in this way.

[0088] As described above, according to the electronic device 10 of the present embodiment, when the graph yn of a certain graph function formula Yn is drawn with a changed display mode such as a line mode, for example, a display color, the contents of the graph function formula list screen that displays the contents of the graph function formula are changed according to the changed display mode. Specifically, by changing the line mode of the graph function formula Y6 registered in the graph function formula memory of the writable data area 222 according to the change in the line mode for drawing the graph y6, the display color of the graph function formula area GF6 and the line mode area LS6 corresponding to the changed graph function formula Y6 on the graph function formula list screen changes from blue (B) to black (K). Therefore, the display color of the graph displayed on the graph screen can be matched with the display color on the graph function formula list screen, so that the correspondence between the graph function formula and the graph can be easily determined.

[0089] Furthermore, by changing the line style initially set in the graph function searched as an unregistered graph function with the same color as the drawing color of the graph function Yn to the line style set before the change for the changed graph function Yn, the display color of the graph function area GF5 and the line style area LS5 corresponding to the searched graph function Y5 on the graph function list screen changes from black (K) to blue (B). Therefore, the number of settings for each type of line style does not change.

[0090] In the electronic device 10 according to each embodiment, a display capable of displaying a graph is adopted as the display 12, but a monochrome display may be used. In this case, the display mode set as the line mode is only the line type. That is, in this case, when the coordinate values ​​of the end of the first graph and the coordinate values ​​of the end of the second graph match, and the first line type of the first graph and the line type provisionally set for the second graph match, the provisionally set line type of the second graph is changed. Even in this way, the display modes of the two graphs whose ends match can be made different from each other, so that it is possible to improve the visibility of each graph when drawing multiple graphs on a graph screen, which is a display screen. In this way, the change in the display mode of the graph can be at least one of a change in the display color and a change in the line type (dotted line, dashed line, dotted line, etc.).

[0091] In each embodiment, the processor 21 controls the operation of each part of the circuit in accordance with the instructions written in the calculator control program 221, and the software and hardware operate in cooperation to realize the graph drawing function, but at least a part of this graph drawing function may be realized by an integrated circuit such as an ASIC (Application Specific Integrated Circuit), a DSP (Digital Signal Processor), an FPGA (field-programmable gate array), or a GPU (Graphics Processing Unit).

[0092] Furthermore, the flow of each process described with reference to the flowchart is not limited to the procedure described. For example, the order of the process of step S34 and the process of step S35 in FIG. 11 may be reversed, or they may be performed simultaneously in parallel. In this way, the order of some steps may be changed, or some steps may be performed simultaneously in parallel. Furthermore, the process contents of some steps may be modified.

[0093] In each embodiment, the electronic device 10 displays a graph on its own display 12, but the electronic device 10 may transmit graph screen data to an external display device and display the graph from the external display device. In this case, the graph screen data may be transmitted to a plurality of external output devices directly via a network such as a LAN or the Internet, or to a plurality of external output devices via a server computer, etc., to display the graph from the plurality of external output devices.

[0094] Also, the graph display subprogram 221a, the line mode tentative setting subprogram 221b, the line mode change subprogram 221c, and the graph display control subprogram 221d may be configured to be executed by a server computer or the like connected via a network, and the electronic device 10 may transmit the graph function formula and line mode data to the server computer or the like, receive the graph screen data from the server computer or the like, and display the graph on the display 12. In this case, the server computer or the like may transmit the graph screen data not only to the electronic device 10 that transmitted the graph function formula and line mode data, but also to other electronic devices 10 and external output devices.

[0095] Furthermore, the graph function formula and the line pattern may be set by a server computer or the like. That is, the server computer or the like may operate as the electronic device 10, and the graph function calculator may be one of the external output devices. In this manner, each embodiment has been described taking the case where the electronic device 10 is implemented as a graph function calculator as an example, but the electronic device 10 is not limited to being configured as a graph function calculator, and may also be configured as a server computer or the like. In addition, the electronic device 10 may be configured as a tablet terminal, a personal computer, a smartphone, a mobile phone, a touch panel type PDA (personal digital assistants), an electronic book, a portable game machine, or the like. Note that, when the electronic device 10 is a tablet terminal that does not have physical keys (buttons) like those of a graph function calculator, a software keyboard similar to the keys of a graph function calculator is displayed, and processing is performed in response to key operations on this software keyboard.

[0096] In addition, the methods of each process by the electronic device 10 described in each of the above embodiments, i.e., the methods of the process shown in the flowchart of Fig. 6 and the process shown in the flowchart of Fig. 11, can be stored in a medium of an external recording device such as a memory card (ROM card, RAM card, etc.), a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), or a semiconductor memory and distributed as a program that can be executed by a computer. Then, the control unit (CPU) of the information processing device (electronic device) reads the program recorded in the medium of the external recording device into the storage device, and the operation is controlled by the read program, thereby realizing the various functions described in each of the embodiments and executing similar processes by the above-mentioned methods.

[0097] In addition, the program data for realizing each technique can be transmitted over a communications network in the form of program code, and the program data can be imported into an information processing device (electronic device) from a computer device (program server) connected to this communications network and stored in a storage device, thereby realizing the various functions described above.

[0098] The present invention is not limited to the embodiments, and can be modified in various ways without departing from the gist of the invention. The embodiments may be combined as appropriate, and in that case, the combined effects can be obtained. Furthermore, the embodiments include various inventions, and various inventions can be extracted by combinations selected from the multiple components disclosed. For example, if the problem can be solved and the effect can be obtained even if some components are deleted from all the components shown in the embodiments, the configuration from which the components are deleted can be extracted as an invention. [Explanation of symbols]

[0099] 10…Electronic equipment 11...Key input section 12…Display 21…Processor 22…Memory 23...Recording medium reading unit 24…External recording medium 111...Numeric and calculation symbol keys 112...Function keys 113...Settings keys 114...Function keys 115...Cursor keys 221...Calculator control program 221a...Graph display subprogram 221b... Line shape provisional setting subprogram 221c… Line shape change subprogram 221d…Graph display control subprogram 222...Writable data area B…bus GF1~GF6: Graph function area LS1~LS6…Linear area y1,y2,y6...graph

Claims

1. A display means for displaying a first graph corresponding to a first function on a display screen in a first display mode, A temporary setting means for temporarily setting a display mode when a second graph corresponding to a second function different from the first function is displayed on the display screen on which the first graph is displayed, When the coordinate values ​​of the ends of the first graph and the coordinate values ​​of the ends of the second graph coincide, and the first display mode of the first graph and the display mode provisionally set for the second graph coincide, a changing means for changing the display mode of the second graph provisionally set by the provisional setting means, Electronic devices equipped with them.

2. The electronic device according to claim 1, further comprising a display control means for displaying the second graph on the display screen in the display mode after it has been modified by the modification means.

3. The electronic device according to claim 1, wherein the change in the display mode of the second graph is at least one of a change in display color and a change in line type.

4. The electronic device according to claim 1, further comprising means for creating the first graph and the second graph, respectively.

5. The electronic device according to claim 1, wherein the display screen has a coordinate system set up consisting of a first coordinate axis and a second coordinate axis orthogonal to the first coordinate axis.

6. A means for determining whether or not the graph has an end, means for storing the coordinate values ​​of the end, The electronic device according to claim 1, further comprising the above.

7. The electronic device according to claim 1, wherein the modifying means determines whether the coordinate values ​​of the ends of the first graph and the coordinate values ​​of the ends of the second graph are the same by comparing the coordinate values ​​of one end of the first graph with the coordinate values ​​of one end of the first graph in the second graph.

8. The electronic device according to claim 1, wherein the content on the screen displaying the function content changes according to the display mode changed by the modification means.

9. The electronic device according to claim 1, An external display device equipped with the aforementioned display screen, A system consisting of, The display means of the electronic device generates data to be displayed on the display screen of the external display device, The external display device includes control means for acquiring data from the electronic device and controlling the display content of the display screen based on the data. system.

10. Electronic devices, The first graph corresponding to the first function is displayed on the display screen in the first display mode. A display mode is provisionally set for when a second graph corresponding to a second function different from the first function is displayed on the display screen where the first graph is displayed. If the coordinate values ​​of the ends of the first graph and the coordinate values ​​of the ends of the second graph coincide, and the first display mode of the first graph and the provisionally set display mode of the second graph coincide, the provisionally set display mode of the second graph is changed. A method for controlling electronic devices that perform processing.

11. The control unit of the electronic device, The first graph corresponding to the first function is displayed on the display screen in the first display mode. A display mode is provisionally set for when a second graph corresponding to a second function different from the first function is displayed on the display screen where the first graph is displayed. If the coordinate values ​​of the ends of the first graph and the coordinate values ​​of the ends of the second graph coincide, and the first display mode of the first graph and the provisionally set display mode of the second graph coincide, the provisionally set display mode of the second graph is changed. A program designed to perform a task.