JP6149916B2 - Display method, display device, and program - Google Patents

Display method, display device, and program Download PDF

Info

Publication number
JP6149916B2
JP6149916B2 JP2015214462A JP2015214462A JP6149916B2 JP 6149916 B2 JP6149916 B2 JP 6149916B2 JP 2015214462 A JP2015214462 A JP 2015214462A JP 2015214462 A JP2015214462 A JP 2015214462A JP 6149916 B2 JP6149916 B2 JP 6149916B2
Authority
JP
Japan
Prior art keywords
display
graph
coordinate system
scroll
function
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
JP2015214462A
Other languages
Japanese (ja)
Other versions
JP2016021265A (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 JP2015214462A priority Critical patent/JP6149916B2/en
Publication of JP2016021265A publication Critical patent/JP2016021265A/en
Application granted granted Critical
Publication of JP6149916B2 publication Critical patent/JP6149916B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、表示方法、表示装置、および、プログラムに関する。   The present invention relates to a display method, a display device, and a program.

従来、画像やテキストなどの情報表示装置においては、ユーザ操作に応じて表示内容が慣性スクロールするようになっている。
ところで、表示内容を慣性スクロールさせる場合には、ユーザの意図よりもスクロール量が大きく(または小さく)なってしまう場合がある。
2. Description of the Related Art Conventionally, in information display devices such as images and texts, display contents are scrolled inertially according to user operations.
By the way, when the display content is scrolled by inertia, the scroll amount may be larger (or smaller) than the user's intention.

そのため、近年、画像やテキストを表示させて慣性スクロールさせる情報表示装置では、スクロールにより表示されうる各画像から特定の画像を検出し、この画像が所定位置に表示されるタイミングで慣性スクロールを停止させるようになっている(例えば特許文献1参照)。   Therefore, in recent years, an information display device that displays an image or text and performs inertial scrolling detects a specific image from each image that can be displayed by scrolling, and stops inertial scrolling at the timing when the image is displayed at a predetermined position. (See, for example, Patent Document 1).

また、入力文字列に対する前方一致順に辞書データベースの見出し語を一覧表示させて、スクロールさせる情報表示装置では、入力文字列の直後に連なる文字(スペル)が切り替わるタイミングで、スクロール速度を一時的に低下させるようになっている(例えば特許文献2参照)。具体的には、この特許文献2記載の技術では、例えば入力文字列「bea」を入力すると、当該入力文字列に前方一致する見出し語が一覧表示され、この状態で表示内容をスクロールさせると、見出し語「beach」,「beacon」,…(入力文字列「bea」の直後に文字「c」が連なる見出し語)が表示された後、見出し語「bead」(入力文字列「bea」の直後に文字「d」が連なる見出し語)が表示されるタイミングで、スクロール速度が一時的に低下する。   In addition, in the information display device that displays a list of dictionary database headwords in the order of front matching with respect to the input character string and scrolls, the scrolling speed is temporarily reduced at the timing when the continuous character (spell) immediately after the input character string is switched. (For example, refer to Patent Document 2). Specifically, in the technique described in Patent Document 2, for example, when an input character string “bea” is input, headwords that match the input character string in front are displayed in a list, and when the display content is scrolled in this state, After the headwords “beach”, “beacon”,... (Header words with the letter “c” immediately following the input string “bea”) are displayed, the headword “bead” (just after the input string “bea”) The scrolling speed is temporarily reduced at the timing when the heading word ("d") is displayed.

特開2010−7718号公報JP 2010-7718 A 特開2007−94987号公報JP 2007-94987 A

しかしながら、従来の技術では、グラフや座標系中に含まれる特徴については一切考慮されていないため、数式に基づくグラフ等が表示される座標系の表示内容を慣性スクロールさせる場合に、適切な位置でスクロールを止めることができず、操作に手間がかかってしまう。   However, since the conventional technology does not take into consideration the features included in the graph and the coordinate system at all, when the inertial scrolling of the display content of the coordinate system on which the graph or the like based on the mathematical formula is displayed is performed at an appropriate position. Scrolling cannot be stopped and the operation is troublesome.

本発明の課題は、座標系のグラフ表示を慣性スクロールさせるときのユーザの操作の手間を軽減することのできるグラフ表示方法を提供することである。   The subject of this invention is providing the graph display method which can reduce the effort of a user's operation at the time of carrying out inertia scroll of the graph display of a coordinate system.

以上の課題を解決するため、本発明の表示方法は、表示手段を備えた表示装置における表示方法であって、
前記表示手段の表示領域にX方向とY方向の表示範囲が定められたX−Y座標系を設定し、関数のグラフを表示させるグラフ表示制御ステップと、
前記X−Y座標系の平面内の任意の方向に沿ったユーザ操作を受け付け、
前記ユーザ操作に応じてスクロール方向を設定するスクロール方向設定ステップと、
前記表示された関数のグラフを前記スクロール方向に移動させた場合に、前記X−Y座標系及び前記グラフが有するそれぞれの特徴部分のうち、前記表示領域の少なくともX方向またはY方向の中央に最初に到達する特徴部分を特定する定ステップと、
前記特定された特徴部分が前記表示領域の少なくともX方向またはY方向の中央に最初に到達するまでの移動量を算出する移動量算出ステップと、
前記X−Y座標系に定められた表示範囲を、前記算出された移動量に達するまで、所定の変化量に基づいて繰り返し変更し、前記表示範囲が変更される毎に前記関数のグラフを表示させることで慣性スクロールを行うスクロール制御ステップと
を備えることを特徴とする。
また、本発明の表示装置は、制御手段を備える表示装置であって、
前記制御手段は、
表示手段の表示領域にX方向とY方向の表示範囲が定められたX−Y座標系を設定し、関数のグラフを表示させ、
前記X−Y座標系の平面内の任意の方向に沿ったユーザ操作を受け付け、
前記ユーザ操作に応じてスクロール方向を設定し、
前記表示された関数のグラフを前記スクロール方向に移動させた場合に、前記X−Y座標系及び前記グラフが有するそれぞれの特徴部分のうち、前記表示領域の少なくともX方向またはY方向の中央に最初に到達する特徴部分を特定し、
前記特定された特徴部分が前記表示領域の少なくともX方向またはY方向の中央に最初に到達するまでの移動量を算出し、
前記X−Y座標系に定められた表示範囲を、前記算出された移動量に達するまで、所定の変化量に基づいて繰り返し変更し、前記表示範囲が変更される毎に前記関数のグラフを表示させることで慣性スクロールを行う
ことを備えることを特徴とする。
また、本発明のプログラムは、コンピュータに、
表示手段の表示領域にX方向とY方向の表示範囲が定められたX−Y座標系を設定し、関数のグラフを表示させ、
前記X−Y座標系の平面内の任意の方向に沿ったユーザ操作を受け付けさせ、
前記ユーザ操作に応じてスクロール方向を設定させ、
前記表示された関数のグラフを前記スクロール方向に移動させた場合に、前記X−Y座標系及び前記グラフが有するそれぞれの特徴部分のうち、前記表示領域の少なくともX方向またはY方向の中央に最初に到達する特徴部分を特定させ、
前記特定された特徴部分が前記表示領域の少なくともX方向またはY方向の中央に最初に到達するまでの移動量を算出させ、
前記X−Y座標系に定められた表示範囲を、前記算出された移動量に達するまで、所定の変化量に基づいて繰り返し変更し、前記表示範囲が変更される毎に前記関数のグラフを表示させることで慣性スクロールを行わせる
ことを特徴とする。
To solve the above problems, the display method of the present invention is a display method in the display device including a display unit,
A graph display control step of setting an XY coordinate system in which display ranges in the X direction and the Y direction are defined in the display area of the display means, and displaying a graph of a function;
Accepts user operations along any direction in the plane of the XY coordinate system;
The scroll direction setting step of setting a scroll direction in response to the user operation,
When the graph of the displayed function is moved in the scroll direction, the feature area of the XY coordinate system and the graph is first at least in the center of the display area in the X or Y direction. a specific identifying characteristic portions to reach,
A movement amount calculating step of calculating a movement amount until the identified characteristic portion first reaches at least the center of at least the X direction or the Y direction of the display area;
The display range defined in the XY coordinate system is repeatedly changed based on a predetermined change amount until the calculated movement amount is reached, and the graph of the function is displayed each time the display range is changed. And a scroll control step for performing inertial scrolling .
Further, the display device of the present invention is a display device comprising a control means,
The control means includes
An XY coordinate system in which display ranges in the X direction and the Y direction are defined is set in the display area of the display means, and a function graph is displayed.
Accepts user operations along any direction in the plane of the XY coordinate system;
Set the scroll direction according to the user operation,
When the graph of the displayed function is moved in the scroll direction, the feature area of the XY coordinate system and the graph is first at least in the center of the display area in the X or Y direction. Identify the features that reach
Calculating the amount of movement until the identified feature portion first reaches at least the center of the display area in the X or Y direction;
The display range defined in the XY coordinate system is repeatedly changed based on a predetermined change amount until the calculated movement amount is reached, and the graph of the function is displayed each time the display range is changed. To perform inertial scrolling
It is characterized by comprising.
The program of the present invention is stored in a computer.
An XY coordinate system in which display ranges in the X direction and the Y direction are defined is set in the display area of the display means, and a function graph is displayed.
Accept user operations along any direction in the plane of the XY coordinate system;
The scroll direction is set according to the user operation,
When the graph of the displayed function is moved in the scroll direction, the feature area of the XY coordinate system and the graph is first at least in the center of the display area in the X or Y direction. Identify the features that reach
Calculating the amount of movement until the identified feature portion first reaches at least the center of the display area in the X or Y direction;
The display range defined in the XY coordinate system is repeatedly changed based on a predetermined change amount until the calculated movement amount is reached, and the graph of the function is displayed each time the display range is changed. To cause inertial scrolling
It is characterized by that.

本発明によれば、座標系のグラフ表示を慣性スクロールさせるときのユーザの操作の手間を軽減することができる。   ADVANTAGE OF THE INVENTION According to this invention, the effort of a user's operation at the time of carrying out an inertia scroll of the graph display of a coordinate system can be reduced.

グラフ表示装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of a graph display apparatus. グラフ表示処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a graph display process. ドラッグ処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a drag process. スワイプ処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a swipe process. 拡大縮小処理の流れを示すフローチャートである。It is a flowchart which shows the flow of an enlarging / reducing process. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. (a)はXY平面を示す図であり、(b)〜(d)はディスプレイの表示内容を示す図である。(A) is a figure which shows XY plane, (b)-(d) is a figure which shows the display content of a display. スワイプ処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a swipe process. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display. ディスプレイの表示内容を示す図である。It is a figure which shows the display content of a display.

以下、添付図面を参照して本発明に係る実施の形態の一例を詳細に説明する。ただし、発明の範囲は、図示例に限定されない。   Hereinafter, an example of an embodiment according to the present invention will be described in detail with reference to the accompanying drawings. However, the scope of the invention is not limited to the illustrated examples.

[構成]
図1は、本実施の形態におけるグラフ表示装置1の機能構成を示すブロック図である。
この図に示すように、本実施の形態におけるグラフ表示装置1は、表示部21と、入力部22と、インターフェース23と、記憶部24と、CPU25等とを備えて構成されている。
[Constitution]
FIG. 1 is a block diagram illustrating a functional configuration of the graph display device 1 according to the present embodiment.
As shown in this figure, the graph display device 1 in the present embodiment includes a display unit 21, an input unit 22, an interface 23, a storage unit 24, a CPU 25, and the like.

表示部21は、ディスプレイ210を備えており、CPU25から入力される表示信号に基づいて各種情報をディスプレイ210に表示するようになっている。なお、本実施の形態におけるディスプレイ210は、いわゆるタッチパネル221と一体的に形成されており、ユーザによるタッチ操作を受け付け可能となっている。   The display unit 21 includes a display 210 and displays various information on the display 210 based on a display signal input from the CPU 25. Note that the display 210 in the present embodiment is formed integrally with a so-called touch panel 221 and can accept a touch operation by a user.

入力部22は、キー群220や上述のタッチパネル221を備えており、押下されたキーの種類やタッチパネル221の位置に対応する信号をCPU25に出力するようになっている。   The input unit 22 includes a key group 220 and the touch panel 221 described above, and outputs a signal corresponding to the type of pressed key and the position of the touch panel 221 to the CPU 25.

インターフェース23は、図示しない外部機器に接続するための接続端子であり、本実施の形態においては、USBケーブルなどを介して外部機器から数式データなどを読み込んで、記憶部24に記憶させることができるようになっている。   The interface 23 is a connection terminal for connecting to an external device (not shown). In the present embodiment, mathematical formula data and the like can be read from the external device via a USB cable or the like and stored in the storage unit 24. It is like that.

記憶部24は、グラフ表示装置1の各種機能を実現するためのプログラムやデータを記憶するとともに、CPU25の作業領域として機能するメモリである。本実施の形態においては、記憶部24は、本発明に係るグラフ表示プログラム240等を記憶するとともに、タッチ座標記憶領域241、表示範囲データ記憶領域242、数式データ記憶領域243、移動量データ記憶領域244、変化量データ記憶領域245及び特徴部分データ記憶領域246等を有している。   The storage unit 24 is a memory that stores programs and data for realizing various functions of the graph display device 1 and functions as a work area of the CPU 25. In the present embodiment, the storage unit 24 stores a graph display program 240 and the like according to the present invention, a touch coordinate storage area 241, a display range data storage area 242, a mathematical expression data storage area 243, and a movement amount data storage area. 244, a change amount data storage area 245, a feature portion data storage area 246, and the like.

グラフ表示プログラム240は、後述のグラフ表示処理(図2参照)をCPU25に実行させるためのプログラムである。   The graph display program 240 is a program for causing the CPU 25 to execute a later-described graph display process (see FIG. 2).

タッチ座標記憶領域241には、後述のグラフ表示処理(図2参照)においてユーザがタッチ操作を行った場合に、そのタッチ位置の座標(表示領域内での位置情報)が記憶されるようになっている。   The touch coordinate storage area 241 stores the coordinates of the touch position (position information in the display area) when the user performs a touch operation in a graph display process (see FIG. 2) described later. ing.

表示範囲データ記憶領域242には、後述のグラフ表示処理(図2参照)においてディスプレイ210の表示領域にXY座標系が設定される場合に、その座標系の表示範囲(Xmin,Xmax,Ymin,Ymax)が記憶されるようになっている。   In the display range data storage area 242, when an XY coordinate system is set in the display area of the display 210 in a graph display process (see FIG. 2) described later, the display range (Xmin, Xmax, Ymin, Ymax) of the coordinate system is set. ) Is memorized.

数式データ記憶領域243には、後述のグラフ表示処理(図2参照)においてユーザから入力される関数の数式データが記憶されるようになっている。   The mathematical formula data storage area 243 stores mathematical formula data of a function input by the user in a graph display process (see FIG. 2) described later.

移動量データ記憶領域244には、後述のグラフ表示処理(図2参照)において座標系の表示範囲(Xmin,Xmax,Ymin,Ymax)で表示される内容をスクロール(移動)させる場合の総移動量(dX,dY)等が記憶されるようになっている。   In the movement amount data storage area 244, the total movement amount when the content displayed in the coordinate system display range (Xmin, Xmax, Ymin, Ymax) is scrolled (moved) in the graph display processing (see FIG. 2) described later. (DX, dY) and the like are stored.

変化量データ記憶領域245には、後述のグラフ表示処理(図2参照)において座標系の表示範囲(Xmin,Xmax,Ymin,Ymax)で表示される内容をスクロールさせる場合の単位時間当たりの変化量(ΔX,ΔY)等が記憶されるようになっている。   In the change amount data storage area 245, the change amount per unit time when the content displayed in the display range (Xmin, Xmax, Ymin, Ymax) of the coordinate system is scrolled in a graph display process (see FIG. 2) described later. (ΔX, ΔY) and the like are stored.

特徴部分データ記憶領域246には、後述のグラフ表示処理(図2参照)において座標系と、この座標系内に表示されるグラフGとにおける特徴部分T(図6参照)の位置情報(座標系内での位置情報、表示領域内での位置情報)が記憶されるようになっている。ここで、本実施の形態においては、座標系及びグラフGにおける特徴部分Tとして、座標軸と、グラフGの特徴点(例えば変曲点等)とが用いられている。   In the feature portion data storage area 246, position information (coordinate system) of the feature portion T (see FIG. 6) in the coordinate system and the graph G displayed in the coordinate system in a graph display process (see FIG. 2) described later. Position information in the display area, position information in the display area) is stored. Here, in the present embodiment, coordinate axes and feature points (for example, inflection points) of the graph G are used as the feature part T in the coordinate system and the graph G.

CPU25は、グラフ表示装置1の各部を中央制御する。具体的には、CPU25は、記憶部24に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムを展開し、展開されたプログラムとの協働で、各種処理を実行する。   The CPU 25 centrally controls each part of the graph display device 1. Specifically, the CPU 25 expands a specified program from among the system programs and various application programs stored in the storage unit 24, and executes various processes in cooperation with the expanded programs.

[動作]
続いて、グラフ表示装置1によって実行されるグラフ表示処理について、図面を参照しつつ説明する。
[Operation]
Next, the graph display process executed by the graph display device 1 will be described with reference to the drawings.

図2は、グラフ表示処理の動作を説明するためのフローチャートである。なお、このグラフ表示処理は、ユーザにより入力部22を介してグラフ表示処理の実行指示が入力されると、記憶部24からグラフ表示プログラム240が読み出されて適宜展開される結果、当該グラフ表示プログラム240とCPU25との協働によって実行される。   FIG. 2 is a flowchart for explaining the operation of the graph display process. In this graph display process, when an execution instruction for the graph display process is input by the user via the input unit 22, the graph display program 240 is read from the storage unit 24 and appropriately expanded. The program 240 and the CPU 25 are executed in cooperation.

この図に示すように、グラフ表示処理においては、まずCPU25は、ユーザ操作に基づいて変数x、yについての関数(y=f(x))を入力し、数式データ記憶領域243に記憶させる(ステップS1)。   As shown in this figure, in the graph display process, first, the CPU 25 inputs a function (y = f (x)) for variables x and y based on a user operation, and stores them in the mathematical formula data storage area 243 ( Step S1).

次に、CPU25は、ユーザ操作に基づいて、XY座標系の表示範囲(Xmin,Xmax,Ymin,Ymax)をディスプレイ210の表示領域に設定するとともに、表示範囲データ記憶領域242に記憶させる(ステップS2)。なお、このときCPU25は、以前に設定された表示範囲の内容を読み出して再設定することとしても良い。また、このときCPU25は、座標系の表示範囲に加え、座標軸の目盛間隔の設定を行っても良い。   Next, the CPU 25 sets the display range (Xmin, Xmax, Ymin, Ymax) of the XY coordinate system in the display area of the display 210 based on the user operation, and stores it in the display range data storage area 242 (step S2). ). At this time, the CPU 25 may read and reset the contents of the previously set display range. At this time, the CPU 25 may set the scale interval of the coordinate axes in addition to the display range of the coordinate system.

次に、CPU25は、ステップS1で入力された関数のグラフG、より詳細にはステップS2で設定された表示範囲内のグラフGを、ディスプレイ210に表示させる(ステップS3)。なお、本実施の形態においては、このときCPU25は、表示範囲内においてX値をXminからXmaxまでディスプレイ210の1画素分ずつ変化させた値を関数(y=f(x))に代入してY値を算出して、当該関数のグラフGを表示領域に描画するようになっている。また、このとき表示範囲に座標軸が含まれる場合には、座標軸も描画される。以下、グラフに関する「表示内容」とは、関数のグラフGと座標軸を含むものである。   Next, the CPU 25 causes the display 210 to display the graph G of the function input in step S1, more specifically, the graph G within the display range set in step S2 (step S3). In this embodiment, at this time, the CPU 25 substitutes a value obtained by changing the X value for each pixel of the display 210 from Xmin to Xmax in the display range into the function (y = f (x)). The Y value is calculated, and the graph G of the function is drawn in the display area. At this time, if the display range includes coordinate axes, the coordinate axes are also drawn. Hereinafter, the “display content” regarding the graph includes the graph G of the function and the coordinate axes.

次に、CPU25は、座標系及びグラフG内の特徴部分Tを算出し、特徴部分Tの位置情報(座標系内での位置情報、表示領域内での位置情報)を特徴部分データ記憶領域246に一時記憶させる(ステップS4)。   Next, the CPU 25 calculates the feature part T in the coordinate system and the graph G, and uses the feature part data storage area 246 to obtain the position information of the feature part T (position information in the coordinate system, position information in the display area). Is temporarily stored (step S4).

次に、CPU25は、ディスプレイ210がユーザによりタッチされるか否かを判定し(ステップS5)、タッチされないと判定した場合(ステップS5;No)には他の処理へ移行する。   Next, the CPU 25 determines whether or not the display 210 is touched by the user (step S5). When it is determined that the display 210 is not touched (step S5; No), the process proceeds to another process.

また、ステップS5においてディスプレイ210がタッチされたと判定した場合(ステップS5;Yes)には、CPU25は、タッチ位置の座標(表示領域内での位置情報)をタッチ座標記憶領域241に記憶させるとともに、ディスプレイ210が複数点でタッチされているか否か、つまりマルチタッチされているか否かを判定する(ステップS6)。   If it is determined in step S5 that the display 210 is touched (step S5; Yes), the CPU 25 stores the coordinates of the touch position (position information in the display area) in the touch coordinate storage area 241. It is determined whether or not the display 210 is touched at a plurality of points, that is, whether or not it is multi-touched (step S6).

このステップS6においてディスプレイ210がマルチタッチされてはいないと判定した場合(ステップS6;No)には1つの指あるいはペンで操作されたものとし、CPU25は、ドラッグ操作が行われるか否かを判定する(ステップS7)。ここでドラッグとは、画面上で指あるいはペンをゆっくりと横滑りさせるような動作を言う。
If it is determined in step S6 that the display 210 is not multi-touched (step S6; No), it is assumed that the display 210 is operated with one finger or pen, and the CPU 25 determines whether or not a drag operation is performed. (Step S7). Here, dragging refers to an operation of slowly sliding a finger or pen on the screen.

そして、ステップS7においてドラッグ操作が行われたと判定した場合(ステップS7;Yes)には、CPU25は、指あるいはペンの移動に追従して表示内容をスクロールするドラッグ処理を行う(ステップS8)。   If it is determined in step S7 that the drag operation has been performed (step S7; Yes), the CPU 25 performs a drag process for scrolling the display content following the movement of the finger or pen (step S8).

具体的には、図3に示すように、ドラッグ処理においてまずCPU25は、タッチ座標記憶領域241を参照し、ドラッグ操作によるタッチ位置の座標変化量を算出する(ステップT1)。   Specifically, as shown in FIG. 3, in the drag process, the CPU 25 first refers to the touch coordinate storage area 241 and calculates the coordinate change amount of the touch position by the drag operation (step T1).

次に、CPU25は、算出した変化量に従って座標系の表示範囲を表示範囲データ記憶領域242に記憶させるとともにディスプレイ210に再設定し、再設定後の表示範囲内における関数の値を算出して、当該関数のグラフGを表示領域に描画する(ステップT2)。これにより、ドラッグ操作に応じて座標系の表示範囲が変化し、表示内容がスクロールすることとなる。   Next, the CPU 25 stores the display range of the coordinate system in the display range data storage area 242 according to the calculated change amount and resets the display 210, calculates the value of the function within the reset display range, The graph G of the function is drawn in the display area (step T2). As a result, the display range of the coordinate system changes according to the drag operation, and the display content scrolls.

次に、CPU25は、ディスプレイ210に対するタッチが終了したか否かを判定し(ステップT3)、終了していないと判定した場合(ステップT3;No)には上述のステップT1に移行し、タッチ位置の移動に追従した表示内容のスクロール処理を繰り返し実行する。   Next, the CPU 25 determines whether or not the touch on the display 210 has been completed (step T3), and when it is determined that the touch has not ended (step T3; No), the CPU 25 proceeds to the above-described step T1 to determine the touch position. The display content scrolling process following the movement is repeatedly executed.

また、このステップT3においてディスプレイ210に対するタッチが終了したと判定した場合(ステップT3;Yes)には、CPU25は、ドラッグ処理を終了した後、図2に示すように、上述のステップS5に移行する。   If it is determined in step T3 that the touch on the display 210 has ended (step T3; Yes), the CPU 25 ends the drag process and then proceeds to step S5 as shown in FIG. .

また、上述のステップS7においてドラッグ操作が行われないと判定した場合(ステップS7;No)には、CPU25は、スワイプ操作が行われるか否かを判定する(ステップS11)。ここでスワイプとは、画面上で指あるいはペンをサッと素早く横滑りさせるような動作を言う。   If it is determined in step S7 that the drag operation is not performed (step S7; No), the CPU 25 determines whether the swipe operation is performed (step S11). Here, “swipe” refers to an operation of quickly sliding a finger or pen on the screen.

そして、このステップS11においてスワイプ操作が行われないと判定した場合(ステップS11;No)には、CPU25は、他の処理へ移行する一方、スワイプ操作が行われたと判定した場合(ステップS11;Yes)には、スワイプ処理を行う(ステップS12)。   If it is determined in step S11 that the swipe operation is not performed (step S11; No), the CPU 25 proceeds to another process while determining that the swipe operation is performed (step S11; Yes). ) Performs a swipe process (step S12).

具体的には、図4に示すように、スワイプ処理においてまずCPU25は、スワイプ操作の方向(以下、スクロール方向とする)と、スワイプ操作の速さ(以下、スワイプ速度とする)とを算出する(ステップU1)。   Specifically, as shown in FIG. 4, in the swipe process, the CPU 25 first calculates the direction of the swipe operation (hereinafter referred to as the scroll direction) and the speed of the swipe operation (hereinafter referred to as the swipe speed). (Step U1).

次に、CPU25は、座標系及びグラフGにおける特徴部分Tの位置情報を特徴部分データ記憶領域246から読み出し、スクロール方向に慣性スクロールを行う場合に表示領域の中央を横切る特徴部分Tが存在するか否かを判断する(ステップU2)。なお、表示領域の中央とは、表示領域のX方向とY方向の少なくとも一方の中央である。そして、必ずしも表示領域のX方向あるいはY方向の真ん中である必要はなく、表示内容やグラフ表示装置1の状態に応じてある程度の幅をもって定められるものである。   Next, the CPU 25 reads the position information of the feature portion T in the coordinate system and the graph G from the feature portion data storage area 246, and whether there is a feature portion T crossing the center of the display area when performing inertial scrolling in the scroll direction. It is determined whether or not (step U2). The center of the display area is the center of at least one of the X direction and the Y direction of the display area. The display area does not necessarily have to be in the middle of the X direction or the Y direction, and is determined with a certain width according to the display contents and the state of the graph display device 1.

そして、CPU25は、表示領域の中央を横切る特徴部分Tが存在しないと判定した場合(ステップU3;No)には、何の処理も行わない(Nop)。   When the CPU 25 determines that there is no feature portion T that crosses the center of the display area (step U3; No), no processing is performed (Nop).

一方、ステップU3において表示領域の中央を横切る特徴部分Tが存在すると判定した場合(ステップU3;Yes)には、CPU25は、表示領域の中央を最初に横切る特徴部分Tを選定し(ステップU4)、選定された特徴部分Tが表示領域の中央に位置するまでスクロールさせる場合の総移動量(dX,dY)を算出して移動量データ記憶領域244に記憶させる(ステップU5)。   On the other hand, when it is determined in step U3 that there is a feature portion T that crosses the center of the display area (step U3; Yes), the CPU 25 selects the feature portion T that first crosses the center of the display area (step U4). Then, the total movement amount (dX, dY) in the case of scrolling until the selected characteristic portion T is positioned at the center of the display area is calculated and stored in the movement amount data storage area 244 (step U5).

次に、CPU25は、算出した総移動量(dX,dY)とスワイプ速度とから、単位時間当たりの表示範囲(Xmin,Xmax,Ymin,Ymax)の変化量(ΔX,ΔY)を算出して変化量データ記憶領域245に記憶させる(ステップU6)。   Next, the CPU 25 calculates the change amount (ΔX, ΔY) of the display range (Xmin, Xmax, Ymin, Ymax) per unit time from the calculated total movement amount (dX, dY) and the swipe speed. It is stored in the quantity data storage area 245 (step U6).

次に、CPU25は、算出した変化量(ΔX,ΔY)に従って座標系の表示範囲を変更して表示範囲データ記憶領域242に記憶させるとともにディスプレイ210に再設定し、再設定後の表示範囲内における関数の値を算出して、当該関数のグラフGを表示領域に描画する(ステップU7)。これを繰り返すことにより、スワイプ操作に応じて表示内容がスクロール方向に慣性スクロールすることとなる。   Next, the CPU 25 changes the display range of the coordinate system in accordance with the calculated change amount (ΔX, ΔY) and stores it in the display range data storage area 242 and resets it in the display 210, and within the reset display range. The function value is calculated, and the graph G of the function is drawn in the display area (step U7). By repeating this, the display content is inertial scrolled in the scroll direction according to the swipe operation.

次に、CPU25は、移動量データ記憶領域244に記憶された総移動量(dX,dY)だけ表示がスクロールしたか否かを判定し(ステップU8)、スクロールしていないと判定した場合(ステップU8;No)には上述のステップU7に移行する。なお、このときCPU25は、スクロールの速度を一段階、遅くしても良い。   Next, the CPU 25 determines whether or not the display is scrolled by the total movement amount (dX, dY) stored in the movement amount data storage area 244 (step U8), and determines that the display is not scrolled (step S8). In U8; No), the process proceeds to step U7 described above. At this time, the CPU 25 may decrease the scroll speed by one step.

また、ステップU8において移動量データ記憶領域244に記憶された総移動量(dX,dY)だけ表示がスクロールしたと判定した場合(ステップU8;Yes)には、CPU25は、慣性スクロールを停止させ(ステップU9)、スワイプ処理を終了した後、図2に示すように、上述のステップS5に移行する。これにより、慣性スクロールが行われると、特徴部分Tが表示領域の中央に位置するタイミングで当該慣性スクロールが停止することとなる。   If it is determined in step U8 that the display is scrolled by the total movement amount (dX, dY) stored in the movement amount data storage area 244 (step U8; Yes), the CPU 25 stops the inertial scroll ( Step U9) After the swipe process is completed, as shown in FIG. 2, the process proceeds to step S5 described above. As a result, when inertial scrolling is performed, the inertial scrolling is stopped at the timing when the characteristic portion T is located at the center of the display area.

また、上述のステップS6においてディスプレイ210がマルチタッチされていると判定した場合(ステップS6;Yes)には、CPU25は、拡大縮小処理を行う(ステップS21)。   If it is determined in step S6 that the display 210 is multi-touched (step S6; Yes), the CPU 25 performs enlargement / reduction processing (step S21).

具体的には、図5に示すように、拡大縮小処理においてまずCPU25は、タッチが2点で行われているか否かを判定し(ステップV1)、行われていないと判定した場合、つまり3点以上で行われていると判定した場合(ステップV1;No)には、何の処理も行わない(Nop)。   Specifically, as shown in FIG. 5, in the enlargement / reduction processing, the CPU 25 first determines whether or not the touch is performed at two points (step V1), and if it is determined that the touch is not performed, that is, 3 If it is determined that the process is performed at a point or more (step V1; No), no processing is performed (Nop).

また、ステップV1においてタッチが2点で行われていると判定した場合(ステップV1;Yes)には、CPU25は、これら2点でのタッチによって、ピンチイン/ピンチアウトを行うためのドラッグ操作が行われるか否かを判定する(ステップV2)。   If it is determined in step V1 that the touch is performed at two points (step V1; Yes), the CPU 25 performs a drag operation to perform pinch-in / pinch-out by touching at these two points. It is determined whether or not (step V2).

このステップV2において2点タッチによるドラッグ操作が行われたと判定した場合(ステップV2;Yes)には、CPU25は、タッチ座標記憶領域241を参照し、ドラッグ操作による2つのタッチ位置の座標変化量を算出する(ステップV3)。   When it is determined in this step V2 that the drag operation by the two-point touch has been performed (step V2; Yes), the CPU 25 refers to the touch coordinate storage area 241 and determines the coordinate change amount of the two touch positions by the drag operation. Calculate (step V3).

次に、CPU25は、算出した変化量に従って座標系の表示範囲を変更し、ディスプレイ210に再設定し、再設定後の表示範囲内における関数の値を算出して、当該関数のグラフGを表示領域に描画する(ステップV4)。これにより、ドラッグ操作に応じて表示内容が拡大/縮小することとなる。   Next, the CPU 25 changes the display range of the coordinate system according to the calculated change amount, resets the display system 210, calculates the value of the function within the reset display range, and displays the graph G of the function Drawing in the area (step V4). As a result, the display content is enlarged / reduced according to the drag operation.

次に、CPU25は、ディスプレイ210に対するタッチが終了したか否かを判定し(ステップV5)、終了していないと判定した場合(ステップV5;No)には上述のステップV3に移行する。   Next, the CPU 25 determines whether or not the touch on the display 210 has ended (step V5), and when it determines that the touch has not ended (step V5; No), the CPU 25 proceeds to the above step V3.

また、このステップV5においてタッチ操作が終了したと判定した場合(ステップV5;Yes)には、CPU25は、拡大縮小処理を終了した後、図2に示すように、上述のステップS5に移行する。   If it is determined in step V5 that the touch operation has been completed (step V5; Yes), the CPU 25 ends the enlargement / reduction process, and then proceeds to step S5 as shown in FIG.

一方、2点タッチによるドラッグ操作が行われないと判定した場合(ステップV2;No)には、CPU25は、2点でのタッチによるスワイプ操作が行われるか否かを判定する(ステップV11)。   On the other hand, when it is determined that the drag operation by the two-point touch is not performed (step V2; No), the CPU 25 determines whether the swipe operation by the two-point touch is performed (step V11).

このステップV11においてスワイプ操作が行われないと判定した場合、例えば2点でタッチしているが移動がない場合等(ステップV11;No)には、何の処理も行わない(Nop)。   If it is determined in step V11 that the swipe operation is not performed, for example, if the touch is performed at two points but there is no movement (step V11; No), no processing is performed (Nop).

また、ステップV11において2点タッチによるスワイプ操作が行われたと判定した場合(ステップV11;Yes)には、CPU25は、ピンチイン(縮小)を行うスワイプ操作が行われたか否かを判定する(ステップV12)。   If it is determined in step V11 that a two-point swipe operation has been performed (step V11; Yes), the CPU 25 determines whether or not a swipe operation for performing pinch-in (reduction) has been performed (step V12). ).

このステップV12においてピンチインのスワイプ操作が行われたと判定した場合(ステップV12;Yes)には、CPU25は、現時点の座標系の表示範囲(Xmin,Xmax,Ymin,Ymax)に全ての特徴部分Tが含まれているか否かを判断する(ステップV13)。   If it is determined in step V12 that a pinch-in swipe operation has been performed (step V12; Yes), the CPU 25 displays all the characteristic portions T in the current coordinate system display range (Xmin, Xmax, Ymin, Ymax). It is determined whether it is included (step V13).

次に、CPU25は、現時点の座標系の表示範囲に全ての特徴部分Tが含まれているか否かを判定し(ステップV14)、含まれていると判定した場合(ステップV14;Yes)には、スワイプ操作に対して何も行わない。   Next, the CPU 25 determines whether or not all the characteristic portions T are included in the display range of the current coordinate system (step V14), and when it is determined that they are included (step V14; Yes). , Do nothing for swipe operation.

また、ステップV14において現時点の座標系の表示範囲に全ての特徴部分Tが含まれてはいないと判定した場合(ステップV14;No)には、CPU25は、現時点の表示範囲(Xmin,Xmax,Ymin,Ymax)よりも大きく、かつ、全ての特徴部分Tが表示領域の外周縁よりも内側の所定領域に収まるような表示範囲(Xmin,Xmax,Ymin,Ymax)を、目標表示範囲として算出する(ステップV15)。   On the other hand, if it is determined in step V14 that all the characteristic portions T are not included in the display range of the current coordinate system (step V14; No), the CPU 25 displays the current display range (Xmin, Xmax, Ymin). , Ymax) and a display range (Xmin, Xmax, Ymin, Ymax) in which all the characteristic portions T are within a predetermined area inside the outer peripheral edge of the display area is calculated as a target display range ( Step V15).

次に、CPU25は、スワイプ速度を算出し、その速度と、現時点の表示範囲と、目標表示範囲とに基づいて、単位時間当たりの表示範囲の変化量を算出し、変化量データ記憶領域245に記憶させる(ステップV16)。   Next, the CPU 25 calculates the swipe speed, calculates the change amount of the display range per unit time based on the speed, the current display range, and the target display range, and stores it in the change amount data storage area 245. Store (step V16).

次に、CPU25は、算出した変化量に従って座標系の表示範囲を変化させ、表示範囲データ記憶領域242に記憶させるとともにディスプレイ210に再設定し、再設定後の表示範囲内における関数の値を算出して、当該関数のグラフGを表示領域に描画する(ステップV17)。これにより、スワイプ操作に応じて、座標系の表示範囲が自動的に順次拡大され、慣性が作用するように表示内容が縮小されることとなる。   Next, the CPU 25 changes the display range of the coordinate system in accordance with the calculated change amount, stores it in the display range data storage area 242, and resets it on the display 210, and calculates the value of the function within the reset display range. Then, the graph G of the function is drawn in the display area (step V17). Accordingly, the display range of the coordinate system is automatically and sequentially expanded in accordance with the swipe operation, and the display content is reduced so that inertia acts.

次に、CPU25は、現時点の表示範囲と、目標表示範囲とが一致したか否か、つまり目標表示範囲まで表示範囲が拡大(表示内容が縮小)されたか否かを判定し(ステップV18)、現時点の表示範囲と、目標表示範囲とが一致していないと判定した場合(ステップV18;No)には上述のステップV17に移行する。   Next, the CPU 25 determines whether or not the current display range matches the target display range, that is, whether or not the display range has been expanded to the target display range (the display content has been reduced) (step V18). If it is determined that the current display range does not match the target display range (step V18; No), the process proceeds to step V17 described above.

また、ステップV18において現時点の表示範囲と、目標表示範囲とが一致したと判定した場合(ステップV18;Yes)には、CPU25は、座標系の表示範囲の自動縮小を停止させ(ステップV19)、拡大縮小処理を終了した後、図2に示すように、上述のステップS5に移行する。   If it is determined in step V18 that the current display range matches the target display range (step V18; Yes), the CPU 25 stops the automatic reduction of the coordinate system display range (step V19). After the enlargement / reduction process is completed, the process proceeds to step S5 described above as shown in FIG.

また、図5に示すように、上述のステップV12においてピンチイン(縮小)のスワイプ操作が行われていないと判定した場合(ステップV12;No)には、CPU25は、ピンチアウト(拡大)のスワイプ操作が行われたか否かを判定する(ステップV21)。   As shown in FIG. 5, when it is determined that the pinch-in (reduction) swipe operation is not performed in step V12 described above (step V12; No), the CPU 25 performs the pinch-out (enlargement) swipe operation. Is determined (step V21).

このステップV21においてピンチアウトのスワイプ操作が行われていないと判定した場合(ステップV21;No)には、CPU25は、スワイプ操作に対しては、何も行わない。   If it is determined in step V21 that the pinch-out swipe operation has not been performed (step V21; No), the CPU 25 does nothing for the swipe operation.

また、ステップV21においてピンチアウトのスワイプ操作が行われたと判定した場合(ステップV21;Yes)には、CPU25は、表示領域の外周縁よりも内側の所定領域に全ての特徴部分Tが含まれているか否かを判断する(ステップV22)。   If it is determined in step V21 that a pinch-out swipe operation has been performed (step V21; Yes), the CPU 25 includes all the characteristic portions T in a predetermined area inside the outer peripheral edge of the display area. It is determined whether or not there is (step V22).

次に、CPU25は、表示領域の外周縁よりも内側の所定領域に全ての特徴部分Tが含まれているか否かを判定し(ステップV23)、含まれていないと判定した場合(ステップV23;No)には、スワイプ操作に対する処理は何も行わない。   Next, the CPU 25 determines whether or not all the characteristic portions T are included in a predetermined area inside the outer peripheral edge of the display area (step V23), and determines that it is not included (step V23; No), no processing is performed for the swipe operation.

また、ステップV23において表示領域の外周縁よりも内側の所定領域に全ての特徴部分Tが含まれていると判定した場合(ステップV23;Yes)には、CPU25は、現時点の表示範囲(Xmin,Xmax,Ymin,Ymax)よりも小さく、かつ、全ての特徴部分Tが表示領域の外周縁よりも内側の所定領域に収まるような表示範囲(Xmin,Xmax,Ymin,Ymax)を、目標表示範囲として算出する(ステップV24)。   If it is determined in step V23 that all the characteristic portions T are included in the predetermined area inside the outer periphery of the display area (step V23; Yes), the CPU 25 displays the current display range (Xmin, A display range (Xmin, Xmax, Ymin, Ymax) that is smaller than (Xmax, Ymin, Ymax) and within which all the characteristic portions T fall within a predetermined region inside the outer peripheral edge of the display region is set as the target display range. Calculate (step V24).

次に、CPU25は、スワイプ速度を算出し、その速度と、現時点の表示範囲と、目標表示範囲とに基づいて、単位時間当たりの表示範囲の変化量を算出し、変化量データ記憶領域245に記憶させる(ステップV25)。   Next, the CPU 25 calculates the swipe speed, calculates the change amount of the display range per unit time based on the speed, the current display range, and the target display range, and stores it in the change amount data storage area 245. Store (step V25).

次に、CPU25は、算出した変化量に従って座標系の表示範囲を変更し、表示範囲データ記憶領域242に記憶させるとともにディスプレイ210に再設定し、再設定後の表示範囲内における関数の値を算出して、当該関数のグラフGを表示領域に描画する(ステップV26)。これにより、スワイプ操作に応じて、座標系の表示範囲が自動的に順次縮小され、慣性が作用するように表示内容が拡大されることとなる。   Next, the CPU 25 changes the display range of the coordinate system in accordance with the calculated change amount, stores it in the display range data storage area 242 and resets it on the display 210, and calculates the value of the function within the reset display range. Then, the graph G of the function is drawn in the display area (step V26). Accordingly, the display range of the coordinate system is automatically and sequentially reduced in accordance with the swipe operation, and the display content is enlarged so that inertia acts.

次に、CPU25は、現時点の表示範囲と、目標表示範囲とが一致したか否か、つまり目標表示範囲まで表示範囲が縮小(表示内容が拡大)されたか否かを判定し(ステップV27)、現時点の表示範囲と、目標表示範囲とが一致していないと判定した場合(ステップV27;No)には上述のステップV26に移行する。   Next, the CPU 25 determines whether or not the current display range matches the target display range, that is, whether or not the display range has been reduced to the target display range (the display content has been enlarged) (step V27). If it is determined that the current display range does not match the target display range (step V27; No), the process proceeds to step V26 described above.

また、ステップV27において現時点の表示範囲と、目標表示範囲とが一致したと判定した場合(ステップV27;Yes)には、CPU25は、座標系の表示範囲の自動拡大を停止させ(ステップV28)、拡大縮小処理を終了した後、図2に示すように、上述のステップS5に移行する。   If it is determined in step V27 that the current display range matches the target display range (step V27; Yes), the CPU 25 stops the automatic expansion of the display range of the coordinate system (step V28). After the enlargement / reduction process is completed, the process proceeds to step S5 described above as shown in FIG.

[動作例]
続いて、図面を参照しつつ、上述したグラフ表示装置1の動作を具体的に説明する。
[Operation example]
Next, the operation of the graph display device 1 described above will be specifically described with reference to the drawings.

(動作例(1))
まず、ユーザが関数「y=x2−2」を入力し(ステップS1)、XY座標系の表示範囲「Xmin=−1,Xmax=11,Ymin=−2,Ymax=8」をディスプレイ210の表示領域に設定させると(ステップS2)、図6(a)に示すように、当該表示範囲内での関数「y=x2−2」のグラフGがディスプレイ210に表示される(ステップS3)。
(Operation example (1))
First, the user inputs the function “y = x2-2” (step S1), and the display range “Xmin = −1, Xmax = 11, Ymin = −2, Ymax = 8” of the XY coordinate system is displayed on the display 210. When the region is set (step S2), the graph G of the function “y = x2-2” within the display range is displayed on the display 210 as shown in FIG. 6A (step S3).

次に、ユーザが右方向にスワイプ操作を行うと(ステップS11;Yes)、スクロール方向が「右方向」として算出され、スワイプ速度が算出される(ステップU1)。   Next, when the user performs a swipe operation in the right direction (step S11; Yes), the scroll direction is calculated as “right direction”, and the swipe speed is calculated (step U1).

次に、スクロール方向(右方向)に慣性スクロールを行う場合に表示領域の中央を横切る特徴部分Tが存在すると判定され(ステップU3;Yes)、表示領域の中央を最初に横切る特徴部分T(ここではY軸)が選定される(ステップU4)。   Next, when inertial scrolling is performed in the scroll direction (rightward direction), it is determined that there is a feature portion T that crosses the center of the display region (step U3; Yes), and the feature portion T that first crosses the center of the display region (here) Then, the Y axis) is selected (step U4).

次に、選定された特徴部分T(Y軸)が表示領域の中央に位置するまで表示内容をスクロールさせる場合の総移動量(dX,dY)が算出されるとともに(ステップU5)、単位時間当たりの表示範囲の変化量(ΔX,ΔY)が算出される(ステップU6)。   Next, the total movement amount (dX, dY) when the display content is scrolled until the selected feature portion T (Y axis) is located at the center of the display area is calculated (step U5), and per unit time. The amount of change (ΔX, ΔY) of the display range is calculated (step U6).

次に、図6(b)に示すように、算出した変化量(ΔX,ΔY)に従って座標系の表示範囲が再設定され、再設定後の表示範囲内における関数の値が算出されて、当該関数のグラフGが表示領域に描画される(ステップU7)。この処理が繰り返されることにより、表示内容がスクロール方向(右方向)に慣性スクロールする。   Next, as shown in FIG. 6B, the display range of the coordinate system is reset according to the calculated change amounts (ΔX, ΔY), and the value of the function within the display range after the resetting is calculated. The function graph G is drawn in the display area (step U7). By repeating this process, the display content is inertial scrolled in the scroll direction (right direction).

そして、総移動量(dX,dY)だけ表示内容がスクロールしたと判定されると(ステップU8;Yes)、図6(c)に示すように、慣性スクロールが停止する(ステップU9)。これにより、特徴部分T(Y軸)が表示領域の中央に位置するタイミングで慣性スクロールが停止する。   If it is determined that the display content has been scrolled by the total movement amount (dX, dY) (step U8; Yes), inertial scrolling is stopped as shown in FIG. 6C (step U9). Thereby, inertial scrolling stops at the timing when the characteristic portion T (Y axis) is located at the center of the display area.

(動作例(2))
例えば、ユーザが関数「y=−0.5x3+2x2+5」を入力し(ステップS1)、XY座標系の表示範囲「Xmin=−16,Xmax=−2,Ymin=−16,Ymax=−2」をディスプレイ210の表示領域に設定したとする(ステップS2)。この場合、グラフと表示範囲の関係は図7(a)に示すようになる。波線枠で示す範囲が表示範囲である。
(Operation example (2))
For example, the user inputs the function “y = −0.5 × 3 + 2 × 2 + 5” (step S1), and displays the display range “Xmin = −16, Xmax = −2, Ymin = −16, Ymax = −2” in the XY coordinate system. Assume that the display area 210 is set (step S2). In this case, the relationship between the graph and the display range is as shown in FIG. The range indicated by the wavy frame is the display range.

CPU25は、表示範囲「Xmin=−16,Xmax=−2,Ymin=−16,Ymax=−2」内での関数「y=−0.5x3+2x2+5」のグラフGをディスプレイ210に表示させるが、このとき表示範囲内にはグラフGが存在しないため、図7(b)に示すように、ディスプレイ210にグラフGは表示されない。また、表示範囲内にはX軸、Y軸が含まれないため、ディスプレイ210の表示領域のうち、X軸、Y軸の存在する側の縁部には、座標目盛が表示される。   The CPU 25 displays the graph G of the function “y = −0.5 × 3 + 2 × 2 + 5” in the display range “Xmin = −16, Xmax = −2, Ymin = −16, Ymax = −2” on the display 210. Since the graph G does not exist in the display range, the graph G is not displayed on the display 210 as shown in FIG. In addition, since the display range does not include the X axis and the Y axis, a coordinate scale is displayed on the edge of the display area of the display 210 where the X axis and the Y axis exist.

次に、ユーザが右上方向にスワイプ操作を行うと(ステップS11;Yes)、スクロール方向が「右上方向」として算出され、スワイプ速度が算出される(ステップU1)。   Next, when the user performs a swipe operation in the upper right direction (step S11; Yes), the scroll direction is calculated as “upper right direction”, and the swipe speed is calculated (step U1).

次に、スクロール方向(右上方向)に慣性スクロールを行う場合に表示領域の中央を横切る特徴部分Tが存在すると判定され(ステップU3;Yes)、表示領域の中央を最初に横切る特徴部分T(ここではY軸)が選定される(ステップU4)。   Next, when inertial scrolling is performed in the scroll direction (upper right direction), it is determined that there is a feature portion T that crosses the center of the display region (step U3; Yes), and the feature portion T that first crosses the center of the display region (here) Then, the Y axis) is selected (step U4).

次に、選定された特徴部分T(Y軸)が表示領域の中央に位置するまで座標系の表示内容をスクロールさせる場合の総移動量(dX,dY)が算出されるとともに(ステップU5)、単位時間当たりの表示範囲の変化量(ΔX,ΔY)が算出される(ステップU6)。   Next, the total movement amount (dX, dY) in the case of scrolling the display contents of the coordinate system until the selected feature portion T (Y axis) is located at the center of the display area is calculated (step U5). A change amount (ΔX, ΔY) of the display range per unit time is calculated (step U6).

次に、算出した変化量(ΔX,ΔY)に従って座標系の表示範囲が変更されて、再設定され、再設定後の表示範囲内における関数「y=−0.5x3+2x2+5」の値が算出されて、当該関数のグラフGが表示領域に描画される(ステップU7)。この処理が繰り返されることにより、座標系の表示範囲がスクロール方向(右上方向)に慣性スクロールする。   Next, the display range of the coordinate system is changed and reset according to the calculated change amount (ΔX, ΔY), and the value of the function “y = −0.5 × 3 + 2 × 2 + 5” within the display range after the reset is calculated. The graph G of the function is drawn in the display area (step U7). By repeating this process, the display range of the coordinate system is inertial scrolled in the scroll direction (upper right direction).

そして、総移動量(dX,dY)だけ表示がスクロールしたと判定されると(ステップU8;Yes)、図7(c)に示すように、慣性スクロールが停止する(ステップU9)。これにより、特徴部分T(Y軸)が表示領域の中央に位置するタイミングで慣性スクロールが停止する。   When it is determined that the display has scrolled by the total movement amount (dX, dY) (step U8; Yes), inertial scrolling is stopped as shown in FIG. 7C (step U9). Thereby, inertial scrolling stops at the timing when the characteristic portion T (Y axis) is located at the center of the display area.

次に、ユーザがピンチインのスワイプ操作を行うと(ステップV12;Yes)、現時点の座標系の表示範囲「Xmin=−7,Xmax=7,Ymin=−7,Ymax=7」に全ての特徴部分Tが含まれてはいないと判定され(ステップV14;No)、現時点の表示範囲よりも大きく、かつ、全ての特徴部分Tが表示領域の外周縁よりも内側の所定領域に収まるような表示範囲「Xmin=−3,Xmax=7,Ymin=−3,Ymax=11」が、目標表示範囲として算出される(ステップV15)。   Next, when the user performs a pinch-in swipe operation (step V12; Yes), all the characteristic portions are displayed in the current coordinate system display range “Xmin = −7, Xmax = 7, Ymin = −7, Ymax = 7”. It is determined that T is not included (step V14; No), and the display range is larger than the current display range, and all the characteristic portions T fall within a predetermined area inside the outer periphery of the display area. “Xmin = −3, Xmax = 7, Ymin = −3, Ymax = 11” is calculated as the target display range (step V15).

次に、スワイプ速度と、単位時間当たりの表示範囲の変化量とが算出され(ステップV16)、算出された変化量に従って座標系の表示範囲が再設定され、再設定後の表示範囲内における関数「y=−0.5x3+2x2+5」の値が算出されて、当該関数のグラフGが表示領域に描画される(ステップV17)。この処理が繰り返されることにより、座標系の表示範囲が自動的に順次拡大され、慣性が作用するように表示内容が縮小される。   Next, the swipe speed and the change amount of the display range per unit time are calculated (step V16), the display range of the coordinate system is reset according to the calculated change amount, and the function within the display range after the resetting is performed. A value of “y = −0.5 × 3 + 2 × 2 + 5” is calculated, and the graph G of the function is drawn in the display area (step V17). By repeating this process, the display range of the coordinate system is automatically and sequentially expanded, and the display content is reduced so that inertia acts.

そして、現時点の表示範囲と、目標表示範囲とが一致した、つまり目標表示範囲まで表示範囲が拡大(表示内容が縮小)されたと判定されると(ステップV18;Yes)、座標系の表示範囲の自動縮小が停止される(ステップV19)。これにより、全ての特徴部分Tが表示されるタイミングで自動縮小が停止する。   When it is determined that the current display range matches the target display range, that is, the display range is expanded to the target display range (display content is reduced) (step V18; Yes), the display range of the coordinate system is displayed. Automatic reduction is stopped (step V19). Thereby, automatic reduction stops at the timing when all the characteristic portions T are displayed.

以上、本実施の形態によれば、図4や,図6,図7等に示したように、ユーザ操作に応じて座標系の表示内容がスクロール方向に慣性スクロールされ、座標系及びグラフGにおける特徴部分Tが表示領域の中央に位置するタイミングで当該慣性スクロールが停止するので、座標系の表示を慣性スクロールさせる場合に、適切な位置でスクロールを止めることができる。従って、従来と比較して、座標系の表示内容を慣性スクロールさせるときの手間を軽減することができる。   As described above, according to the present embodiment, as shown in FIG. 4, FIG. 6, FIG. 7, and the like, the display content of the coordinate system is inertial scrolled in the scroll direction according to the user operation. Since the inertial scroll is stopped at the timing when the characteristic portion T is located in the center of the display area, the scrolling can be stopped at an appropriate position when the inertial scroll is performed on the display of the coordinate system. Therefore, it is possible to reduce time and labor when inertial scrolling the display contents of the coordinate system as compared with the prior art.

<変形例>
続いて、上記の実施形態におけるグラフ表示装置1の変形例について説明する。なお、上記実施形態と同様の構成要素には同一の符号を付し、その説明を省略する。
<Modification>
Then, the modification of the graph display apparatus 1 in said embodiment is demonstrated. In addition, the same code | symbol is attached | subjected to the component similar to the said embodiment, and the description is abbreviate | omitted.

[構成] [Constitution]

上述の図1に示すように、本変形例におけるグラフ表示装置1Aは、記憶部24Aを備えており、この記憶部24Aは、本発明に係るグラフ表示プログラム240Aを記憶している。   As shown in FIG. 1 described above, the graph display device 1A in the present modification includes a storage unit 24A, and the storage unit 24A stores a graph display program 240A according to the present invention.

グラフ表示プログラム240Aは、上述の図2に示すグラフ表示処理をCPU25に実行させるためのプログラムであり、当該グラフ表示処理におけるステップS12の処理において、図3に示したスワイプ処理の代わりに、後述の図8に示すスワイプ処理をCPU25に行わせるようになっている。   The graph display program 240A is a program for causing the CPU 25 to execute the graph display process shown in FIG. 2 described above. In the process of step S12 in the graph display process, instead of the swipe process shown in FIG. The CPU 25 is made to perform the swipe process shown in FIG.

[動作]
続いて、グラフ表示装置1Aによって実行されるスワイプ処理について、図面を参照しつつ説明する。
[Operation]
Next, the swipe process executed by the graph display device 1A will be described with reference to the drawings.

図8は、スワイプ処理の動作を説明するためのフローチャートである。
この図に示すように、本変形例のスワイプ処理においてまずCPU25は、スワイプ操作の方向(以下、スクロール方向とする)と、スワイプ操作の速さ(以下、スワイプ速度とする)とを算出する(ステップU21)。
FIG. 8 is a flowchart for explaining the operation of the swipe process.
As shown in this figure, in the swipe process of this modification, the CPU 25 first calculates the direction of the swipe operation (hereinafter referred to as the scroll direction) and the speed of the swipe operation (hereinafter referred to as the swipe speed) ( Step U21).

次に、CPU25は、スクロール方向に所定の角度幅(例えば30度)を持たせ、このような角度幅を有するスクロール方向のうち、何れかの方向に慣性スクロールを行う場合に表示領域の中央を横切る特徴部分Tが存在するか否かを判断する(ステップU22)。なお、このステップU22から後述のステップU22までの処理においてCPU25は、特徴部分Tとして、グラフGの特徴点(例えば変曲点等)を用いるようになっている。但し、グラフGの特徴点に加え、原点を特徴部分Tとして用いることとしても良い。   Next, the CPU 25 gives a predetermined angular width (for example, 30 degrees) in the scroll direction, and the center of the display area is set when the inertial scroll is performed in any one of the scroll directions having such an angular width. It is determined whether or not a traversing feature portion T exists (step U22). In the processing from step U22 to step U22 described later, the CPU 25 uses a feature point (for example, an inflection point) of the graph G as the feature portion T. However, in addition to the feature points of the graph G, the origin may be used as the feature portion T.

次に、CPU25は、表示領域の中央を横切る特徴部分Tが存在するか否かを判定し(ステップU23)、存在しないと判定した場合(ステップU23;No)には、上述のステップU2〜U9の処理を行った後、スワイプ処理を終了する。   Next, the CPU 25 determines whether or not there is a feature portion T that crosses the center of the display area (step U23). If it is determined that the feature portion T does not exist (step U23; No), the above-described steps U2 to U9 are performed. After performing the above process, the swipe process is terminated.

また、ステップU23において表示領域の中央を横切る特徴部分Tが存在すると判定した場合(ステップU23;Yes)には、CPU25は、座標系及びグラフGにおける特徴部分T(ここではグラフGの特徴点)のうち、中央を横切ると判断された特徴部分Tのうち、表示画面の中心に最も近い特徴部分Tの位置を目標点として設定するとともに、目標点から表示画面の中心に向う方向をスクロール方向として設定し直す(ステップU24)。これにより、慣性スクロールによって特徴部分Tが表示領域の中央に移動するよう、スクロール方向が設定されることとなる。   If it is determined in step U23 that there is a feature portion T that crosses the center of the display area (step U23; Yes), the CPU 25 determines the feature portion T in the coordinate system and the graph G (here, the feature points of the graph G). Among the feature portions T determined to cross the center, the position of the feature portion T closest to the center of the display screen is set as the target point, and the direction from the target point toward the center of the display screen is set as the scroll direction. Re-set (step U24). Accordingly, the scroll direction is set so that the characteristic portion T moves to the center of the display area by inertial scroll.

次に、CPU25は、目標点が表示領域の中央に位置するまで座標系の表示範囲(Xmin,Xmax,Ymin,Ymax)をスクロールさせる場合の総移動量(dX,dY)を算出し、移動量データ記憶領域244に記憶させる(ステップU25)。   Next, the CPU 25 calculates the total movement amount (dX, dY) when scrolling the display range (Xmin, Xmax, Ymin, Ymax) of the coordinate system until the target point is located at the center of the display area. The data is stored in the data storage area 244 (step U25).

次に、CPU25は、算出した総移動量(dX,dY)とスワイプ速度とから、単位時間当たりの表示範囲(Xmin,Xmax,Ymin,Ymax)の変化量(ΔX,ΔY)を算出して変化量データ記憶領域245に記憶させる(ステップU26)。   Next, the CPU 25 calculates the change amount (ΔX, ΔY) of the display range (Xmin, Xmax, Ymin, Ymax) per unit time from the calculated total movement amount (dX, dY) and the swipe speed. The data is stored in the quantity data storage area 245 (step U26).

次に、CPU25は、算出した変化量(ΔX,ΔY)に従って座標系の表示範囲を変化させ、ディスプレイ210に再設定し、再設定後の表示範囲内における関数の値を算出して、当該関数のグラフGを表示領域に描画する(ステップU27)。これにより、スワイプ操作に応じてグラフがスクロール方向に慣性スクロールすることとなる。   Next, the CPU 25 changes the display range of the coordinate system in accordance with the calculated change amount (ΔX, ΔY), resets the display system 210, calculates the function value within the reset display range, and calculates the function. Is drawn in the display area (step U27). As a result, the graph is inertial scrolled in the scroll direction according to the swipe operation.

次に、CPU25は、移動量データ記憶領域244に記憶された総移動量(dX,dY)だけ表示がスクロールしたか否か、つまり目標点の特徴部分Tが表示領域の中央に移動したか否かを判定し(ステップU28)、スクロールしていないと判定した場合(ステップU28;No)には上述のステップU27に移行する。なお、このときCPU25は、スクロールの速度を一段階、遅くしても良い。   Next, the CPU 25 determines whether or not the display has been scrolled by the total movement amount (dX, dY) stored in the movement amount data storage area 244, that is, whether or not the feature portion T of the target point has moved to the center of the display area. If it is determined (step U28) that it is not scrolling (step U28; No), the process proceeds to step U27 described above. At this time, the CPU 25 may decrease the scroll speed by one step.

また、ステップU28において移動量データ記憶領域244に記憶された総移動量(dX,dY)だけ表示がスクロールしたと判定した場合(ステップU28;Yes)には、CPU25は、慣性スクロールを停止させ(ステップU29)、スワイプ処理を終了する。これにより、慣性スクロールが行われると、特徴部分Tが表示領域の中央に位置するタイミングで慣性スクロールが停止することとなる。   If it is determined in step U28 that the display has been scrolled by the total movement amount (dX, dY) stored in the movement amount data storage area 244 (step U28; Yes), the CPU 25 stops the inertial scroll ( Step U29), the swipe process is terminated. As a result, when inertial scrolling is performed, the inertial scrolling is stopped at the timing when the characteristic portion T is located at the center of the display area.

[動作例]
続いて、図面を参照しつつ、上述したグラフ表示装置1Aの動作を具体的に説明する。
[Operation example]
Next, the operation of the above-described graph display device 1A will be specifically described with reference to the drawings.

まず、ユーザが関数「y=x2−2」を入力し(ステップS1)、XY座標系の表示範囲「Xmin=−3,Xmax=10,Ymin=−1,Ymax=6」をディスプレイ210の表示領域に設定させると(ステップS2)、図9(a)に示すように、当該表示範囲内での関数「y=x2−2」のグラフGがディスプレイ210に表示される(ステップS3)。   First, the user inputs the function “y = x2-2” (step S1), and the display range “Xmin = −3, Xmax = 10, Ymin = −1, Ymax = 6” of the XY coordinate system is displayed on the display 210. When the region is set (step S2), a graph G of the function “y = x2-2” within the display range is displayed on the display 210 as shown in FIG. 9A (step S3).

次に、ユーザが右上方向にスワイプ操作を行うと(ステップS11;Yes)、スクロール方向が「右上方向」として算出され、スワイプ速度が算出される(ステップU21)。   Next, when the user performs a swipe operation in the upper right direction (step S11; Yes), the scroll direction is calculated as “upper right direction”, and the swipe speed is calculated (step U21).

次に、所定の角度幅を持たせたスクロール方向の何れかに慣性スクロールを行う場合に表示領域の中央を横切る特徴部分T(ここではグラフGの変曲点など)が存在すると判定され(ステップU23;Yes)、特徴部分T(ここではグラフGの変曲点)の位置が目標点として設定されるとともに、目標点から画面中心に向う方向(ここでは右上方向)がスクロール方向として設定される(ステップU24)。これにより、慣性スクロールによって特徴部分T(グラフGの変曲点)が表示領域の中央に移動するよう、スクロール方向が設定される。   Next, when inertial scrolling is performed in any of the scroll directions having a predetermined angular width, it is determined that there is a characteristic portion T (here, an inflection point of the graph G) crossing the center of the display area (step U23; Yes), the position of the characteristic portion T (here, the inflection point of the graph G) is set as the target point, and the direction from the target point toward the center of the screen (here, the upper right direction) is set as the scroll direction. (Step U24). Thus, the scroll direction is set so that the characteristic portion T (inflection point of the graph G) moves to the center of the display area by inertial scrolling.

次に、目標点が表示領域の中央に位置するまで座標系の表示範囲(Xmin,Xmax,Ymin,Ymax)をスクロールさせる場合の総移動量(dX,dY)が算出されるとともに(ステップU25)、単位時間当たりの表示範囲の変化量(ΔX,ΔY)が算出される(ステップU26)。   Next, the total movement amount (dX, dY) when the display range (Xmin, Xmax, Ymin, Ymax) of the coordinate system is scrolled until the target point is located at the center of the display area is calculated (step U25). Then, the change amount (ΔX, ΔY) of the display range per unit time is calculated (step U26).

次に、図9(b)に示すように、算出した変化量(ΔX,ΔY)に従って座標系の表示範囲が再設定され、再設定後の表示範囲内における関数「y=x2−2」の値が算出されて、当該関数のグラフGが表示領域に描画される(ステップU27)。この処理が繰り返されることにより、座標系の表示範囲がスクロール方向(右上方向)に慣性スクロールする。   Next, as shown in FIG. 9B, the display range of the coordinate system is reset according to the calculated change amounts (ΔX, ΔY), and the function “y = x2-2” in the display range after the resetting is reset. The value is calculated, and the graph G of the function is drawn in the display area (step U27). By repeating this process, the display range of the coordinate system is inertial scrolled in the scroll direction (upper right direction).

そして、総移動量(dX,dY)だけ表示範囲がスクロールしたと判定されると(ステップU28;Yes)、図9(c)に示すように、座標系の表示範囲の慣性スクロールが停止する(ステップU29)。これにより、特徴部分T(グラフGの変曲点)が表示領域の中央に位置するタイミングで慣性スクロールが停止する。   When it is determined that the display range has been scrolled by the total movement amount (dX, dY) (step U28; Yes), as shown in FIG. 9C, inertial scrolling of the display range of the coordinate system stops ( Step U29). As a result, the inertial scrolling stops at the timing when the characteristic portion T (inflection point of the graph G) is located at the center of the display area.

以上、本変形例によれば、上記実施形態におけるグラフ表示装置1と同様の作用効果を得ることができるのは勿論のこと、図8のステップU22や図9等に示したように、慣性スクロールによって特徴部分Tが表示領域の中央に移動するようスクロール方向が設定されるので、スクロール方向を正確に設定しなくても、適切な位置でスクロールを止めることができる。従って、スクロール方向を正確に設定する必要がない分、座標系の表示範囲を慣性スクロールさせるときの手間をいっそう軽減することができる。   As described above, according to this modification, the same effects as those of the graph display device 1 in the above embodiment can be obtained, and as shown in step U22 of FIG. 8, FIG. Thus, the scroll direction is set so that the characteristic portion T moves to the center of the display area, so that the scroll can be stopped at an appropriate position without setting the scroll direction accurately. Therefore, since it is not necessary to set the scroll direction accurately, it is possible to further reduce the labor for inertial scrolling of the display range of the coordinate system.

なお、上記の実施の形態におけるグラフ表示装置1の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱しない範囲で適宜変更可能であることは勿論である。   It should be noted that the detailed configuration and detailed operation of each component of the graph display device 1 in the above embodiment can be appropriately changed without departing from the spirit of the present invention.

例えば、本発明に係るグラフ表示装置は、関数電卓、電子辞書、携帯電話、パソコン、PDA(Personal Digital Assistant)、ゲーム機などの電子機器全般に適用可能である。また、本発明に係るグラフ表示プログラム240は、グラフ表示装置1に対して着脱可能なメモリカード、CD等に記憶されることとしてもよい。   For example, the graph display device according to the present invention can be applied to electronic devices such as scientific calculators, electronic dictionaries, mobile phones, personal computers, PDAs (Personal Digital Assistants), and game machines. Further, the graph display program 240 according to the present invention may be stored in a memory card, a CD, or the like that is detachable from the graph display device 1.

また、座標系の座標軸をX軸、Y軸として説明したが、他の座標軸名としても良い。また、座標系を直交座標系として説明したが、斜交座標系や極座標系など、他の種類の座標系としても良い。また、座標系を2次元として説明したが、図10(a)に示すように、3次元としても良い。この場合には、図10(a),(b)に示すように、スワイプ操作によって、慣性が作用するように座標系の表示内容を原点を中心にして自動的に回転させるようにして、何れかの座標軸が縦(垂直)方向または横(水平)方向に合致するタイミングで当該自動回転を停止させるようにすることが好ましい。   In addition, although the coordinate axes of the coordinate system have been described as the X axis and the Y axis, other coordinate axis names may be used. Further, although the coordinate system has been described as an orthogonal coordinate system, other types of coordinate systems such as an oblique coordinate system and a polar coordinate system may be used. Further, although the coordinate system has been described as two-dimensional, it may be three-dimensional as shown in FIG. In this case, as shown in FIGS. 10 (a) and 10 (b), the display contents of the coordinate system are automatically rotated around the origin so that inertia acts by swiping operation. It is preferable to stop the automatic rotation at the timing when the coordinate axis matches the vertical (vertical) direction or the horizontal (horizontal) direction.

また、図4、図8を用いて説明したスワイプ処理においては、特徴部分Tが表示領域の中央に位置するタイミング(総移動量だけスクロールしたタイミング)で慣性スクロールを停止させることとして説明したが、このタイミングでの慣性スクロールの速度が所定速度以下の場合にのみ慣性スクロールを停止させることとしても良い。この場合には、ユーザがスワイプ速度を大きくすることにより、特徴部分Tが中央に位置したときにも慣性スクロールを停止させずに継続させることができるため、ユーザがスクロールの自動停止を期待していない場合に勝手にスクロールが停止してしまうのを防止することができる。
さらに、上記実施形態ではスクロールの前に移動する量を決定していたが、表示内容をスクロールさせながら特徴部分が中央に位置するかを判断し、中央に位置したと判断したタイミングで慣性スクロールを停止するようにしてもよい。
In the swipe process described with reference to FIGS. 4 and 8, the inertial scroll is stopped at the timing when the feature portion T is located at the center of the display area (the timing when the feature portion is scrolled by the total movement amount). The inertial scroll may be stopped only when the inertial scroll speed at this timing is equal to or lower than a predetermined speed. In this case, since the user can increase the swipe speed, the inertial scroll can be continued without stopping even when the characteristic portion T is located at the center, and therefore the user expects the automatic stop of the scroll. It is possible to prevent scrolling from being stopped without permission.
Further, in the above embodiment, the amount of movement is determined before scrolling. However, while scrolling the display content, it is determined whether the feature portion is located at the center, and inertial scrolling is performed at the timing when it is determined that the feature portion is located at the center. You may make it stop.

以上、本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。   As mentioned above, although several embodiment of this invention was described, the scope of the present invention is not limited to the above-mentioned embodiment, The range of the invention described in the claim, and its equivalent range Including.

以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
〔付記〕
<請求項1>
表示手段と、
前記表示手段の表示領域に座標系を設定し、関数のグラフを表示させるグラフ表示制御手段と、
ユーザ操作に応じてスクロール方向を設定するスクロール方向設定手段と、
前記表示されたグラフを前記スクロール方向に慣性スクロールさせ、前記座標系及び前記グラフの少なくとも一方における特徴部分が表示領域の中央に位置するタイミングで当該慣性スクロールを停止させるスクロール制御手段と、
を備えることを特徴とするグラフ表示装置。
<請求項2>
請求項1記載のグラフ表示装置において、
前記特徴部分は、
座標軸と、前記グラフの特徴点との少なくとも一方であることを特徴とするグラフ表示装置。
<請求項3>
請求項1または2記載のグラフ表示装置において、
前記スクロール方向検出手段は、
慣性スクロールによって前記特徴部分が表示領域の中央に移動するよう前記スクロール方向を設定することを特徴とするグラフ表示装置。
<請求項4>
請求項1〜3の何れか一項に記載のグラフ表示装置において、
前記表示手段のディスプレイと一体化されたタッチパネルと、
前記タッチパネルに対するユーザのピンチイン/ピンチアウト操作により、前記表示されたグラフを縮小/拡大する拡大縮小手段と、
を備えることを特徴とするグラフ表示装置。
<請求項5>
請求項1〜4の何れか一項に記載のグラフ表示装置において、
前記表示手段のディスプレイと一体化されたタッチパネルを備え、
前記スクロール制御手段は、
前記タッチパネルに対してユーザから行われるスワイプ操作の速度に応じてスクロール速度を設定するスクロール速度設定手段を有し、
前記スクロール速度が所定速度以下の場合にのみ、前記特徴部分が表示領域の中央に位置するタイミングで当該慣性スクロールを停止させることを特徴とするグラフ表示装置。
<請求項6>
請求項1〜5の何れか一項に記載のグラフ表示装置において、
前記スクロール制御手段は、
前記座標系の表示範囲を変更しつつ、変更後の表示範囲内における前記関数の値を算出して前記グラフを表示領域に描画することで、前記グラフをスクロールさせることを特徴とするグラフ表示装置。
<請求項7>
表示手段を備えるコンピュータに、
前記表示手段の表示領域に座標系を設定し、関数のグラフを表示させるグラフ表示制御機能と、
ユーザ操作に応じてスクロール方向を設定するスクロール方向設定機能と、
前記表示されたグラフを前記スクロール方向に慣性スクロールさせ、前記座標系及び前記グラフの少なくとも一方における特徴部分が表示領域の中央に位置するタイミングで当該慣性スクロールを停止させるスクロール制御機能と、
を実現させることを特徴とするグラフ表示プログラム。
The invention described in the scope of claims attached to the application of this application will be added below. The item numbers of the claims described in the appendix are as set forth in the claims attached to the application of this application.
[Appendix]
<Claim 1>
Display means;
A graph display control means for setting a coordinate system in a display area of the display means and displaying a graph of a function;
Scroll direction setting means for setting a scroll direction according to a user operation;
Scroll control means for inertial scrolling the displayed graph in the scroll direction, and stopping the inertial scroll at a timing when a characteristic part of at least one of the coordinate system and the graph is located at the center of a display area;
A graph display device comprising:
<Claim 2>
The graph display device according to claim 1,
The characteristic part is
A graph display device characterized by being at least one of a coordinate axis and a feature point of the graph.
<Claim 3>
The graph display device according to claim 1 or 2,
The scroll direction detecting means includes
The graph display device, wherein the scroll direction is set so that the characteristic portion moves to the center of the display area by inertial scrolling.
<Claim 4>
In the graph display device according to any one of claims 1 to 3,
A touch panel integrated with the display of the display means;
Enlarging / reducing means for reducing / enlarging the displayed graph by a user's pinch-in / pinch-out operation on the touch panel;
A graph display device comprising:
<Claim 5>
In the graph display device according to any one of claims 1 to 4,
A touch panel integrated with the display of the display means;
The scroll control means includes
Scroll speed setting means for setting a scroll speed according to the speed of a swipe operation performed by the user on the touch panel;
The graph display device, wherein the inertial scroll is stopped at a timing when the feature portion is located at the center of the display area only when the scroll speed is equal to or lower than a predetermined speed.
<Claim 6>
In the graph display device according to any one of claims 1 to 5,
The scroll control means includes
A graph display device that scrolls the graph by changing the display range of the coordinate system, calculating the value of the function within the changed display range, and drawing the graph in a display area. .
<Claim 7>
In a computer provided with a display means,
A graph display control function for setting a coordinate system in a display area of the display means and displaying a graph of a function;
A scroll direction setting function for setting a scroll direction according to a user operation;
A scroll control function for inertial scrolling the displayed graph in the scroll direction, and stopping the inertial scroll at a timing when a characteristic part of at least one of the coordinate system and the graph is located at the center of a display area;
Graph display program characterized by realizing

1 グラフ表示装置
25 CPU
210 ディスプレイ
240 グラフ表示プログラム
1 Graph display device 25 CPU
210 Display 240 Graph display program

Claims (8)

表示手段を備えた表示装置における表示方法であって、
前記表示手段の表示領域にX方向とY方向の表示範囲が定められたX−Y座標系を設定し、関数のグラフを表示させるグラフ表示制御ステップと、
前記X−Y座標系の平面内の任意の方向に沿ったユーザ操作を受け付け、
前記ユーザ操作に応じてスクロール方向を設定するスクロール方向設定ステップと、
前記表示された関数のグラフを前記スクロール方向に移動させた場合に、前記X−Y座標系及び前記グラフが有するそれぞれの特徴部分のうち、前記表示領域の少なくともX方向またはY方向の中央に最初に到達する特徴部分を特定する定ステップと、
前記特定された特徴部分が前記表示領域の少なくともX方向またはY方向の中央に最初に到達するまでの移動量を算出する移動量算出ステップと、
前記X−Y座標系に定められた表示範囲を、前記算出された移動量に達するまで、所定の変化量に基づいて繰り返し変更し、前記表示範囲が変更される毎に前記関数のグラフを表示させることで慣性スクロールを行うスクロール制御ステップと
を備えることを特徴とする表示方法
A display method in a display device having a display means,
A graph display control step of setting an XY coordinate system in which display ranges in the X direction and the Y direction are defined in the display area of the display means, and displaying a graph of a function;
Accepts user operations along any direction in the plane of the XY coordinate system;
The scroll direction setting step of setting a scroll direction in response to the user operation,
When the graph of the displayed function is moved in the scroll direction, the feature area of the XY coordinate system and the graph is first at least in the center of the display area in the X or Y direction. a specific identifying characteristic portions to reach,
A movement amount calculating step of calculating a movement amount until the identified characteristic portion first reaches at least the center of at least the X direction or the Y direction of the display area;
The display range defined in the XY coordinate system is repeatedly changed based on a predetermined change amount until the calculated movement amount is reached, and the graph of the function is displayed each time the display range is changed. display method characterized by comprising a scroll control step of performing inertial scrolling by causing.
請求項1記載の表示方法において、
前記特徴部分は、座標軸と、前記グラフの特徴点との少なくとも一方であることを特徴とする表示方法。
The display method according to claim 1,
The display method characterized in that the feature portion is at least one of a coordinate axis and a feature point of the graph.
請求項1または2記載の表示方法において、
前記スクロール方向検出ステップは、前記慣性スクロールによって前記特徴部分が表示領域の中央に移動するよう前記スクロール方向を設定することを特徴とする表示方法。
The display method according to claim 1 or 2,
The scroll direction detecting step, a display method wherein said characteristic portion by the inertial scrolling to set the scroll direction to move the center of the display area.
請求項1〜3の何れか一項に記載の表示方法において、
前記表示手段はディスプレイと一体化されたタッチパネルを備え、
前記タッチパネルに対するユーザのピンチイン/ピンチアウト操作により、前記表示されたグラフを縮小/拡大する拡大縮小ステップを、
を備えることを特徴とする表示方法。
The display method according to any one of claims 1 to 3,
The display means includes a touch panel integrated with a display,
An enlargement / reduction step of reducing / enlarging the displayed graph by a user's pinch-in / pinch-out operation on the touch panel,
A display method comprising:
請求項1〜4の何れか一項に記載の表示方法において、
前記表示手段は、ディスプレイと一体化されたタッチパネルを備え、
前記スクロール制御ステップは、
前記タッチパネルに対してユーザから行われるスワイプ操作の速度に応じてスクロール速度を設定するスクロール速度設定ステップを有し、
前記スクロール速度が所定速度以下の場合にのみ、前記特徴部分が表示領域の中央に位置するタイミングで前記慣性スクロールを停止させる
ことを特徴とする表示方法。
In the display method as described in any one of Claims 1-4,
The display means includes a touch panel integrated with a display,
The scroll control step includes:
A scroll speed setting step for setting a scroll speed according to a speed of a swipe operation performed by a user on the touch panel;
Display wherein said scroll speed is characterized only, <br/> stopping the inertial scrolling timing at which the characteristic portion is positioned at the center of the display area in the case of less than a predetermined speed.
請求項1〜5の何れか一項に記載の表示方法において、
前記スクロール制御ステップは、
前記X−Y座標系の表示範囲を変更しつつ、変更後の表示範囲内における前記関数の値を算出して前記グラフを表示領域に描画することで、前記グラフをスクロールさせることを特徴とする表示方法。
In the display method as described in any one of Claims 1-5,
The scroll control step includes:
While changing the display range of the XY coordinate system, the value of the function in the changed display range is calculated and the graph is drawn in a display area, thereby scrolling the graph. Display method.
制御手段を備える表示装置であって、A display device comprising a control means,
前記制御手段は、The control means includes
表示手段の表示領域にX方向とY方向の表示範囲が定められたX−Y座標系を設定し、関数のグラフを表示させ、An XY coordinate system in which display ranges in the X direction and the Y direction are defined is set in the display area of the display means, and a graph of the function is displayed.
前記X−Y座標系の平面内の任意の方向に沿ったユーザ操作を受け付け、Accepts user operations along any direction in the plane of the XY coordinate system;
前記ユーザ操作に応じてスクロール方向を設定し、Set the scroll direction according to the user operation,
前記表示された関数のグラフを前記スクロール方向に移動させた場合に、前記X−Y座標系及び前記グラフが有するそれぞれの特徴部分のうち、前記表示領域の少なくともX方向またはY方向の中央に最初に到達する特徴部分を特定し、When the graph of the displayed function is moved in the scroll direction, the feature area of the XY coordinate system and the graph is first at least in the center of the display area in the X or Y direction. Identify the features that reach
前記特定された特徴部分が前記表示領域の少なくともX方向またはY方向の中央に最初に到達するまでの移動量を算出し、Calculating the amount of movement until the identified feature portion first reaches at least the center of the display area in the X or Y direction;
前記X−Y座標系に定められた表示範囲を、前記算出された移動量に達するまで、所定の変化量に基づいて繰り返し変更し、前記表示範囲が変更される毎に前記関数のグラフを表示させることで慣性スクロールを行うThe display range defined in the XY coordinate system is repeatedly changed based on a predetermined change amount until the calculated movement amount is reached, and the graph of the function is displayed each time the display range is changed. To perform inertial scrolling
ことを特徴とする表示装置。A display device characterized by that.
コンピュータに、On the computer,
表示手段の表示領域にX方向とY方向の表示範囲が定められたX−Y座標系を設定し、関数のグラフを表示させ、An XY coordinate system in which display ranges in the X direction and the Y direction are defined is set in the display area of the display means, and a graph of the function is displayed.
前記X−Y座標系の平面内の任意の方向に沿ったユーザ操作を受け付けさせ、Accept user operations along any direction in the plane of the XY coordinate system;
前記ユーザ操作に応じてスクロール方向を設定させ、The scroll direction is set according to the user operation,
前記表示された関数のグラフを前記スクロール方向に移動させた場合に、前記X−Y座標系及び前記グラフが有するそれぞれの特徴部分のうち、前記表示領域の少なくともX方向またはY方向の中央に最初に到達する特徴部分を特定させ、When the graph of the displayed function is moved in the scroll direction, the feature area of the XY coordinate system and the graph is first at least in the center of the display area in the X or Y direction. Identify the features that reach
前記特定された特徴部分が前記表示領域の少なくともX方向またはY方向の中央に最初に到達するまでの移動量を算出させ、Calculating the amount of movement until the identified feature portion first reaches at least the center of the display area in the X or Y direction;
前記X−Y座標系に定められた表示範囲を、前記算出された移動量に達するまで、所定の変化量に基づいて繰り返し変更し、前記表示範囲が変更される毎に前記関数のグラフを表示させることで慣性スクロールを行わせるThe display range defined in the XY coordinate system is repeatedly changed based on a predetermined change amount until the calculated movement amount is reached, and the graph of the function is displayed each time the display range is changed. To cause inertial scrolling
ことを特徴とするプログラム。A program characterized by that.
JP2015214462A 2015-10-30 2015-10-30 Display method, display device, and program Active JP6149916B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015214462A JP6149916B2 (en) 2015-10-30 2015-10-30 Display method, display device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015214462A JP6149916B2 (en) 2015-10-30 2015-10-30 Display method, display device, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013055832A Division JP5835255B2 (en) 2013-03-19 2013-03-19 Graph display device and graph display program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017102304A Division JP6369601B2 (en) 2017-05-24 2017-05-24 Display control apparatus, display control method, and program

Publications (2)

Publication Number Publication Date
JP2016021265A JP2016021265A (en) 2016-02-04
JP6149916B2 true JP6149916B2 (en) 2017-06-21

Family

ID=55266027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015214462A Active JP6149916B2 (en) 2015-10-30 2015-10-30 Display method, display device, and program

Country Status (1)

Country Link
JP (1) JP6149916B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018055623A (en) * 2016-09-30 2018-04-05 ブラザー工業株式会社 Display input device and storage medium
KR101928272B1 (en) * 2017-10-23 2018-12-12 서울대학교산학협력단 Method and server for visualizing patient's life record data in form of heat map

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150562A (en) * 2001-11-15 2003-05-23 Casio Comput Co Ltd Graph processor and program
JP2010015437A (en) * 2008-07-04 2010-01-21 Dainippon Screen Mfg Co Ltd Graph drawing apparatus, graph drawing method and gram drawing program
JP5347988B2 (en) * 2009-03-30 2013-11-20 アイシン・エィ・ダブリュ株式会社 Navigation device
US8780140B2 (en) * 2011-02-16 2014-07-15 Sony Corporation Variable display scale control device and variable playing speed control device
JP5835255B2 (en) * 2013-03-19 2015-12-24 カシオ計算機株式会社 Graph display device and graph display program

Also Published As

Publication number Publication date
JP2016021265A (en) 2016-02-04

Similar Documents

Publication Publication Date Title
JP5835255B2 (en) Graph display device and graph display program
EP2365426B1 (en) Display device and screen display method
EP2815299B1 (en) Thumbnail-image selection of applications
CN109643210B (en) Device manipulation using hovering
US10521102B1 (en) Handling touch inputs based on user intention inference
US20130117664A1 (en) Screen display method applicable on a touch screen
US8762840B1 (en) Elastic canvas visual effects in user interface
US11119622B2 (en) Window expansion method and associated electronic device
EP2581808A1 (en) Method and system to control a process with bend movements
US20140152702A1 (en) Image display device, image display method, image display program, and computer-readable recording medium whereon program is recorded
US11526265B2 (en) Visual manipulation of a digital object
US9507513B2 (en) Displaced double tap gesture
JP6149916B2 (en) Display method, display device, and program
JP6369601B2 (en) Display control apparatus, display control method, and program
US20140108982A1 (en) Object placement within interface
US9471107B2 (en) Method and electronic device for inputting handwriting data using rolled-up flexible display
KR20130054990A (en) Single touch process to achieve dual touch experience field
JP5768787B2 (en) Graph display control device and graph display control program
JP5939594B2 (en) Apparatus and method for enlarging or reducing image
CN111813408A (en) View display processing method and device, terminal equipment and storage medium
JP2015007844A (en) User interface device, user interface method, and program
JP6048450B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP6032982B2 (en) Input support device, input support method, input support program, and recording medium
JP5958582B2 (en) Electronic device and program
JP6552277B2 (en) Information terminal, processing execution method by information terminal, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151030

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20161004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161202

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: 20170425

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170508

R150 Certificate of patent or registration of utility model

Ref document number: 6149916

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150