JP6286977B2 - Electronic device, display method, and display program - Google Patents

Electronic device, display method, and display program Download PDF

Info

Publication number
JP6286977B2
JP6286977B2 JP2013196146A JP2013196146A JP6286977B2 JP 6286977 B2 JP6286977 B2 JP 6286977B2 JP 2013196146 A JP2013196146 A JP 2013196146A JP 2013196146 A JP2013196146 A JP 2013196146A JP 6286977 B2 JP6286977 B2 JP 6286977B2
Authority
JP
Japan
Prior art keywords
axis
coordinate
display
graph
display range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013196146A
Other languages
Japanese (ja)
Other versions
JP2015060572A (en
Inventor
宏 上嶋
宏 上嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2013196146A priority Critical patent/JP6286977B2/en
Publication of JP2015060572A publication Critical patent/JP2015060572A/en
Application granted granted Critical
Publication of JP6286977B2 publication Critical patent/JP6286977B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Description

本発明は、電子機器、表示方法、及び、表示プログラムに関する。 The present invention relates to an electronic device, a display method, and a display program .

関数電卓や表計算ソフトなどにおいて、関数のグラフを見やすく表示するための技術が知られている。例えば、特許文献1は一旦表示したグラフの表示範囲を変更する技術を開示している。特許文献1のグラフ表示装置では、予め表示されたグラフから一部を選択すると、その部分を拡大して表示する。また、特許文献2は、ユーザの操作によりグラフの座標軸を対数軸に設定して表示する技術を開示している。   A technique for displaying a function graph in an easy-to-read manner in a scientific calculator or spreadsheet software is known. For example, Patent Document 1 discloses a technique for changing the display range of a graph once displayed. In the graph display device of Patent Document 1, when a part is selected from a graph displayed in advance, the part is enlarged and displayed. Patent Document 2 discloses a technique for displaying a graph by setting a coordinate axis of a graph as a logarithmic axis by a user operation.

特開平7−152917号公報JP-A-7-152917 特開2004−118447号公報JP 2004-118447 A

特許文献1の技術を用いてグラフの表示範囲を変更すると、座標軸同士の表示範囲の差が大きくなる場合がある。このような場合には対数軸でグラフを表示することが望ましい。しかしながら、特許文献2の技術を適用するだけでは、ユーザが対数軸に変更する操作を実行する必要がある。そのため、操作が煩雑となりユーザにとって利便性が低いという問題があった。   When the display range of a graph is changed using the technique of Patent Document 1, the difference in the display range between coordinate axes may increase. In such a case, it is desirable to display a graph with a logarithmic axis. However, simply applying the technique of Patent Document 2 requires the user to perform an operation for changing to a logarithmic axis. For this reason, there is a problem that the operation is complicated and the convenience for the user is low.

本発明は、上記問題に鑑みてなされたものであって、グラフの表示範囲を変更する、利便性が高い電子機器、表示方法、及び、表示プログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and an object thereof is to provide a highly convenient electronic device, a display method, and a display program that change a display range of a graph.

上記目的を達成するため、本発明に係る電子機器は、
制御部を備える電子機器であって、
前記制御部は、
グラフを表示しようとする座標の2つの座標軸の1つを線形軸と対数軸との間で切替えて、かつ、前記座標軸の1つが切替えられた第1の座標と前記座標軸の1つが切替えられない第2の座標とを同時に表示する第1処理を、前記2つの座標軸の表示範囲の差に基づいて自動的に実行するか、または、前記表示範囲の差にかかわらず前記第1処理を実行しないか、の設定を受け付け、
受け付けた前記設定に基づいて、前記第1処理を実行するか否かを決定し、
前記第1処理を実行すると決定した場合、前記第1の座標及び当該第1の座標上の第1のグラフとともに、前記第2の座標及び当該第2の座標上の第2のグラフを、表示部に表示させる。
また、本発明に係る他の態様の電子機器は、
制御部を備える電子機器であって、
前記制御部は、
グラフを表示しようとする座標の2つの座標軸のうちの少なくとも1つの座標軸の表示範囲を変更する指示を受け付け、
前記指示に基づいて表示範囲が変更された前記座標の一方の座標軸の表示範囲に対する他方の座標軸の表示範囲の比が閾値よりも大きいときに前記他方の座標軸を線形軸から対数軸に切替えるか或いは前記指示に基づいて表示範囲が変更された前記座標の他方の座標軸の表示範囲に対する一方の座標軸の表示範囲の比が閾値よりも大きいときに前記一方の座標軸を線形軸から対数軸に切替える第2処理を実行する。
In order to achieve the above object, an electronic apparatus according to the present invention provides:
An electronic device including a control unit,
The controller is
One of the two coordinate axes of the coordinates for which the graph is to be displayed is switched between a linear axis and a logarithmic axis, and the first coordinate in which one of the coordinate axes is switched and one of the coordinate axes cannot be switched. The first process for simultaneously displaying the second coordinates is automatically executed based on the difference between the display ranges of the two coordinate axes, or the first process is not executed regardless of the difference between the display ranges. Or accept settings,
Determining whether to execute the first process based on the received setting;
When it is determined to execute the first process, the second graph and the second graph on the second coordinate are displayed together with the first graph on the first coordinate and the first graph on the first coordinate. Display on the screen.
In addition, an electronic device according to another aspect of the present invention is
An electronic device including a control unit,
The controller is
Accepting an instruction to change the display range of at least one of the two coordinate axes of the coordinates for which the graph is to be displayed,
When the ratio of the display range of the other coordinate axis to the display range of one coordinate axis of the coordinate whose display range has been changed based on the instruction is greater than a threshold, the other coordinate axis is switched from a linear axis to a logarithmic axis, or The one coordinate axis is switched from a linear axis to a logarithmic axis when the ratio of the display range of one coordinate axis to the display range of the other coordinate axis of the coordinate whose display range is changed based on the instruction is larger than a threshold value. Two processes are executed.

本発明によれば、グラフの表示範囲を変更する、利便性が高い電子機器、表示方法、及び、表示プログラムを提供できる。 According to the present invention, it is possible to provide a highly convenient electronic device, display method, and display program for changing the display range of a graph.

この発明の実施形態1に係る関数電卓の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the scientific calculator which concerns on Embodiment 1 of this invention. 情報処理部の物理構成を示すブロック図である。It is a block diagram which shows the physical structure of an information processing part. 設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of a setting process. 設定処理で表示される設定用画面の一例を示す図である。It is a figure which shows an example of the screen for a setting displayed by a setting process. グラフ表示処理の一例を示すフローチャートである。It is a flowchart which shows an example of a graph display process. 表示領域拡大処理の一例を示すフローチャートである。It is a flowchart which shows an example of a display area expansion process. 表示領域縮小処理の一例を示すフローチャートである。It is a flowchart which shows an example of a display area reduction process. 同時表示処理の一例を示すフローチャートである。It is a flowchart which shows an example of a simultaneous display process. グラフ表示処理の処理結果の一例を示す図である。It is a figure which shows an example of the process result of a graph display process. グラフ表示処理の処理結果の一例を示す図である。It is a figure which shows an example of the process result of a graph display process.

以下、本発明を実施するための形態に係る関数電卓を、図を参照して説明する。なお、図中同一又は相当する部分には同一符号を付す。   Hereinafter, a scientific calculator according to an embodiment for carrying out the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

(実施形態1)
関数電卓1は、(i)関数のグラフを表示する機能、(ii)関数のグラフの表示範囲を変更する操作を受け付ける機能、(iii)変更されたグラフの表示範囲に応じて、グラフの座標軸を線形軸と対数軸とで切り替えるか否かを決定する機能、(iv)決定に応じて座標軸を切り替えたグラフを表示する機能、等を有する。
(Embodiment 1)
The scientific calculator 1 includes (i) a function displaying a graph of the function, (ii) a function of accepting an operation for changing a display range of the function graph, and (iii) a coordinate axis of the graph according to the changed display range of the graph. Has a function of determining whether or not to switch between a linear axis and a logarithmic axis, and (iv) a function of displaying a graph in which coordinate axes are switched in accordance with the determination.

関数電卓1は図1に示すように入力部10と、情報処理部20と、タッチパネル30と、を備える。   As shown in FIG. 1, the scientific calculator 1 includes an input unit 10, an information processing unit 20, and a touch panel 30.

入力部10は、キーボード、ボタン、ポインティングデバイス等の、ユーザの操作を受付ける操作受付装置と、操作受付装置が受け付けた操作の情報を情報処理部20に伝達する伝達部と、から構成される。入力部10は、このような物理構成によりユーザの操作を受け付けて、操作情報を情報処理部20に伝達する。   The input unit 10 includes an operation reception device that accepts a user operation such as a keyboard, a button, and a pointing device, and a transmission unit that transmits information on an operation received by the operation reception device to the information processing unit 20. The input unit 10 receives a user operation with such a physical configuration, and transmits operation information to the information processing unit 20.

情報処理部20は、物理的には、図2に示すようにCPU(Central Processing Unit)21と、RAM(Random Access Memory)22と、ROM(Read−Only Memory)23と、I/O(Input/Output)部24と、内部バス26と、から構成される。   As shown in FIG. 2, the information processing unit 20 physically includes a CPU (Central Processing Unit) 21, a RAM (Random Access Memory) 22, a ROM (Read-Only Memory) 23, an I / O (Input). / Output) unit 24 and an internal bus 26.

CPU21は、関数電卓1の諸機能を制御する中央演算装置であり、ROM23からRAM22にロードされたプログラムを実行して、後述する処理を実行する。   The CPU 21 is a central processing unit that controls various functions of the scientific calculator 1. The CPU 21 executes a program loaded from the ROM 23 to the RAM 22 and executes processing to be described later.

RAM22は、CPU21が実行するプログラムや中間データを一時的に保存し、CPU21が各種処理を行う際の作業領域として使用する揮発性メモリである。
ROM23は、CPU21が実行するプログラムを格納している不揮発性メモリである。
The RAM 22 is a volatile memory that temporarily stores programs executed by the CPU 21 and intermediate data and is used as a work area when the CPU 21 performs various processes.
The ROM 23 is a non-volatile memory that stores a program executed by the CPU 21.

I/O部24は、USB(Universal Serial Bus)やシリアルポート、LAN(Local Area Network)アダプタ等のインターフェース機器から構成され、情報処理部20に接続された入力部10やタッチパネル30、その他外部装置等との情報の入出力を実現する。   The I / O unit 24 includes interface devices such as a USB (Universal Serial Bus), a serial port, and a LAN (Local Area Network) adapter, and the input unit 10 and the touch panel 30 connected to the information processing unit 20 and other external devices. To input and output information.

なお、情報処理部20は、RAM22やROM23の他に、一時作業領域や必要なデータを記憶するための外部記憶装置を備えていても良い。CPU21と、RAM22と、ROM23と、I/O部24とは内部バス26によってそれぞれ接続され、相互に情報の送信が可能である。   In addition to the RAM 22 and the ROM 23, the information processing unit 20 may include an external storage device for storing a temporary work area and necessary data. The CPU 21, RAM 22, ROM 23, and I / O unit 24 are connected to each other by an internal bus 26, and can transmit information to each other.

情報処理部20は、上記物理構成により関数取得部210と、表示制御部220と、操作受付部230と、切替決定部240と、変更部250と、関数記憶領域2610及び設定記憶領域2620が設定された記憶部260と、として機能する。情報処理部20の各部の機能については後述する。   In the information processing unit 20, the function acquisition unit 210, the display control unit 220, the operation reception unit 230, the switching determination unit 240, the change unit 250, the function storage area 2610, and the setting storage area 2620 are set by the above physical configuration. Function as the storage unit 260. The function of each unit of the information processing unit 20 will be described later.

タッチパネル30は、液晶ディスプレイ等の表示装置から構成される表示部310と、表示部310に重ねられたセンサ部320と、から構成される。本実施形態では、センサ部320には、静電容量式のタッチセンサといった、マルチタッチを判別可能なセンサを用いる。タッチパネル30はこのような構成により、情報処理部20からの指示に応じた画面を表示する。更に、タッチパネル30は表示した画面に対するユーザの操作を検知し、情報処理部20に伝達する。   The touch panel 30 includes a display unit 310 configured from a display device such as a liquid crystal display, and a sensor unit 320 superimposed on the display unit 310. In the present embodiment, a sensor capable of determining multi-touch, such as a capacitive touch sensor, is used for the sensor unit 320. With such a configuration, the touch panel 30 displays a screen according to an instruction from the information processing unit 20. Further, the touch panel 30 detects a user operation on the displayed screen and transmits the detected operation to the information processing unit 20.

次に、関数電卓1が実行する処理に付いて、フローチャートを参照して説明する。関数電卓1は、ユーザが入力部10のうち設定操作に対応するボタンを押下すると、図3に示す設定処理を開始する。   Next, processing executed by the scientific calculator 1 will be described with reference to a flowchart. When the user presses the button corresponding to the setting operation in the input unit 10, the scientific calculator 1 starts the setting process illustrated in FIG. 3.

設定処理では、まずCPU21が表示部310に図4に示すような設定画面を表示させる(ステップS101)。図4の例では、ユーザがラジオボタンをセット/アンセットすることで、関数電卓1の機能の有効/無効を切り替えることができる。図4の「対数軸と線形軸とを自動的に切り替える」のラジオボタンをチェックすると、グラフの座標軸を線形軸から対数軸に自動的に切り替える機能が有効となる。この場合、切り替えたグラフと切り替えないグラフとを同時に表示するか否かを、さらに設定することが出来る。
一方、「自動的には切り替えない」をチェックすると、切り替え機能は無効となる。
In the setting process, the CPU 21 first displays a setting screen as shown in FIG. 4 on the display unit 310 (step S101). In the example of FIG. 4, the function of the scientific calculator 1 can be switched between valid / invalid by the user setting / unsetting the radio button. When the radio button “automatically switch between logarithmic axis and linear axis” in FIG. 4 is checked, the function of automatically switching the coordinate axis of the graph from the linear axis to the logarithmic axis becomes effective. In this case, it is possible to further set whether or not to display the switched graph and the non-switched graph at the same time.
On the other hand, when “Do not automatically switch” is checked, the switching function is disabled.

CPU21は、次に表示した設定画面を用いた設定操作を受け付けたか否か判別する(ステップS102)。未だ受けつけて居ない場合には(ステップS102;No)、ステップS101を繰り返して、ユーザが設定操作を実行するまで待ち受ける。   The CPU 21 determines whether or not a setting operation using the setting screen displayed next has been received (step S102). If it has not been received yet (step S102; No), step S101 is repeated until the user performs a setting operation.

例えば図4のラジオボタンを操作した後にユーザが確定のボタンをタッチした場合には、設定操作を受け付けたと判別する(ステップS102;Yes)。この場合には、CPU21は、受け付けた設定内容を、記憶部260に設定された設定記憶領域2620に記憶する(ステップS103)。設定記憶領域2620に記憶された設定情報は、情報処理部20の各部から参照・上書き更新される。そして、設定処理は終了する。   For example, if the user touches the confirmation button after operating the radio button in FIG. 4, it is determined that the setting operation has been accepted (step S102; Yes). In this case, the CPU 21 stores the received setting content in the setting storage area 2620 set in the storage unit 260 (step S103). The setting information stored in the setting storage area 2620 is referenced / overwritten from each unit of the information processing unit 20. Then, the setting process ends.

このようにして予め記憶された設定情報に基づき、関数電卓1はグラフ表示を制御する。関数電卓1は、入力部10のうち関数のグラフ表示を指示するボタンが押下されると、図5に示すグラフ表示処理を開始する。図1に示す情報処理部20の各部(関数取得部210、表示制御部220、操作受付部230、切替決定部240、変更部250、記憶部260)は、CPU21が図5以下の処理を実行することで実現されるが、以下便宜的に各部を処理の主体として説明する。   Based on the setting information stored in advance in this way, the scientific calculator 1 controls the graph display. The scientific calculator 1 starts the graph display process shown in FIG. 5 when the button for instructing the graph display of the function in the input unit 10 is pressed. In each unit of the information processing unit 20 illustrated in FIG. 1 (the function acquisition unit 210, the display control unit 220, the operation reception unit 230, the switching determination unit 240, the change unit 250, and the storage unit 260), the CPU 21 executes the processing of FIG. However, for the sake of convenience, each unit will be described as a subject of processing.

グラフ表示処理では、まず関数取得部210がグラフ表示する関数を取得する(ステップS201)。関数取得部210は、入力部10を用いたユーザのキー操作が指定する関数を取得しても良いし、予め関数記憶領域2610に記憶されている関数を読み出しても良い。   In the graph display process, first, the function acquisition unit 210 acquires a function to be displayed in a graph (step S201). The function acquisition unit 210 may acquire a function designated by a user's key operation using the input unit 10, or may read a function stored in advance in the function storage area 2610.

次に、表示制御部220が、取得した関数を表示するための設定情報を取得する(ステップS202)。本実施形態では、記憶部260の設定記憶領域2620に記憶されたデフォルトの表示設定を取得するものとする。ここでは、xを変数とする関数y(x)を、x軸とy軸が共に線形軸のグラフ上に描写することを指定する設定情報を取得した場合について説明する。なお、デフォルト設定は工場出荷時に記憶される他、ユーザが入力部10を用いて設定可能としてもよい。   Next, the display control unit 220 acquires setting information for displaying the acquired function (step S202). In the present embodiment, the default display setting stored in the setting storage area 2620 of the storage unit 260 is acquired. Here, a case where setting information specifying that the function y (x) having x as a variable is drawn on a graph having both the x-axis and the y-axis as linear axes will be described. Note that the default setting is stored at the time of factory shipment, and may be set by the user using the input unit 10.

次に、表示制御部220が、ステップS201で取得した関数を、ステップS202で取得した表示設定でグラフ表示する(ステップS203)。このように、表示制御部220は、ステップS201で取得した関数のグラフを、複数の座標軸のうち少なくとも一つ(この例ではy軸及びx軸の二つ)が線形軸である座標上に生成し、表示装置であるタッチパネル30に表示させる。   Next, the display control unit 220 displays the function acquired in step S201 as a graph with the display settings acquired in step S202 (step S203). As described above, the display control unit 220 generates the graph of the function acquired in step S201 on coordinates where at least one of the plurality of coordinate axes (in this example, two of the y-axis and the x-axis) is a linear axis. And displayed on the touch panel 30 as a display device.

次に、操作受付部230が、センサ部320から伝達された情報に基づいて、表示されたグラフに対するタッチ操作を検出したか否かを判別する(ステップS204)。タッチ操作を検出していない場合には(ステップS204;No)、ステップS210にスキップする。一方、タッチ操作を検出した場合には(ステップS204;Yes)、操作受付部230は、設定記憶領域2620に記憶された設定情報を参照して、切替機能が有効であるか否か判別する(ステップS204A)。例えば図3のステップS103で記憶した設定情報において、切り替え機能が有効でないと指定されている場合には(ステップS204A;No)、ステップS210まで処理をスキップする。   Next, based on the information transmitted from the sensor unit 320, the operation reception unit 230 determines whether or not a touch operation on the displayed graph has been detected (step S204). When the touch operation is not detected (step S204; No), the process skips to step S210. On the other hand, when a touch operation is detected (step S204; Yes), the operation reception unit 230 refers to the setting information stored in the setting storage area 2620 to determine whether or not the switching function is valid ( Step S204A). For example, if the setting information stored in step S103 in FIG. 3 specifies that the switching function is not valid (step S204A; No), the processing is skipped to step S210.

一方、切り替え機能が有効であると指定されている場合には(ステップS204A;Yes)、次に操作受付部230は、タッチ操作が2本の指が離れるように移動するピンチアウトであるか否か判別する(ステップS205)。   On the other hand, when it is designated that the switching function is valid (step S204A; Yes), the operation receiving unit 230 next determines whether or not the touch operation is a pinch out that moves so that two fingers are separated. (Step S205).

ステップS205にてピンチアウトであると判別すると(ステップS205;Yes)、操作受付部230は、図6に示す表示領域拡大処理を開始する(ステップS206)。   If it is determined in step S205 that it is a pinch out (step S205; Yes), the operation reception unit 230 starts the display area enlargement process shown in FIG. 6 (step S206).

表示領域拡大処理では、まず操作受付部230がピンチアウトの変化量を算出する(ステップS301)。例えば、ピンチアウトの開始時点で2指が(X1,Y1)と(X2,Y2)の位置にあり、終了時点で(X1’,Y1’)と(X2’,Y2’)に移動したとする(図9(A))。X軸の変化量として、開始時点の2指の距離(X1−X2)と終了時点の距離(X1’−X2’)の比drXを算出する(式(1))。同様に、Y軸の変化量drYも下記式(2)で算出される。   In the display area expansion process, first, the operation reception unit 230 calculates the amount of change in pinch out (step S301). For example, it is assumed that two fingers are at the positions (X1, Y1) and (X2, Y2) at the start time of the pinch out, and moved to (X1 ′, Y1 ′) and (X2 ′, Y2 ′) at the end time. (FIG. 9A). As a change amount of the X axis, a ratio drX of the distance between the two fingers at the start time (X1−X2) and the distance at the end time (X1′−X2 ′) is calculated (formula (1)). Similarly, the change amount drY of the Y axis is also calculated by the following equation (2).

drX=(X1’−X2’)/(X1−X2)・・・(1)
drY=(Y1’−Y2’)/(Y1−Y2)・・・(2)
drX = (X1′−X2 ′) / (X1−X2) (1)
drY = (Y1′−Y2 ′) / (Y1−Y2) (2)

次に、切替決定部240がピンチアウトによって変更される新たなグラフの表示範囲を決定する(ステップS302)。例えば、更新前のyが最大値YHから最小値YLまで表示されていたとすると、更新後のY軸の表示範囲を最小値Ymin=YL×drY〜最大値Ymax=YH×drYまでとすればよい。図9(A)のように、YがYL=−5〜YH=+5まで表示されているときに、18倍のピンチアウトが実行された場合(drYが18)、更新後のY軸の表示範囲は−90〜+90になる(図9(B))。X軸についても同様に、更新前のxが最大値XHから最小値XLまで表示されていたとすると、更新後のX軸の表示範囲は最大値Xmax=XH×drX〜最小値Xmin=XL×drXに決定される。   Next, the switching determination unit 240 determines a display range of a new graph that is changed by the pinch out (step S302). For example, if y before update is displayed from the maximum value YH to the minimum value YL, the display range of the Y axis after update may be set to the minimum value Ymin = YL × drY to the maximum value Ymax = YH × drY. . As shown in FIG. 9A, when Y is displayed from YL = −5 to YH = + 5, when 18 times pinch-out is executed (drY is 18), display of the updated Y axis The range is −90 to +90 (FIG. 9B). Similarly, regarding the X axis, if x before update is displayed from the maximum value XH to the minimum value XL, the display range of the X axis after update is from the maximum value Xmax = XH × drX to the minimum value Xmin = XL × drX. To be determined.

なお、ステップS301とS302における決定方法は上記の例に限定されない。例えば、上記の式(1)、(2)に限らず、1ドット分ピンチアウトされる毎に、拡大率を1%に設定するなど、ユーザの好みに合わせて既知の任意の方法で新たな表示範囲を決定すればよい。また、原点を中心としない場合には現在の表示範囲の中心を拡大の中心として、更新された表示範囲とする。   Note that the determination method in steps S301 and S302 is not limited to the above example. For example, not only in the above formulas (1) and (2), each time a dot is pinched out, the enlargement ratio is set to 1%. The display range may be determined. If the origin is not the center, the updated display range is set with the center of the current display range as the center of enlargement.

次に、切替決定部240は更新後の表示範囲において、グラフの複数の座標軸(X軸及びY軸)上で関数の値(Yの値)又は変数(Xの値)が表示される範囲の差が所定の閾値(例えば100倍)を超えるか否かを判別する。具体的には、まず関数の値yが表示される範囲(Ymax−Ymin)と変数xが表示される範囲(Xmax−Xmin)との比rY=(Xmax−Xmin)/(Ymax−Ymin)を算出する。そして比rYが100:1より大きいか否か判別する(S303)。   Next, the switching determination unit 240 is configured to display a function value (Y value) or a variable (X value) on a plurality of coordinate axes (X axis and Y axis) of the graph in the updated display range. It is determined whether or not the difference exceeds a predetermined threshold (for example, 100 times). Specifically, the ratio rY = (Xmax−Xmin) / (Ymax−Ymin) between the range (Ymax−Ymin) in which the function value y is displayed and the range (Xmax−Xmin) in which the variable x is displayed is first set. calculate. Then, it is determined whether or not the ratio rY is greater than 100: 1 (S303).

Y軸の表示範囲がX軸の表示範囲と比べて閾値である100倍超、即ち比rY100:1より大きい場合には(ステップS303;Yes)、Y軸が線形軸から対数軸に切り替えるか否かの判定対象となる。   If the display range of the Y axis is more than 100 times the threshold value compared to the display range of the X axis, that is, the ratio rY100: 1 is larger (step S303; Yes), whether or not the Y axis is switched from the linear axis to the logarithmic axis. It becomes the judgment object.

ステップS303でYesと判別すると、次に切替決定部240は変更された表示範囲全体で、y>0に関数が描写されるか否か判別する(ステップS304)。例えば、取得された関数y(x)=10^xである場合には、xの表示範囲に関わらずy>0である。一方、関数y(x)=xである場合には、xの表示範囲がx>0である場合には表示範囲全体でy>0であるが、x≦0が表示範囲に含まれる場合には表示範囲全体でy>0ではない。   If it is determined Yes in step S303, the switching determination unit 240 determines whether a function is drawn with y> 0 in the entire changed display range (step S304). For example, when the acquired function y (x) = 10 ^ x, y> 0 regardless of the display range of x. On the other hand, when the function y (x) = x, when the display range of x is x> 0, the entire display range is y> 0, but when x ≦ 0 is included in the display range. Is not y> 0 in the entire display range.

変更された表示範囲全体で、y>0に関数が描写されると判別すると(ステップS304;Yes)、一つの切り替え条件が成立したと判断できるので、ステップS305で次の切り替え条件が成立したか否か判別する。このように、y=f(x)の変数域をXmin≦x≦Xmaxとして、変数域内の全てのxについてy(x)>0が成立すると、ステップS304に関する切り替え条件が成立したと判断できる。   If it is determined that the function is drawn at y> 0 in the entire changed display range (step S304; Yes), it can be determined that one switching condition is satisfied, so whether the next switching condition is satisfied in step S305. Determine whether or not. Thus, if the variable range of y = f (x) is set to Xmin ≦ x ≦ Xmax, and y (x)> 0 is satisfied for all x in the variable range, it can be determined that the switching condition for step S304 is satisfied.

なお、変更された表示範囲全体で、y>0に関数がプロットされていないと判別すると(ステップS304;No)、y軸についての対称軸に切り替えないと決定してステップS313までスキップする。   If it is determined that the function is not plotted at y> 0 in the entire changed display range (step S304; No), it is determined not to switch to the symmetry axis about the y axis, and the process skips to step S313.

ステップS305では、切替決定部240は変更されたx軸(判定対象でない座標軸)の表示範囲で、y>Ymaxの部分に関数が描写されるか否か判別する(ステップS305)。つまり、y軸の正方向に関数が振り切れていることが対数軸に切り替ると決定するための条件の一つとなる。変更されたx軸の表示範囲(Xmin〜Xmax)を変数域とするyの値が、Ymax以下の範囲に収まれば(値域がy≦Ymaxであれば)、y>Ymaxの部分に関数が描写されないと判別する(ステップS305;No)。この場合には、この条件は成立しないので、y軸についての対称軸に切り替えないと決定してステップS313までスキップする。   In step S305, the switching determination unit 240 determines whether or not a function is depicted in a portion where y> Ymax in the changed display range of the x axis (coordinate axes that are not to be determined) (step S305). That is, it is one of the conditions for determining that the function is swung in the positive direction of the y-axis to switch to the logarithmic axis. If the value of y using the changed x-axis display range (Xmin to Xmax) as the variable range falls within the range of Ymax or less (if the range is y ≦ Ymax), the function is drawn in the y> Ymax part. It is determined that it is not performed (step S305; No). In this case, since this condition is not satisfied, it is determined not to switch to the symmetry axis with respect to the y axis, and the process skips to step S313.

一方、変更されたx軸の表示範囲(Xmin〜Xmax)を変数域とするyの値に、Ymaxより大きい値があれば(値域がy≦Ymaxに収まらない)、y>Ymaxの部分に関数がプロットされていると判別する(ステップS305;Yes)。この場合に、ステップS305の切替条件は成立するので、ステップS306に移行して次の条件について判別する。この切替条件が成立することは、y=f(x)の変数域をXmin≦x≦Xmaxとして、変数域内の何れかxについてはy(x)>0が成立することと等しい。   On the other hand, if there is a value larger than Ymax in the value of y having the changed x-axis display range (Xmin to Xmax) as the variable range (the range does not fall within y ≦ Ymax), a function is added to the portion where y> Ymax. Is plotted (step S305; Yes). In this case, since the switching condition in step S305 is satisfied, the process proceeds to step S306 to determine the next condition. Satisfying this switching condition is equivalent to satisfying y (x)> 0 for any x in the variable range, where the variable range of y = f (x) is Xmin ≦ x ≦ Xmax.

そして、ステップS306にて切替決定部240は、現在Y軸が線形軸として表示されているか否か判別する(ステップS306)。線形軸でない場合(対数軸の場合)には(ステップS306;No)、対数軸に切り替えても無意味なのでステップS313に移行する。一方、線形軸で有る場合には(ステップS306;Yes)、ステップS307にてY軸を対数軸に切り替える(図9(C))。切り替えられたグラフは、後述するステップS313で新たに表示される。   In step S306, the switching determination unit 240 determines whether or not the Y axis is currently displayed as a linear axis (step S306). If it is not a linear axis (in the case of a logarithmic axis) (step S306; No), it is meaningless to switch to the logarithmic axis, and the process proceeds to step S313. On the other hand, if it is a linear axis (step S306; Yes), the Y axis is switched to the logarithmic axis in step S307 (FIG. 9C). The switched graph is newly displayed in step S313 described later.

なお、ステップS307ではY軸の表示範囲を対数の底(例えば10)で割り切れる位置にさらに変更して、グラフの可視性を向上しても良い。例えば、対数の底が10(自然対数)であれば、Y軸の表示範囲の上限及び下限を1、10、100、…といった切りの良い値に変更する。   In step S307, the visibility of the graph may be improved by further changing the display range of the Y axis to a position divisible by the logarithm base (for example, 10). For example, if the base of the logarithm is 10 (natural logarithm), the upper and lower limits of the Y-axis display range are changed to good values such as 1, 10, 100,.

ステップS303に戻って、y軸:x軸の表示領域の比が100:1以下の場合には(ステップS303;No)、切替決定部240はx軸を対数軸に切り替えるか否かを判別する。まず、切替決定部240はx軸:y軸が閾値である100:1より大きい(x軸の表示領域がy軸の100倍より大きい)か否か判別する(ステップS308)。X軸対Y軸の比が閾値である100:1以下の場合には(ステップS308;No)、X軸を対数軸に切り替えないと判定して、ステップS313にスキップする。一方、100:1より大きい場合には(ステップS308;Yes)、切替決定部240は、ステップS304と同様に、表示範囲全体でx>0であるか否か判別する(ステップS309)。例えば、更新された表示範囲でx軸の表示範囲(表示されるf(x)の変数域)が1<x<100で有る場合には、表示範囲全体でx>0であると判別し(ステップS309;Yes)、ステップS310の判定処理に移行する。一方、表示範囲全体でx>0でない場合には、X軸を対数軸に切り替えないと判別(ステップS309;No)してステップS313までスキップする。   Returning to step S303, if the ratio of the y-axis: x-axis display area is 100: 1 or less (step S303; No), the switching determination unit 240 determines whether to switch the x-axis to the logarithmic axis. . First, the switching determination unit 240 determines whether or not the x-axis: y-axis is larger than the threshold of 100: 1 (the x-axis display area is larger than 100 times the y-axis) (step S308). If the ratio of the X axis to the Y axis is equal to or less than the threshold value of 100: 1 (step S308; No), it is determined not to switch the X axis to the logarithmic axis, and the process skips to step S313. On the other hand, when larger than 100: 1 (step S308; Yes), the switching determination unit 240 determines whether or not x> 0 in the entire display range, similarly to step S304 (step S309). For example, when the display range of the x axis (the variable range of f (x) to be displayed) is 1 <x <100 in the updated display range, it is determined that x> 0 in the entire display range ( Step S309; Yes), the process proceeds to the determination process of step S310. On the other hand, if x> 0 is not satisfied in the entire display range, it is determined that the X axis is not switched to the logarithmic axis (step S309; No), and the process skips to step S313.

次に、ステップS305と同様に、切替決定部240は変更されたy軸(判定対象でない座標軸)の表示範囲で、x>Xmaxの部分に関数がプロットされるか否か判別する(ステップS310)。更新された表示範囲でx軸の正の方向に関数が振り切れている場合には、x>Xmaxの部分に関数がプロットされていると判別して(ステップS310;Yes)、ステップS311に移行する。一方、振り切れていない場合には、x>Xmaxの部分に関数がプロットされていないと判別して(ステップS310;No)、そのままステップS313に移行する。この場合、x軸は対数軸には切り替えられない。   Next, similarly to step S305, the switching determination unit 240 determines whether or not a function is plotted in a portion where x> Xmax in the changed display range of the y-axis (coordinate axes that are not to be determined) (step S310). . If the function has been swung out in the positive direction of the x-axis in the updated display range, it is determined that the function is plotted in the portion of x> Xmax (step S310; Yes), and the process proceeds to step S311. . On the other hand, if it has not been shaken, it is determined that the function is not plotted in the portion of x> Xmax (step S310; No), and the process proceeds to step S313 as it is. In this case, the x axis cannot be switched to the logarithmic axis.

そして、ステップS311にて切替決定部240は、現在x軸が線形軸として表示されているか否か判別する(ステップS311)。線形軸でない場合には(ステップS311;No)、対数軸に切り替えても無意味なのでステップS313に移行する。一方、線形軸で有る場合には(ステップS311;Yes)、ステップS312にてX軸を対数軸に切り替えることを決定する。   In step S311, the switching determination unit 240 determines whether the x-axis is currently displayed as a linear axis (step S311). If it is not a linear axis (step S311; No), it is meaningless to switch to the logarithmic axis, and the process proceeds to step S313. On the other hand, if it is a linear axis (step S311; Yes), it is determined in step S312 that the X axis is switched to the logarithmic axis.

なお、ステップS307と同様に、ステップS312でx軸の表示範囲を対数の底で割り切れる位置にさらに変更して、グラフの可視性を向上しても良い。   Similar to step S307, the visibility of the graph may be improved by further changing the display range of the x-axis to a position divisible by the logarithm base in step S312.

ステップS313では、変更部250が、表示制御部220を用いて、表示範囲を変更(拡大)したグラフをタッチパネル30に表示させる。このとき、ステップS307を実行した際にはy軸を、ステップS312を実行した場合にはx軸を、それぞれ線形軸から対数軸に変更した上でグラフを表示させる。   In step S <b> 313, the changing unit 250 causes the touch panel 30 to display a graph with the display range changed (enlarged) using the display control unit 220. At this time, the graph is displayed after changing the y-axis when step S307 is executed and changing the x-axis when step S312 is executed from a linear axis to a logarithmic axis.

ステップS313が終了すると、表示領域拡大処理は終了する。図5に戻って、ステップS206が終わると、次にプロセスはステップS209に移る。一方、ステップS205にてタッチ操作がピンチアウトでないと判別すると(ステップS205;No)、次に操作受付部230はそのタッチ操作が2本の指が近づくように移動するピンチインであるか否か判別する(ステップS207)。   When step S313 ends, the display area enlargement process ends. Returning to FIG. 5, after step S206 is completed, the process then moves to step S209. On the other hand, when it is determined in step S205 that the touch operation is not a pinch-out (step S205; No), the operation reception unit 230 determines whether the touch operation is a pinch-in that moves so that two fingers approach each other. (Step S207).

ステップS207にてピンチインであると判別すると(ステップS207;Yes)、操作受付部230は、図7に示す表示領域縮小処理を開始する(ステップS208)。   If it is determined in step S207 that it is a pinch-in (step S207; Yes), the operation reception unit 230 starts the display area reduction process shown in FIG. 7 (step S208).

表示領域縮小処理では、操作受付部230が、図6のステップS301とS302と同様に、ピンチインの変化量を算出し(ステップS401)、変更後の新たな表示範囲を決定する(ステップS402)。ステップS205やS301、S207,S401の処理を実行することで、操作受付部230は、グラフにおける関数の表示範囲を変更する変更指示を受け付ける機能を発揮する。   In the display area reduction process, the operation receiving unit 230 calculates the amount of pinch-in change (step S401) and determines a new display range after the change (step S402), as in steps S301 and S302 of FIG. By executing the processing of steps S205, S301, S207, and S401, the operation reception unit 230 exhibits a function of receiving a change instruction for changing the display range of the function in the graph.

そして、切替決定部240は、ステップS303とは逆に、ステップS402で決定した変更後の表示範囲において、x軸に対するy軸の比(y軸:x軸)が所定の閾値である100:1以下か否か判別する(ステップS403)。100:1以下の場合には(ステップS403;Yes)、現在Y軸が対数軸として表示されているか否か判別する(ステップS404)。対数軸でない場合には(ステップS404;No)、線形軸に切り替えても無意味なのでステップS409に移行する。一方、対数軸で有る場合には(ステップS404;Yes)、ステップS405にてy軸を線形軸に切り替える。切り替えられたグラフは、後述するステップS409で新たに表示される。   Then, contrary to step S303, in the display range after the change determined in step S402, the switching determination unit 240 has a ratio of the y axis to the x axis (y axis: x axis) that is a predetermined threshold 100: 1. It is determined whether or not it is below (step S403). If 100: 1 or less (step S403; Yes), it is determined whether or not the Y axis is currently displayed as a logarithmic axis (step S404). If it is not a logarithmic axis (step S404; No), it is meaningless to switch to the linear axis, and the process proceeds to step S409. On the other hand, if it is a logarithmic axis (step S404; Yes), the y axis is switched to the linear axis in step S405. The switched graph is newly displayed in step S409 described later.

ステップS403に戻って、y軸:x軸の比が100:1より大きい場合には(ステップS403;No)、切替決定部240はx軸を線形軸に切り替えるか否かを判別する。まず、切替決定部240はx軸:y軸が閾値である100:1以下か否か判別する(ステップS406)。y軸に対するx軸の比が閾値である100:1以下の場合には(ステップS406;No)、x軸を線形軸に切り替えないと判別して、ステップS409にスキップする。   Returning to step S403, if the ratio of y-axis: x-axis is greater than 100: 1 (step S403; No), the switching determination unit 240 determines whether to switch the x-axis to the linear axis. First, the switching determination unit 240 determines whether or not the x-axis: y-axis is equal to or less than the threshold of 100: 1 (step S406). If the ratio of the x-axis to the y-axis is equal to or less than the threshold value of 100: 1 (step S406; No), it is determined that the x-axis is not switched to the linear axis, and the process skips to step S409.

一方、100:1未満である場合には(ステップS406;Yes)、切替決定部240は、現在x軸が対数軸として表示されているか否か判別する(ステップS407)。対数軸でない場合には(ステップS407;No)、線形軸に切り替えても無意味なのでステップS409に移行する。一方、対数軸である場合には(ステップS407;Yes)、ステップS408にてx軸を線形軸に切り替える。切り替えられたグラフは、後述するステップ409で新たに表示される。   On the other hand, if it is less than 100: 1 (step S406; Yes), the switching determination unit 240 determines whether or not the x-axis is currently displayed as a logarithmic axis (step S407). If it is not a logarithmic axis (step S407; No), since it is meaningless to switch to the linear axis, the process proceeds to step S409. On the other hand, if it is a logarithmic axis (step S407; Yes), the x-axis is switched to the linear axis in step S408. The switched graph is newly displayed in step 409 described later.

ステップS409では、変更部250が、表示制御部220を用いて、表示範囲を変更(縮小)したグラフをタッチパネル30に表示させる。このとき、ステップS405を実行した際にはY軸を、ステップS408を実行した場合にはX軸を、それぞれ対数軸から線形軸に変更した上でグラフを表示させる。   In step S409, the change unit 250 causes the touch panel 30 to display a graph with the display range changed (reduced) using the display control unit 220. At this time, the graph is displayed after changing the Y axis when step S405 is executed and the X axis when step S408 is changed from a logarithmic axis to a linear axis.

ステップS409が終了すると、表示領域縮小処理は終了する。図5に戻って、ステップS206又はS208が終わると、変更部250は図8に示す同時表示処理を開始する(ステップS209)。   When step S409 ends, the display area reduction process ends. Returning to FIG. 5, when step S206 or S208 ends, the changing unit 250 starts the simultaneous display process shown in FIG. 8 (step S209).

同時表示処理では、まず変更部250が図5のステップS206又はS208で座標軸を線形軸と対数軸とで切り替えたか否か判別する(ステップS501)。切り替えていない場合には(ステップS501;No)、同時表示処理を終了する。   In the simultaneous display process, first, the changing unit 250 determines whether or not the coordinate axis is switched between the linear axis and the logarithmic axis in step S206 or S208 in FIG. 5 (step S501). If not switched (step S501; No), the simultaneous display process is terminated.

一方、切り替えていた場合には(ステップS501;Yes)、次に変更部250は設定記憶領域2620に記憶された設定情報を参照して、図3の設定処理で「同時表示する」に設定されていたか判別する(ステップS502)。同時表示設定が有効でない場合には(ステップS502;No)、同時表示処理を終了する。   On the other hand, when switching has been performed (step S501; Yes), the changing unit 250 refers to the setting information stored in the setting storage area 2620, and is set to “display simultaneously” in the setting process of FIG. It is determined whether it has been (step S502). If the simultaneous display setting is not valid (step S502; No), the simultaneous display process is terminated.

同時表示設定が有効である場合には(ステップS502;Yes)、座標軸を線形軸と対数軸とで切り替えたグラフに加えて、座標軸を線形軸から対数軸に、あるいは対数軸から線形軸に切り替えることなく表示範囲のみを変更したグラフをさらに同時に表示させる(ステップS503)。   When the simultaneous display setting is valid (step S502; Yes), in addition to the graph in which the coordinate axis is switched between the linear axis and the logarithmic axis, the coordinate axis is switched from the linear axis to the logarithmic axis, or from the logarithmic axis to the linear axis. A graph in which only the display range is changed is displayed at the same time (step S503).

ステップS503では、座標軸を線形軸と対数軸とで切り替えたグラフと切り替えた座標軸(例えば黒)とを同じ色で表示する。また、切り替えることなく表示範囲のみを変更したグラフについても、切り替えなかった座標軸と同じ色(切り替えたグラフとは異なる色、例えば赤)で表示する(図10(B))。
このような構成によれば、ユーザは煩雑な操作の要なく、自動的に座標軸を線形軸と対数軸とで切り替えたグラフと、切り替えなかったグラフを比較して、所望のグラフを選択して表示することが出来る。また、同時に表示されたグラフと座標軸とを色分けすることで、二つの座標軸とグラフが重ねて同時に表示されても何れが何れであるか判別することが出来る。
なお、ここでは座標軸を切り替えたグラフと切り替えなかったグラフとを重ねて表示したが、別のグラフとして並べて表示しても良い。
In step S503, the graph in which the coordinate axis is switched between the linear axis and the logarithmic axis and the switched coordinate axis (for example, black) are displayed in the same color. Further, a graph in which only the display range is changed without switching is also displayed in the same color as the coordinate axis that has not been switched (a color different from the switched graph, for example, red) (FIG. 10B).
According to such a configuration, the user can select a desired graph by comparing the graph in which the coordinate axis is automatically switched between the linear axis and the logarithmic axis and the graph in which the coordinate axis is not switched without requiring a complicated operation. Can be displayed. Further, by color-coding the graph and the coordinate axis displayed at the same time, it is possible to determine which is the same even if the two coordinate axes and the graph are displayed simultaneously.
Although the graph in which the coordinate axes are switched and the graph in which the switching has not been performed are overlapped and displayed here, they may be displayed side by side as separate graphs.

図5に戻って、ステップS209が終わるか、ステップS204でタッチ操作を検出しないと判別するか(ステップS204;No)、ステップS204Aで切り替え機能が有効でないと判別するか(ステップS204A;No)、ステップS207でピンチインでないと判別すると(ステップS207;No)、情報処理部20は、その他の処理を実行する(ステップS210)。その他の処理とは、グラフ表示の中断や計算機能の実行といった、グラフの表示・更新とは異なる関数電卓1の機能を実行するための処理である。
ステップS210が終わると、情報処理部20はステップS203に戻ってグラフを表示し、次のタッチ操作を待ち受ける。
Returning to FIG. 5, whether step S209 ends, whether it is determined in step S204 that no touch operation is detected (step S204; No), whether it is determined in step S204A that the switching function is not valid (step S204A; No), If it is determined in step S207 that it is not a pinch-in (step S207; No), the information processing section 20 performs other processing (step S210). The other process is a process for executing a function of the scientific calculator 1 different from the display / update of the graph, such as interruption of the graph display or execution of the calculation function.
When step S210 ends, the information processing unit 20 returns to step S203 to display a graph and waits for the next touch operation.

上述した処理によって、関数電卓1は例えば図9や図10に示すような機能をユーザに提供する。例えば、関数y(x)=10^xをグラフ表示させる入力するとする。これに応じて、図9(A)のようにデフォルトの表示範囲で、x軸とy軸とが線形軸のグラフ上に関数が描写(プロット)される。これに対してy軸を拡大するように縦方向にピンチアウトすると、図9(B)のように自動的にy軸の表示範囲が拡大して表示される。   Through the processing described above, the scientific calculator 1 provides the user with functions as shown in FIGS. 9 and 10, for example. For example, it is assumed that the function y (x) = 10 ^ x is input for graph display. In response to this, the function is drawn (plotted) on a graph with the x-axis and y-axis being linear axes in the default display range as shown in FIG. On the other hand, when pinching out in the vertical direction so as to enlarge the y-axis, the display range of the y-axis is automatically enlarged and displayed as shown in FIG.

図9(B)では、y軸の表示範囲が−100から+100、x軸の表示範囲は−8から+8であるので、図6のステップS303とS308とでNoと判別され、X軸もY軸も対数軸に切り替えられずそのまま表示されている。   In FIG. 9B, since the y-axis display range is −100 to +100 and the x-axis display range is −8 to +8, it is determined No in steps S303 and S308 in FIG. The axes are displayed as they are without being switched to logarithmic axes.

図9(B)の状態でさらにピンチアウトし、Y軸の表示範囲がX軸に対して100倍を超えると、図9(C)のようにY軸が対数軸に変換される。この結果、煩雑な操作の要なく、X軸とY軸とで100倍を超えるなど、表示領域の差が大きい場合でも変数xと関数の値yとの関係が確認しやすいグラフを表示することが出来る。ここで、図3の設定処理で自動切り替え機能を無効にすると、図9(D)のようにY軸が線形軸のまま表示される。この場合、2つの軸の表示範囲が大きく異なるので、関数の曲線がどのような形状であるのか把握しにくい。しかしながら、常に自動で切りかわると、線形軸のままのグラフを利用したい場合に却って不便である。そこで、通常時は自動切り替え機能を有効にし、不要な場合には機能を無効にできるようにして利便性を確保している。   If pinch out is further performed in the state of FIG. 9B and the display range of the Y axis exceeds 100 times the X axis, the Y axis is converted to a logarithmic axis as shown in FIG. 9C. As a result, it is possible to display a graph in which the relationship between the variable x and the function value y can be easily confirmed even when there is a large difference in display area, such as exceeding 100 times between the X axis and the Y axis without requiring complicated operations. I can do it. If the automatic switching function is disabled in the setting process of FIG. 3, the Y axis is displayed as a linear axis as shown in FIG. 9D. In this case, since the display ranges of the two axes are significantly different, it is difficult to grasp the shape of the function curve. However, always switching automatically is inconvenient if you want to use a graph with a linear axis. Therefore, convenience is ensured by enabling the automatic switching function in normal times and disabling the function when unnecessary.

また、図3の設定処理で同時表示機能を有効にした状態では、切り替える前(図10(A))からピンチアウトして切り替え条件が成立すると、図10(B)のように対数軸に変化したグラフと線形軸のままのグラフとが同時に表示される。この状態でさらにピンチアウトすると、対数軸の表示範囲が拡大される(図10(C))。   Also, in the state where the simultaneous display function is enabled in the setting process of FIG. 3, if the switching condition is satisfied by pinching out before switching (FIG. 10A), the logarithmic axis is changed as shown in FIG. 10B. And the graph with the linear axis are displayed at the same time. Further pinching out in this state expands the display range of the logarithmic axis (FIG. 10C).

以上説明したとおり、本実施形態の関数電卓1は、関数取得部210が取得した関数が描画された、x軸とy軸といった複数の座標軸のうち少なくとも一つが線形軸であるグラフを、表示制御部220がタッチパネル30に表示させる。そして、操作受付部230が、表示されたグラフの表示範囲を変更する変更指示として、タッチ操作(ピンチイン・ピンチアウト)を受け付け、表示範囲を変更する。ここで、更新される表示範囲において、x軸で変数xが表示される範囲と、y軸で関数の値yが表示される範囲と、の差が所定の差(例えば100倍)を超えたか否か判別し、超えていた場合には切替決定部240が一方を対数軸に切り替えることを決定する。そして、変更部250が大きい方の線形軸を対数軸に切り替えた上で、表示範囲を変更したグラフをタッチパネル30に表示させる。   As described above, the scientific calculator 1 according to the present embodiment displays a graph in which at least one of a plurality of coordinate axes such as the x axis and the y axis, on which the function acquired by the function acquisition unit 210 is drawn, is a linear axis. The unit 220 causes the touch panel 30 to display. Then, the operation reception unit 230 receives a touch operation (pinch-in / pinch-out) as a change instruction for changing the display range of the displayed graph, and changes the display range. Here, in the display range to be updated, whether the difference between the range in which the variable x is displayed on the x axis and the range in which the function value y is displayed on the y axis exceeds a predetermined difference (for example, 100 times) If it is determined that it has exceeded, the switching determination unit 240 determines to switch one to the logarithmic axis. Then, the change unit 250 switches the larger linear axis to the logarithmic axis, and then displays the graph with the display range changed on the touch panel 30.

このような構成によれば、グラフの座標軸同士で表示される変数や関数の値の差が大きくなり、数値同士の関係がわかりにくくなった場合に、煩雑な操作の要なく見やすい片対数グラフに変更することが出来る。そのため、ユーザにとって利便性が高くなる。   According to such a configuration, when the difference between the values of variables and functions displayed between the coordinate axes of the graph becomes large and it becomes difficult to understand the relationship between the numerical values, it becomes a semilogarithmic graph that is easy to see without the need for complicated operations. Can be changed. Therefore, convenience for the user is increased.

また、表示装置と操作の受け付け手段として、タッチパネルを採用している。そのため、ピンチアウト・ピンチインといった直感的な操作でグラフの表示範囲の拡大・縮小が可能となる。一方で、タッチパネルを用いた操作は確実性に欠け、ユーザの意図よりも拡大や縮小が行き過ぎ、曲線の差が読み取りにくい、意味のないグラフとなってしまう場合も多い。そこで関数電卓1では、タッチパネルを用いた構成で、関数軸の表示範囲の差が大きくなった場合には自動で対数軸に切り替えることで、意味のないグラフが表示される割合を小さくしてタッチパネルの弱点をカバーしている。   Further, a touch panel is adopted as a display device and an operation receiving means. Therefore, the graph display range can be enlarged or reduced by an intuitive operation such as pinch-out and pinch-in. On the other hand, an operation using a touch panel lacks certainty, and in many cases, enlargement or reduction is excessive than the user's intention, resulting in a meaningless graph in which a difference in curves is difficult to read. Therefore, the scientific calculator 1 is configured to use a touch panel, and when the difference in the display range of the function axis becomes large, by automatically switching to the logarithmic axis, the ratio of displaying a meaningless graph is reduced to reduce the touch panel. Covers the weaknesses of

さらに、線形軸を対数軸に切り替えたグラフを表示した場合には、同時表示処理により図10(B)や(C)のように線形軸を対数軸に切り替えることなく表示範囲を変更したグラフをさらに(同時に)表示する。このような構成により、自動切り換えを行った場合と行わない場合とを容易に比較することができるため、よりユーザにとっての利便性を高めることが出来る。   Furthermore, when a graph in which the linear axis is switched to the logarithmic axis is displayed, the graph in which the display range is changed without switching the linear axis to the logarithmic axis as shown in FIGS. 10B and 10C by the simultaneous display processing. Further (at the same time) display. With such a configuration, it is possible to easily compare the case where automatic switching is performed with the case where automatic switching is not performed, and thus the convenience for the user can be further improved.

また、グラフの複数の座標軸のうち、表示される範囲が他の座標軸よりも所定の閾値を超えて大きい線形軸を対数軸に切り替えるため、煩雑な操作の要なく表示範囲の大きい座標軸を選択的に対数軸に切り替えることができる。   In addition, among the multiple coordinate axes of the graph, a linear axis whose displayed range exceeds a predetermined threshold value than the other coordinate axes is switched to a logarithmic axis, so that a coordinate axis having a large display range can be selectively selected without requiring a complicated operation. You can switch to the logarithmic axis.

また、対数軸に変換するか決定するにあたって、更新される表示範囲において、他の座標軸よりも所定の閾値を超えて大きい線形軸(切り替え対象の座標軸)では表示範囲外だが、他の座標軸では表示範囲内の部位に関数が描画される場合に、線形軸を対数軸に切り替える。例え座標軸同士で表示範囲の差が大きくなっても、グラフがその正の方向に振り切れていなければ、グラフにおいて関数の形状を把握できる割合は高い。このような構成によれば、グラフの形状に応じて、必要性が高い場合に限って自動的に対数軸を線形軸に変換できるので、不要な変換を避けユーザの利便性を高めることが出来る。   Also, when deciding whether to convert to a logarithmic axis, in the updated display range, the linear axis (coordinate axis to be switched) that is larger than the other coordinate axes and exceeds a predetermined threshold is outside the display range, but is displayed on the other coordinate axes When a function is drawn in a region within the range, the linear axis is switched to the logarithmic axis. Even if the difference in display range between coordinate axes increases, if the graph does not swing in the positive direction, the ratio of the function shape in the graph is high. According to such a configuration, the logarithmic axis can be automatically converted to a linear axis only when the necessity is high according to the shape of the graph, so that unnecessary conversion can be avoided and user convenience can be improved. .

さらに、対数軸に切り替えるにあたって、表示される範囲が他の座標軸よりも所定の閾値を超えて大きい線形軸を対数軸に切り替えると決定することで、対数に変換できない負の値が含まれない場合にかぎって対数軸に変換することができる。このため、負の対数を計算することによって生じるエラーを防ぐことが出来る。   Furthermore, when switching to the logarithmic axis, if the displayed range is larger than the other coordinate axes and exceeds the predetermined threshold, it is determined that the linear axis is switched to the logarithmic axis, so that negative values that cannot be converted to logarithm are not included It can be converted to logarithmic axis only. For this reason, the error which arises by calculating a negative logarithm can be prevented.

また、切替決定部240は、複数の座標軸のうち少なくとも一つが対数軸であるグラフが表示されている場合に、受け付けた更新指示によって更新される表示範囲において、グラフの複数の座標軸上で関数の値y又は変数xが表示される範囲の差が所定の閾値以下であるか否かを判別し、判別の結果に基づいてグラフの座標軸を対数軸から線形軸に切り替えるか否かを決定する。そして、線形軸に切り替えると決定された場合には、変更部250が判定対処の対数軸を線形軸に切り替えた上で、表示範囲を変更したグラフをタッチパネルに表示させる。
このような構成によれば、一旦対数軸に変更したグラフについても、容易に線形軸にもどすことができる。そのため、ユーザの利便性が高い。
In addition, when a graph in which at least one of the plurality of coordinate axes is a logarithmic axis is displayed, the switching determination unit 240 displays the function on the plurality of coordinate axes of the graph in the display range updated by the received update instruction. It is determined whether or not the difference in the range in which the value y or the variable x is displayed is equal to or less than a predetermined threshold, and based on the determination result, it is determined whether or not the coordinate axis of the graph is switched from the logarithmic axis to the linear axis. If it is determined to switch to the linear axis, the changing unit 250 switches the logarithmic axis to be dealt with to the linear axis, and then displays the graph with the display range changed on the touch panel.
According to such a configuration, a graph once changed to the logarithmic axis can be easily returned to the linear axis. Therefore, user convenience is high.

(変形例)
以上、本発明の実施形態1について説明したが、本発明の実施形態はこれに限られない。
例えば、上記実施形態1では、ピンチアウトの操作を受けた場合に線形軸から対数軸に切り替える処理を実行すると共に、ピンチインの操作を受け付けた場合には対数軸から線形軸に切り替える処理を実行した。これに限定されず、表示範囲の拡大指示(ピンチアウト)を受け付けたときに対数軸から線形軸に切り替える処理を実行する構成や、縮小指示(ピンチイン)を受け付けたときに線形軸から対数軸に切り替える処理を実行する構成も有効である。このためには領域拡大処理と表示領域縮小処理とを区別せず、何れを受け付けたときにも図6と図7のうち重複しない処理を全て実行すればよい。
例えば2つの座標軸のうち、一方(例えばx軸)が対数軸で、他方(例えばy軸)が線形軸で表示されているときに、対数軸(x軸)が縮小されるのみならず、線形軸(y軸)が拡大されて両者の表示範囲の差が100倍を下回る場合がある。あるいは、共に線形軸の状態で、一方を大幅に縮小した結果、表示範囲の差が100倍を超える場合も考えられる。この変形例の構成によれば、このような場合でも柔軟に対数軸と線形軸とを切り替えることができる。
(Modification)
As mentioned above, although Embodiment 1 of this invention was demonstrated, embodiment of this invention is not restricted to this.
For example, in the first embodiment, a process of switching from a linear axis to a logarithmic axis is performed when a pinch-out operation is received, and a process of switching from a logarithmic axis to a linear axis is performed when a pinch-in operation is received. . The configuration is not limited to this, and a process of switching from a logarithmic axis to a linear axis when a display range enlargement instruction (pinch-in) is received, or from a linear axis to a logarithmic axis when a reduction instruction (pinch-in) is received A configuration for executing the switching process is also effective. For this purpose, the area enlargement process and the display area reduction process are not distinguished from each other, and all of the non-overlapping processes in FIG. 6 and FIG.
For example, when one of the two coordinate axes (for example, the x axis) is displayed with a logarithmic axis and the other (for example, the y axis) is displayed with a linear axis, the logarithmic axis (x axis) is not only reduced but linear In some cases, the axis (y-axis) is enlarged and the difference between the two display ranges is less than 100 times. Alternatively, there may be a case where the difference between the display ranges exceeds 100 times as a result of greatly reducing one of them in a linear axis state. According to the configuration of this modification, the logarithmic axis and the linear axis can be flexibly switched even in such a case.

また、上記実施例では、拡大・縮小の操作を受け付ける手段としてタッチパネルを例に説明した。しかし、これに限定されず、文字入力やマウス操作といった、グラフの表示範囲を変更可能な任意の入力受付手段を用いた構成で代用することが出来る。   In the above embodiment, the touch panel is described as an example of the means for accepting the enlargement / reduction operation. However, the present invention is not limited to this, and a configuration using any input receiving means that can change the display range of the graph, such as character input or mouse operation, can be used instead.

尚、本発明は、実施形態1、若しくはその変形例に係る関数電卓1として提供できることはもとより、プログラムの適用により、既存のパーソナルコンピュータなど、汎用の計算機を関数電卓1として機能させることもできる。すなわち、関数電卓1による各機能構成を実現させるためのグラフ表示制御プログラムを、既存のが表示装置を制御するコンピュータ(CPUなど)が実行できるように適用することで、実施形態1、若しくは変形例に係る関数電卓1として機能させることができる。   Note that the present invention can be provided as the scientific calculator 1 according to the first embodiment or a modification thereof, and a general-purpose computer such as an existing personal computer can also function as the scientific calculator 1 by applying a program. That is, by applying a graph display control program for realizing each functional configuration by the scientific calculator 1 so that an existing computer (such as a CPU) that controls the display device can be executed, the first embodiment or the modification example It can be made to function as the scientific calculator 1 concerning.

このようなプログラムの配布方法は任意であり、例えば、メモリカード、CD−ROM(Compact Disc Read Only Memory)又はDVD−ROM(Digital Versatile Disc Read Only Memory)などの記録媒体に格納して配布できる他、インタネットなどの通信媒体を介して配布することもできる。   The distribution method of such a program is arbitrary. For example, the program can be stored and distributed on a recording medium such as a memory card, a CD-ROM (Compact Disc Read Only Memory), or a DVD-ROM (Digital Versatile Disc Read Only Memory). It can also be distributed via a communication medium such as the Internet.

また、本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。つまり、本発明のいくつかの実施形態を説明したが、上述した実施形態は本発明を説明するためのものであり、本発明の範囲を限定するものではない。本発明の範囲は、実施形態ではなく、特許請求の範囲に記載された発明とその均等の範囲を含む。
以下に本願出願の当初の特許請求の範囲に記載された発明を付記する。
Various embodiments and modifications of the present invention are possible without departing from the broad spirit and scope of the present invention. That is, although several embodiments of the present invention have been described, the above-described embodiments are for explaining the present invention and do not limit the scope of the present invention. The scope of the present invention includes the invention described in the scope of claims and its equivalents, not the embodiments.
The invention described in the scope of claims of the present application is appended below.

(付記1)
関数に基づくグラフを、複数の座標軸のうち少なくとも一つが線形軸である座標上に生成し、表示装置に表示させる表示制御手段と、
前記グラフの表示範囲を変更する変更指示を受け付ける受付手段と、
前記受け付けた変更指示によって変更される表示範囲において、前記グラフの複数の座標軸に対応する表示範囲の差が所定の閾値を超えるか否かを判別し、判別の結果に基づいて該グラフの座標軸を線形軸から対数軸に切り替えるか否かを決定する決定手段と、
前記対数軸に切り替えると決定した場合には、前記線形軸を対数軸に切り替えた上で、前記変更指示に基づき表示範囲を変更したグラフを前記表示装置に表示させる変更手段と、
を備えることを特徴とする表示制御装置。
(Appendix 1)
A display control means for generating a graph based on the function on coordinates where at least one of the plurality of coordinate axes is a linear axis, and displaying the display on a display device;
Accepting means for accepting a change instruction to change the display range of the graph;
In the display range changed by the received change instruction, it is determined whether or not the difference between the display ranges corresponding to the plurality of coordinate axes of the graph exceeds a predetermined threshold, and the coordinate axes of the graph are determined based on the determination result. Determining means for determining whether to switch from a linear axis to a logarithmic axis;
If it is determined to switch to the logarithmic axis, after changing the linear axis to the logarithmic axis, changing means for causing the display device to display a graph whose display range has been changed based on the change instruction;
A display control apparatus comprising:

(付記2)
前記表示制御手段はタッチパネルに前記グラフを表示させ、
前記受付手段は、前記タッチパネルに対するユーザのタッチ操作を、前記変更指示として受け付け、
前記変更手段は、前記タッチパネルに表示されたグラフを変更する、
ことを特徴とする付記1に記載の表示制御装置。
(Appendix 2)
The display control means displays the graph on a touch panel,
The accepting means accepts a user touch operation on the touch panel as the change instruction,
The changing means changes a graph displayed on the touch panel.
The display control apparatus according to Supplementary Note 1, wherein

(付記3)
前記変更手段は、前記線形軸を対数軸に切り替えたグラフに加え、前記線形軸を対数軸に切り替えることなく表示範囲を変更したグラフを同時に表示させる、
ことを特徴とする付記1又は2に記載の表示制御装置。
(Appendix 3)
In addition to the graph in which the linear axis is switched to the logarithmic axis, the changing means simultaneously displays a graph in which the display range is changed without switching the linear axis to the logarithmic axis.
The display control apparatus according to appendix 1 or 2, characterized in that:

(付記4)
前記決定手段は、前記複数の座標軸のうち、前記表示される範囲が他の座標軸よりも所定の閾値を超えて大きい線形軸を対数軸に切り替えると決定する、
ことを特徴とする付記1乃至3の何れかに記載の表示制御装置。
(Appendix 4)
The determining means determines that, among the plurality of coordinate axes, the displayed range is switched to a logarithmic axis that is larger than the other coordinate axes and exceeds a predetermined threshold.
The display control device according to any one of appendices 1 to 3, wherein

(付記5)
前記決定手段は、前記変更される表示範囲において、前記他の座標軸よりも所定の閾値を超えて大きい線形軸では表示範囲外だが、他の座標軸では表示範囲内の部位に前記関数が描画される場合に、該線形軸を対数軸に切り替えると決定する、
ことを特徴とする付記4に記載の表示制御装置。
(Appendix 5)
In the display range to be changed, the determination means is outside the display range for a linear axis that is larger than a predetermined threshold value than the other coordinate axes but is outside the display range, but for the other coordinate axes, the function is drawn in a portion within the display range. Determining to switch the linear axis to a logarithmic axis,
The display control apparatus according to Supplementary Note 4, wherein

(付記6)
前記決定手段は、前記変更される表示範囲の全体で、前記関数が前記他の座標軸よりも所定の閾値を超えて大きい線形軸の0を超える部分に描画される場合に、該線形軸を対数軸に切り替えると決定する、
ことを特徴とする付記4又は5に記載の表示制御装置。
(Appendix 6)
The determining means is configured to logarithmize the linear axis when the function is drawn on a portion of the linear axis that exceeds a predetermined threshold and exceeds 0 of the linear axis over the entire display range to be changed. Decide to switch to axis,
The display control apparatus according to appendix 4 or 5, characterized in that:

(付記7)
前記決定手段は、複数の座標軸のうち少なくとも一つが対数軸であるグラフが表示されている場合に、前記受け付けた変更指示によって変更される表示範囲において、前記グラフの複数の座標軸上で前記関数の値又は変数が表示される範囲の差が前記所定の閾値以下であるか否かを判別し、判別の結果に基づいて該グラフの座標軸を対数軸から線形軸に切り替えるか否かを決定し、
前記変更手段は、前記線形軸に切り替えると決定した場合には、該対数軸を線形軸に切り替えた上で、前記変更指示に基づき表示範囲を変更した前記グラフを前記表示制御手段に表示させる、
ことを特徴とする付記1乃至6の何れかに記載の表示制御装置。
(Appendix 7)
When the graph having at least one logarithmic axis as a logarithmic axis is displayed, the determining unit is configured to display the function on the plurality of coordinate axes of the graph in the display range changed by the received change instruction. It is determined whether or not the difference in the range in which the value or variable is displayed is equal to or less than the predetermined threshold, and based on the determination result, it is determined whether or not to switch the coordinate axis of the graph from a logarithmic axis to a linear axis,
When the change unit determines to switch to the linear axis, the logarithmic axis is switched to the linear axis, and then the display control unit displays the graph with the display range changed based on the change instruction.
The display control device according to any one of appendices 1 to 6, characterized in that:

(付記8)
関数に基づくグラフを、複数の座標軸のうち少なくとも一つが線形軸である座標上に生成し、表示装置に表示させ、
前記グラフの表示範囲を変更する変更指示を受け付け、
前記受け付けた変更指示によって変更される表示範囲において、前記グラフの複数の座標軸に対応する表示範囲の差が所定の閾値を超えるか否かを判別し、判別の結果に基づいて該グラフの座標軸を線形軸から対数軸に切り替えるか否かを決定し、
前記対数軸に切り替えると決定した場合には、前記線形軸を対数軸に切り替えた上で、前記変更指示に基づき表示範囲を変更したグラフを前記表示装置に表示させる、
ことを特徴とする表示制御方法。
(Appendix 8)
A graph based on the function is generated on coordinates where at least one of the plurality of coordinate axes is a linear axis, and is displayed on a display device.
Accepting a change instruction to change the display range of the graph;
In the display range changed by the received change instruction, it is determined whether or not the difference between the display ranges corresponding to the plurality of coordinate axes of the graph exceeds a predetermined threshold, and the coordinate axes of the graph are determined based on the determination result. Decide whether to switch from linear axis to logarithmic axis,
If it is determined to switch to the logarithmic axis, after switching the linear axis to the logarithmic axis, to display a graph with the display range changed based on the change instruction on the display device,
A display control method characterized by the above.

(付記9)
表示装置を制御するコンピュータに、
関数に基づくグラフを、複数の座標軸のうち少なくとも一つが線形軸である座標上に生成し、前記表示装置に表示させる処理、
前記グラフの表示範囲を変更する変更指示を受け付ける処理、
前記受け付けた変更指示によって変更される表示範囲において、前記グラフの複数の座標軸に対応する表示範囲の差が所定の閾値を超えるか否かを判別し、判別の結果に基づいて該グラフの座標軸を線形軸から対数軸に切り替えるか否かを決定する処理、
前記対数軸に切り替えると決定した場合には、前記線形軸を対数軸に切り替えた上で、前記変更指示に基づき表示範囲を変更したグラフを前記表示装置に表示させる処理、
を実行させるためのプログラム。
(Appendix 9)
To the computer that controls the display device
Generating a graph based on a function on coordinates in which at least one of the plurality of coordinate axes is a linear axis, and displaying the graph on the display device;
A process of accepting a change instruction to change the display range of the graph;
In the display range changed by the received change instruction, it is determined whether or not the difference between the display ranges corresponding to the plurality of coordinate axes of the graph exceeds a predetermined threshold, and the coordinate axes of the graph are determined based on the determination result. Processing to determine whether to switch from linear axis to logarithmic axis,
When it is determined to switch to the logarithmic axis, after switching the linear axis to the logarithmic axis, a process for displaying on the display device a graph whose display range has been changed based on the change instruction;
A program for running

(付記10)
表示手段と、
関数を入力する入力手段と、
前記入力された関数に基づくグラフを、複数の座標軸のうち少なくとも一つが線形軸である座標上に生成し、前記表示手段に表示させる表示制御手段と、
前記グラフの表示範囲を変更する変更指示を受け付ける受付手段と、
前記受け付けた変更指示によって変更される表示範囲において、前記グラフの複数の座標軸に対応する表示範囲の差が所定の閾値を超えるか否かを判別し、判別の結果に基づいて該グラフの座標軸を線形軸から対数軸に切り替えるか否かを決定する決定手段と、
前記対数軸に切り替えると決定した場合には、前記線形軸を対数軸に切り替えた上で、前記変更指示に基づき表示範囲を変更したグラフを前記表示手段に表示させる変更手段と、
を備えることを特徴とするグラフ表示装置。
(Appendix 10)
Display means;
An input means for inputting a function;
A display control unit that generates a graph based on the input function on coordinates in which at least one of the plurality of coordinate axes is a linear axis, and causes the display unit to display the graph;
Accepting means for accepting a change instruction to change the display range of the graph;
In the display range changed by the received change instruction, it is determined whether or not the difference between the display ranges corresponding to the plurality of coordinate axes of the graph exceeds a predetermined threshold, and the coordinate axes of the graph are determined based on the determination result. Determining means for determining whether to switch from a linear axis to a logarithmic axis;
When it is determined to switch to the logarithmic axis, after changing the linear axis to the logarithmic axis, changing means for displaying on the display means a graph whose display range has been changed based on the change instruction;
A graph display device comprising:

1…関数電卓、10…入力部、20…情報処理部、21…CPU、22…RAM、23…ROM、24…I/O部、26…内部バス、210…関数取得部、220…表示制御部、230…操作受付部、240…切替決定部、250…変更部、260…記憶部、2610…関数記憶領域、2620…設定記憶領域、30…タッチパネル、310…表示部、320…センサ部 DESCRIPTION OF SYMBOLS 1 ... Scientific calculator, 10 ... Input part, 20 ... Information processing part, 21 ... CPU, 22 ... RAM, 23 ... ROM, 24 ... I / O part, 26 ... Internal bus, 210 ... Function acquisition part, 220 ... Display control , 230 ... Operation accepting part, 240 ... Switching determination part, 250 ... Change part, 260 ... Storage part, 2610 ... Function storage area, 2620 ... Setting storage area, 30 ... Touch panel, 310 ... Display part, 320 ... Sensor part

Claims (9)

制御部を備える電子機器であって、  An electronic device including a control unit,
前記制御部は、  The controller is
グラフを表示しようとする座標の2つの座標軸の1つを線形軸と対数軸との間で切替えて、かつ、前記座標軸の1つが切替えられた第1の座標と前記座標軸の1つが切替えられない第2の座標とを同時に表示する第1処理を、前記2つの座標軸の表示範囲の差に基づいて自動的に実行するか、または、前記表示範囲の差にかかわらず前記第1処理を実行しないか、の設定を受け付け、  One of the two coordinate axes of the coordinates for which the graph is to be displayed is switched between a linear axis and a logarithmic axis, and the first coordinate in which one of the coordinate axes is switched and one of the coordinate axes cannot be switched. The first process for simultaneously displaying the second coordinates is automatically executed based on the difference between the display ranges of the two coordinate axes, or the first process is not executed regardless of the difference between the display ranges. Or accept settings,
受け付けた前記設定に基づいて、前記第1処理を実行するか否かを決定し、  Determining whether to execute the first process based on the received setting;
前記第1処理を実行すると決定した場合、前記第1の座標及び当該第1の座標上の第1のグラフとともに、前記第2の座標及び当該第2の座標上の第2のグラフを、表示部に表示させる  When it is determined to execute the first process, the second graph and the second graph on the second coordinate are displayed together with the first graph on the first coordinate and the first graph on the first coordinate. To display
電子機器。Electronics.
前記制御部は、  The controller is
前記座標の2つの座標軸のうちの少なくとも1つの座標軸の表示範囲を変更する指示を受け付け、  Receiving an instruction to change a display range of at least one of the two coordinate axes of the coordinates;
前記指示に基づく変更後の、前記座標の2つの座標軸の表示範囲の差に基づいて、前記第1処理を自動的に実行する  The first process is automatically executed based on the difference between the display ranges of the two coordinate axes of the coordinates after the change based on the instruction.
請求項1に記載の電子機器。The electronic device according to claim 1.
制御部を備える電子機器であって、  An electronic device including a control unit,
前記制御部は、  The controller is
グラフを表示しようとする座標の2つの座標軸のうちの少なくとも1つの座標軸の表示範囲を変更する指示を受け付け、  Accepting an instruction to change the display range of at least one of the two coordinate axes of the coordinates for which the graph is to be displayed,
前記指示に基づいて表示範囲が変更された前記座標の一方の座標軸の表示範囲に対する他方の座標軸の表示範囲の比が閾値よりも大きいときに前記他方の座標軸を線形軸から対数軸に切替えるか或いは前記指示に基づいて表示範囲が変更された前記座標の他方の座標軸の表示範囲に対する一方の座標軸の表示範囲の比が閾値よりも大きいときに前記一方の座標軸を線形軸から対数軸に切替える第2処理を実行する  When the ratio of the display range of the other coordinate axis to the display range of one coordinate axis of the coordinate whose display range has been changed based on the instruction is greater than a threshold, the other coordinate axis is switched from a linear axis to a logarithmic axis, or The one coordinate axis is switched from a linear axis to a logarithmic axis when the ratio of the display range of one coordinate axis to the display range of the other coordinate axis of the coordinate whose display range is changed based on the instruction is larger than a threshold value. 2 process is executed
電子機器。Electronics.
前記制御部は、  The controller is
前記第2処理を、前記指示に基づいて変更された前記2つの座標軸の表示範囲に応じて自動的に実行するか否かの設定を受け付ける  Accepting a setting as to whether or not to automatically execute the second process according to the display range of the two coordinate axes changed based on the instruction
請求項3に記載の電子機器。The electronic device according to claim 3.
前記制御部は、  The controller is
前記座標の少なくとも1つの座標軸の表示範囲を変更する指示を、タッチパネルへの操作、文字入力及びマウス操作のいずれかにより受け付ける  An instruction to change the display range of at least one coordinate axis of the coordinates is received by any of an operation on the touch panel, a character input, and a mouse operation.
請求項1ないし請求項4の何れかに記載の電子機器。The electronic device according to any one of claims 1 to 4.
制御部を備える電子機器により実行される表示方法であって、A display method executed by an electronic device including a control unit,
グラフを表示しようとする座標の2つの座標軸の1つを線形軸と対数軸との間で切替えて、かつ、前記座標軸の1つが切替えられた第1の座標と前記座標軸の1つが切替えられない第2の座標とを同時に表示する第1処理を、前記2つの座標軸の表示範囲の差に基づいて自動的に実行するか、または、前記表示範囲の差にかかわらず前記第1処理を実行しないか、の設定を受け付け、  One of the two coordinate axes of the coordinates for which the graph is to be displayed is switched between a linear axis and a logarithmic axis, and the first coordinate in which one of the coordinate axes is switched and one of the coordinate axes cannot be switched. The first process for simultaneously displaying the second coordinates is automatically executed based on the difference between the display ranges of the two coordinate axes, or the first process is not executed regardless of the difference between the display ranges. Or accept settings,
受け付けた前記設定に基づいて、前記第1処理を実行するか否かを決定し、  Determining whether to execute the first process based on the received setting;
前記第1処理を実行すると決定した場合、前記第1の座標及び当該第1の座標上の第1のグラフとともに、前記第2の座標及び当該第2の座標上の第2のグラフを、表示部に表示させる  When it is determined to execute the first process, the second graph and the second graph on the second coordinate are displayed together with the first graph on the first coordinate and the first graph on the first coordinate. To display
ことを含む表示方法。Display method including that.
制御部を備える電子機器により実行される表示方法であって、  A display method executed by an electronic device including a control unit,
グラフを表示しようとする座標の2つの座標軸のうちの少なくとも1つの座標軸の表示範囲を変更する指示を受け付け、  Accepting an instruction to change the display range of at least one of the two coordinate axes of the coordinates for which the graph is to be displayed,
前記指示に基づいて表示範囲が変更された前記座標の一方の座標軸の表示範囲に対する他方の座標軸の表示範囲の比が閾値よりも大きいときに前記他方の座標軸を線形軸から対数軸に切替えるか或いは前記指示に基づいて表示範囲が変更された前記座標の他方の座標軸の表示範囲に対する一方の座標軸の表示範囲の比が閾値よりも大きいときに前記一方の座標軸を線形軸から対数軸に切替える第2処理を実行する  When the ratio of the display range of the other coordinate axis to the display range of one coordinate axis of the coordinate whose display range has been changed based on the instruction is greater than a threshold, the other coordinate axis is switched from a linear axis to a logarithmic axis, or The one coordinate axis is switched from a linear axis to a logarithmic axis when the ratio of the display range of one coordinate axis to the display range of the other coordinate axis of the coordinate whose display range is changed based on the instruction is larger than a threshold value. 2 process is executed
ことを含む表示方法。Display method including that.
表示装置を制御するコンピュータに、  To the computer that controls the display device,
グラフを表示しようとする座標の2つの座標軸の1つを線形軸と対数軸との間で切替えて、かつ、前記座標軸の1つが切替えられた第1の座標と前記座標軸の1つが切替えられない第2の座標とを同時に表示する第1処理を、前記2つの座標軸の表示範囲の差に基づいて自動的に実行するか、または、前記表示範囲の差にかかわらず前記第1処理を実行しないか、の設定を受け付けさせ、  One of the two coordinate axes of the coordinates for which the graph is to be displayed is switched between a linear axis and a logarithmic axis, and the first coordinate in which one of the coordinate axes is switched and one of the coordinate axes cannot be switched. The first process for simultaneously displaying the second coordinates is automatically executed based on the difference between the display ranges of the two coordinate axes, or the first process is not executed regardless of the difference between the display ranges. Or accept the setting of
受け付けた前記設定に基づいて、前記第1処理を実行するか否かを決定させ、  Based on the received setting, it is determined whether to execute the first process,
前記第1処理を実行すると決定した場合、前記第1の座標及び当該第1の座標上の第1のグラフとともに、前記第2の座標及び当該第2の座標上の第2のグラフを、表示部によって表示させる  When it is determined to execute the first process, the second graph and the second graph on the second coordinate are displayed together with the first graph on the first coordinate and the first graph on the first coordinate. Display by part
表示プログラム。Display program.
表示装置を制御するコンピュータに、  To the computer that controls the display device,
グラフを表示しようとする座標の2つの座標軸のうちの少なくとも1つの座標軸の表示範囲を変更する指示を受け付けさせ、  An instruction to change the display range of at least one of the two coordinate axes of the coordinates for which the graph is to be displayed is received;
前記指示に基づいて表示範囲が変更された前記座標の一方の座標軸の表示範囲に対する他方の座標軸の表示範囲の比が閾値よりも大きいときに前記他方の座標軸を線形軸から対数軸に切替えるか或いは前記指示に基づいて表示範囲が変更された前記座標の他方の座標軸の表示範囲に対する一方の座標軸の表示範囲の比が閾値よりも大きいときに前記一方の座標軸を線形軸から対数軸に切替える第2処理を実行させる  When the ratio of the display range of the other coordinate axis to the display range of one coordinate axis of the coordinate whose display range has been changed based on the instruction is greater than a threshold, the other coordinate axis is switched from a linear axis to a logarithmic axis, or The one coordinate axis is switched from a linear axis to a logarithmic axis when the ratio of the display range of one coordinate axis to the display range of the other coordinate axis of the coordinate whose display range is changed based on the instruction is larger than a threshold value. 2 process is executed
表示プログラム。Display program.
JP2013196146A 2013-09-20 2013-09-20 Electronic device, display method, and display program Active JP6286977B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013196146A JP6286977B2 (en) 2013-09-20 2013-09-20 Electronic device, display method, and display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013196146A JP6286977B2 (en) 2013-09-20 2013-09-20 Electronic device, display method, and display program

Publications (2)

Publication Number Publication Date
JP2015060572A JP2015060572A (en) 2015-03-30
JP6286977B2 true JP6286977B2 (en) 2018-03-07

Family

ID=52817993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013196146A Active JP6286977B2 (en) 2013-09-20 2013-09-20 Electronic device, display method, and display program

Country Status (1)

Country Link
JP (1) JP6286977B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI710516B (en) 2018-10-24 2020-11-21 日商住友重機械工業股份有限公司 Crane system, crane positioning device, and crane positioning method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3665137B2 (en) * 1996-05-23 2005-06-29 日置電機株式会社 Waveform display method
JP2004118447A (en) * 2002-09-25 2004-04-15 Casio Comput Co Ltd Logarithmic axial graph plotter and logarithmic axial graph plotting processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI710516B (en) 2018-10-24 2020-11-21 日商住友重機械工業股份有限公司 Crane system, crane positioning device, and crane positioning method

Also Published As

Publication number Publication date
JP2015060572A (en) 2015-03-30

Similar Documents

Publication Publication Date Title
RU2666236C2 (en) Method of block display operation and terminal therefor
KR100686165B1 (en) Portable terminal having osd function icon and method of displaying osd function icon using same
JP5664147B2 (en) Information processing apparatus, information processing method, and program
CN106354373B (en) Icon moving method and mobile terminal
EP2833607A1 (en) Method for automatically switching handheld modes and wireless handheld device
US9823773B2 (en) Handheld device and method for implementing input area position adjustment on handheld device
CN106055242B (en) Operation processing method and mobile terminal
US10635227B2 (en) Image display device
CN107066176A (en) A kind of control method and device of the singlehanded pattern of terminal
JP2013196100A (en) Drawing display device and drawing display program
JP2005276120A (en) Touch panel input device and its input control system
US20140223328A1 (en) Apparatus and method for automatically controlling display screen density
JP6286977B2 (en) Electronic device, display method, and display program
US9519424B2 (en) Touch-control method, related apparatus, and terminal device
CN109960483B (en) Control method and electronic equipment
US10303346B2 (en) Information processing apparatus, non-transitory computer readable storage medium, and information display method
US20140165011A1 (en) Information processing apparatus
JP2010113459A (en) Image display device, method, and program
JP5882973B2 (en) Information processing apparatus, method, and program
JP5418713B1 (en) Image forming apparatus and program
KR20110011845A (en) Mobile communication terminal comprising touch screen and control method thereof
JP2005100132A (en) Display control device
CN111949195B (en) Touch control method and device for liquid crystal display television, intelligent equipment and storage medium
JP6655880B2 (en) Display control device, display control method and program
JP2015102946A (en) Information processing apparatus, control method of information processing apparatus, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170606

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170807

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180122

R150 Certificate of patent or registration of utility model

Ref document number: 6286977

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150