JP7088260B2 - Graph information generator, graph information generation method, graph drawing device, graph drawing method, and program - Google Patents
Graph information generator, graph information generation method, graph drawing device, graph drawing method, and program Download PDFInfo
- Publication number
- JP7088260B2 JP7088260B2 JP2020184094A JP2020184094A JP7088260B2 JP 7088260 B2 JP7088260 B2 JP 7088260B2 JP 2020184094 A JP2020184094 A JP 2020184094A JP 2020184094 A JP2020184094 A JP 2020184094A JP 7088260 B2 JP7088260 B2 JP 7088260B2
- Authority
- JP
- Japan
- Prior art keywords
- graph
- information
- display
- range
- server
- 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
Links
Images
Landscapes
- Calculators And Similar Devices (AREA)
Description
本発明は、グラフ情報生成装置、グラフ情報生成方法、グラフ描画装置、グラフ描画方法、及び、プログラムに関する。 The present invention relates to a graph information generation device, a graph information generation method, a graph drawing device, a graph drawing method, and a program.
近年では、スマートフォンなどの電子機器から関数式を計算専用のサーバに送信して計算させ、その計算結果を電子機器で表示させることができるシステムが考えられている。関数式を計算専用のサーバにおいて計算させることにより、電子機器では負荷の大きな複雑で高度な計算であっても容易に計算結果を得ることができる。 In recent years, a system has been considered in which a function formula can be transmitted from an electronic device such as a smartphone to a server dedicated to calculation to perform calculation, and the calculation result can be displayed on the electronic device. By having the function formula calculated on a server dedicated to calculation, it is possible to easily obtain a calculation result even in a complicated and sophisticated calculation with a heavy load on an electronic device.
例えば、特許文献1に記載されたシステムでは、関数式をサーバに送信することで、計算結果として関数式に応じたグラフ画像が作成される。電子機器は、サーバからグラフ画像を受信して表示することができる。
For example, in the system described in
このように従来技術では、サーバに関数式を送信することでグラフ画像を受信して表示させることができる。しかしながら、サーバにおいて作成されるグラフ画像は、電子機器における画面サイズ、画面内のグラフを表示させる領域のサイズ、ディスプレイの解像度などに関係なく作成される。従って、サーバから受信したグラフ画像を電子機器においてそのまま表示させると、精度が高いグラフを表示できない場合があった。 As described above, in the prior art, a graph image can be received and displayed by transmitting a function expression to the server. However, the graph image created on the server is created regardless of the screen size in the electronic device, the size of the area for displaying the graph in the screen, the resolution of the display, and the like. Therefore, if the graph image received from the server is displayed as it is on the electronic device, it may not be possible to display the graph with high accuracy.
本発明は前述のような課題に考慮してなされたもので、サーバに関数式を計算させて、表示画面に対応して精度の高いグラフを描画することができる計算装置、計算装置のグラフ表示方法、及びプログラムを提供することを目的とする。 The present invention has been made in consideration of the above-mentioned problems, and is a graph display of a calculation device and a calculation device capable of causing a server to calculate a function expression and drawing a highly accurate graph corresponding to a display screen. The purpose is to provide methods and programs.
上記の課題を解決するために、本発明のグラフ情報生成装置は、グラフを描画するディスプレイの解像度に応じた前記グラフの描画精度を示す描画精度情報と、前記グラフの描画範囲を示す描画範囲情報と、描画する前記グラフの関数式の情報とを、前記ディスプレイを備える外部装置より取得し、
前記外部装置より取得した前記描画精度情報と、前記描画範囲情報と、前記グラフの関数式の情報とに基づいて、少なくとも前記描画範囲における前記グラフを表すプロット位置を示すプロット位置情報を取得する。
In order to solve the above problems, the graph information generator of the present invention has drawing accuracy information indicating the drawing accuracy of the graph according to the resolution of the display on which the graph is drawn, and drawing range information indicating the drawing range of the graph. And the information of the function expression of the graph to be drawn is acquired from the external device provided with the display.
Based on the drawing accuracy information acquired from the external device, the drawing range information, and the information of the function expression of the graph, at least the plot position information indicating the plot position representing the graph in the drawing range is acquired .
また、本発明のグラフ描画装置は、ディスプレイを備え、
グラフを描画する前記ディスプレイの解像度に応じた前記グラフの描画精度を示す描画精度情報と、前記グラフの描画範囲を示す描画範囲情報と、描画する前記グラフの関数式の情報とを、サーバが取得可能なように送信し、
送信された前記描画精度情報と、前記グラフの描画範囲を示す描画範囲情報と、描画する前記グラフの関数式の情報とに基づいて前記サーバが生成する少なくとも前記描画範囲における前記グラフを表すプロット位置を示すプロット位置情報を、前記サーバより受信し、
受信した前記プロット位置情報と前記描画範囲情報とに基づいて、前記ディスプレイにグラフを描画する。
また、本発明のグラフ描画方法は、
グラフ描画システムにより実行される方法であって、
前記グラフ描画システムは、ディスプレイを備えるグラフ描画装置と、前記グラフ描画装置と通信するグラフ情報生成装置とを含み、
グラフを描画する前記ディスプレイの解像度に応じた前記グラフの描画精度を示す描画精度情報を取得し、
取得した前記描画精度情報と、前記グラフの描画範囲を示す描画範囲情報と、描画する前記グラフの関数式の情報とに基づいて、少なくとも前記描画範囲における前記グラフを表すプロット位置を示すプロット位置情報を取得し、
取得した前記プロット位置情報と前記描画範囲情報とに基づいて、前記ディスプレイにグラフを描画する。
Further, the graph drawing apparatus of the present invention includes a display.
The server acquires drawing accuracy information indicating the drawing accuracy of the graph according to the resolution of the display for drawing the graph, drawing range information indicating the drawing range of the graph, and functional expression information of the graph to be drawn. Send as possible,
The plot position representing the graph in at least the drawing range generated by the server based on the transmitted drawing accuracy information, the drawing range information indicating the drawing range of the graph, and the information of the function expression of the graph to be drawn. The plot position information indicating the above is received from the server, and
A graph is drawn on the display based on the received plot position information and the drawing range information .
Further, the graph drawing method of the present invention is:
The method performed by the graph drawing system,
The graph drawing system includes a graph drawing device including a display and a graph information generating device that communicates with the graph drawing device.
Obtain drawing accuracy information indicating the drawing accuracy of the graph according to the resolution of the display for drawing the graph.
Based on the acquired drawing accuracy information, drawing range information indicating the drawing range of the graph, and information of the function expression of the graph to be drawn, at least plot position information indicating the plot position representing the graph in the drawing range. To get,
A graph is drawn on the display based on the acquired plot position information and the drawing range information.
本発明によれば、グラフを描画するディスプレイの解像度に応じて精度の高いグラフを描画することができる。 According to the present invention, it is possible to draw a graph with high accuracy according to the resolution of the display on which the graph is drawn.
以下、図面により本発明の実施の形態について説明する。
図1は、本発明の実施形態に係る計算装置10の電子回路の構成の一例を示す図である。本実施形態では、計算装置10は、例えばスマートフォンとして実施するものとして説明する。なお、計算装置10は、スマートフォンに限定されるものではなく、PDA(personal digital assistants)、PC(personal computer)、タブレット端末、ノートPC、ゲーム機等の他の電子機器により構成することができる。ここでは、図1に示すように、計算装置10と、通信ネットワークN上のサーバ30とを備えたシステムを例に説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing an example of a configuration of an electronic circuit of the
図1に示すように、計算装置10の電子回路は、CPU11、メモリ12、表示部13、タッチパネル14、キー入力部15、通信部16、記録媒体読取部17を備えている。
As shown in FIG. 1, the electronic circuit of the
CPU11は、メモリ12に記憶されているプログラムに従い、タッチパネル14からの入力信号、キー入力部15からのキー入力信号、あるいは通信部16による受信信号に応じて回路各部の動作を制御する。CPU11は、グラフ描画処理プログラム12Aを実行することで、関数式の計算をサーバ30により実行させて、計算結果として精度の高いグラフを描画することができる。グラフ描画処理プログラム12Aは、サーバ30が開設する関数計算用のWebサイト(ホームページ)にアクセスすることでダウンロード(Webアプリケーション)されても良いし、メモリ12に予め記憶されていても良いし、あるいはメモリカード等の記録媒体Mから記録媒体読取部15を介してメモリ12に読み込まれて記憶されたものであっても良い。本実施形態では、グラフ描画処理プログラム12Aは、サーバ30が開設するWebサイトにアクセスすることでダウンロードされ、ブラウザアプリケーションにより制御されるものとして説明する。
The
計算装置10は、CPU11がグラフ描画処理プログラム12Aに記述された命令に従い回路各部の動作を制御し、ソフトウエアとハードウエアとが協働して動作することにより、後述の動作説明で述べるグラフ描画処理(グラフ表示方法)を実現する。
The
メモリ12は、CPU11により実行されるプログラムやデータが記憶される。メモリ12には、基本プログラム(OS(Operating System))、ブラウザアプリケーションプログラムの他、各種のプログラムが記憶される。メモリ12に記憶されるプログラムには、グラフ描画処理プログラム12Aが含まれる。また、メモリ12には、グラフ描画処理プログラム12Aの実行に伴い、一時的なデータとして関数式データを記憶するための関数式記憶エリア12B、関数式に含まれる定数値の変位幅と現在値を記憶するための定数値設定エリア12C、予備座標計算設定処理(後述する)により設定された設定内容を記憶するための予備座標計算設定エリア12D、サーバ30から受信された計算結果/グラフ描画情報を記憶するための計算結果/グラフ描画情報エリア12Eなどが確保される。
The
表示部13は、CPU11により実行される処理に応じた画像を表示画面に表示させる。表示部13は、例えばドットマトリクス型の液晶表示ユニットにより構成される。タッチパネル14は、ユーザの手やペンなどを用いたタッチ操作に応じた位置データを入力する。タッチパネル14は、表示部13の表示画面に重ねて一体化される。表示部13とタッチパネル14によりタッチパネルディスプレイが構成される。
The
キー入力部15は、各種キーに対するキー操作を受け付ける。
通信部16は、公衆無線電話通信網を通じて、ネットワークNに接続する機能を有する。
The
The
サーバ30は、計算装置10から関数式の計算(グラフ描画を含む)の実行が要求された場合に、計算装置10から受信される関数式とグラフ描画に関する関数式/グラフ情報をもとに計算処理を実行する。サーバ30は、計算装置10により実行されるプログラムより高度な関数式計算プログラム、あるいは高度な計算を実行可能にした特別の計算回路(モジュール)を用いて計算処理を実行する。従って、サーバ30では、計算装置10では計算が困難な複雑で高度な関数式であっても精度良く計算結果を算出することができる。
When the
図2は、本実施形態における計算装置10の表示画面例を示す図である。
計算装置10は、例えば、ブラウザアプリケーションによりサーバ30による関数計算用のWebサイトにアクセスすることでグラフ描画処理プログラム12Aを読み込み、ブラウザアプリケーション上でグラフ描画処理プログラム12Aを実行させる。グラフ描画処理プログラム12Aは、ブラウザ上で動作するプログラミング言語と協働することにより動作し、ブラウザウィンドウ120に関数計算用の画像を表示させる。
FIG. 2 is a diagram showing an example of a display screen of the
For example, the
グラフ描画処理プログラム12Aは、関数計算用の画像として、図2に示すように、例えばコマンドアイコンエリア121、関数式エリア122、グラフ画像エリア123を表示させる。
As shown in FIG. 2, the graph
コマンドアイコンエリア121は、複数のコマンドのそれぞれに対応するアイコンが配列される。アイコンが選択されることにより、アイコンに応じた機能を実行させることができる。アイコンの操作により実行可能な機能には、例えば関数式入力、グラフ表示、座標値リスト表示、グラフエリア変更(拡大/縮小)、グラフ範囲指定拡大(ズーム)などがある。
In the
関数式エリア122は、ユーザ操作によって独立変数(例えばx)の関数式(y=f(x))が入力される。関数式エリア122には、複数の関数式(y1,y2,…)を入力することができ、複数の関数式のそれぞれに対応するグラフ表示中の線種が表示される。また、関数式エリア122では、入力された関数式について、個々にグラフ描画の対象とするか否かを設定することができる。
In the
関数式エリア122に関数式を入力する場合には、例えば関数式入力用のソフトウェアキーボードが表示される。ソフトウェアキーボードには、例えば、[0]~[9](数値)キー、[+][-][×][÷](四則記号)キー、[=](実行)キーなどが配列される。また、関数機能キー群として、[x-1](-1乗;逆数)キーをはじめ、[√](ルート)キー、[□/□](分数)キー、[sin](サイン)キー、[cos](コサイン)キーなどが設けられる。
When inputting a function expression in the
グラフ画像エリア123は、表示部13の画面上でグラフが描画されるグラフ表示範囲を表す。グラフ画像エリア123には、関数式エリア122に入力された関数式のうち、グラフ描画の対象として設定されている関数式それぞれに対応するグラフが描画される。複数の関数式に対応するグラフは、それぞれ異なる線種あるいは表示色によって識別可能な形態によって表示される。グラフ画像エリア123では、グラフ表示範囲をユーザ操作により変更することができる。グラフ表示範囲の変更には、例えばエリア全体を拡大縮小するグラフエリア変更、グラフの表示対象範囲を左右あるいは上下に移動するグラフ表示対象変更などが可能である。例えば、グラフ画像エリア123に対応するタッチパネル14に対するユーザのタッチ操作(例えばスライド)によりグラフの表示対象範囲の変更を指示することができる。
The
次に、本実施形態における計算装置10の動作について説明する。図3及び図4は、本実施形態における計算装置10の動作について示すフローチャートである。また、図5、図6、図7及び図8は、本実施形態における計算装置10の動作例を説明するための図である。
Next, the operation of the
計算装置10は、ユーザ操作に応じて、ブラウザアプリケーションによりサーバ30の関数計算用のWebサイト(ホームページ)にアクセスする。これにより、計算装置10ではグラフ描画処理プログラム12Aが起動される。
The
CPU11は、グラフ描画処理プログラム12Aに従い、初期画面設定処理を実行する(ステップA1)。
The
図4は、初期画面設定処理を示すフローチャートである。
CPU11は、自装置が比較的大きなサイズの表示部13が設けられた大型表示機器(例えば、PC、タブレット端末)であるか、あるいは比較的小さいサイズの表示部13が設けられた小形表示機器(例えば、スマートフォン)であるかを判別する。
FIG. 4 is a flowchart showing the initial screen setting process.
The
ここで、CPU11は、大型表示機器と判別した場合(ステップB1、Yes)、表示部13の表示画面にグラフを表示させるためのグラフ画面サイズを、大型表示機器に対して予め設定されたサイズに設定する(ステップB2)。例えば、大型表示機器に対して、グラフ画面サイズは、横90mm、縦50mmに設定されているものとする。一方、CPU11は、小形表示機器と判別した場合(ステップB5、Yes)、表示部13の表示画面にグラフを表示させるためのグラフ画面サイズを、小形表示機器に対して予め設定されたサイズに設定する(ステップB6)。例えば、小形表示機器に対して、グラフ画面サイズは、横45mm、縦25mmに設定されているものとする。
Here, when the
なお、CPU11は、サーバ30による関数式の計算結果に応じたグラフ描画のプロット位置が、単純な座標位置を示すように端数が表れないようにグラフ画面サイズを調整するものとする。
The
CPU11は、グラフ画面サイズに応じて、自装置に設けられた表示部13の表示ドットサイズ(解像度)を検知し、予め設定されたグラフ画面サイズに相当するグラフ画面ドット数(初期値)を決定する(ステップB4)。
The
CPU11は、初期画面設定処理による設定に応じた初期画面(関数式エリア122、グラフ画像エリア123)を表示部13において表示させる(ステップA2)。グラフ画像エリア123は、初期画面設定処理により設定された初期値のグラフ画面ドット数により表示される。
The
次に、CPU11は、サーバ30による計算結果をグラフ画像エリア123(グラフ表示範囲)に表示させた後、グラフ表示範囲と関数式に含まれる定数が変更された場合に備えて、変更後の計算を含めてサーバ30に計算処理を実行させるための予備座標計算設定処理を実行する(ステップA3)。予備座標計算設定処理では、例えば「左右画面」「第1定数」「第2定数」の項目が設けられた設定画面を表示し、ユーザ操作に応じて、それぞれの項目について設定する。予備座標計算設定処理では、現在のグラフ表示範囲を超える範囲のグラフ、あるいは定数値を変更した関数式のグラフについて、サーバ30に対して座標データを生成する計算を要求する設定内容が含まれる。
Next, the
「左右画面」は、グラフ表示範囲が左右方向に変更された場合に備えて、変更後の何れの範囲までサーバ30に予め計算を実行させるかを設定するための項目である。例えば、初期設定では、グラフ表示範囲のみについて計算を実行させる「無し」に設定されている。
The "left-right screen" is an item for setting to which range the
また、例えば「左右1画面」「左右1/2画面」「左右1/4画面」の何れかの選択肢に設定することができる。例えば、「左右1画面」を設定することで、現在のグラフ表示範囲よりさらに左右のグラフ表示範囲と同じ範囲(独立変数の変域)ついて計算を実行させることができる。同様にして、「左右1/2画面」を設定することで、現在のグラフ表示範囲よりさらに左右のグラフ表示範囲の1/2の範囲について計算を実行させることができる。 Further, for example, it can be set to any of "left and right 1 screen", "left and right 1/2 screen", and "left and right 1/4 screen". For example, by setting "one screen on the left and right", it is possible to execute the calculation for the same range (the domain of the independent variable) as the graph display range on the left and right from the current graph display range. Similarly, by setting the "left and right 1/2 screen", it is possible to execute the calculation for the range of 1/2 of the graph display range on the left and right of the current graph display range.
「第1定数」は、関数式に定数(例えば、定数a)が含まれる場合に、定数の値が変更された場合に備えて、変更後の何れの範囲までサーバ30に予め計算を実行させるかを設定するための項目である。例えば、初期設定では、変数が初期値(例えばa=1)とした関数式についてのみ計算を実行させる「無し」に設定されている。
The "first constant" causes the
また、例えば「各ステップ値」「現在の前後のステップ値」の何れかの選択肢に設定することができる。例えば、「各ステップ値」を設定することで、グラフ表示範囲において変数が取り得る値(例えば、整数値の単位)のそれぞれに変更した、複数の関数式ついて計算を実行させることができる。「現在の前後のステップ値」を設定することで、現在の変数値の値(初期値)の前後の値(例えば、整数値の単位)のそれぞれに変更した、2つの関数式ついてさらに計算を実行させることができる。 Further, for example, it can be set to any of "each step value" and "current step value before and after". For example, by setting "each step value", it is possible to execute a calculation for a plurality of function expressions changed to each of the values that a variable can take (for example, a unit of an integer value) in the graph display range. By setting "step value before and after the current", further calculation is performed for the two function expressions changed to each of the values before and after the current variable value (initial value) (for example, the unit of integer value). Can be executed.
「第2定数」は、関数式に2つめの定数(例えば、定数b)が含まれる場合に、定数の値が変更された場合に備えて、変更後の何れの範囲までサーバ30に予め計算を実行させるかを設定するための項目である。例えば、初期設定では、変数が初期値(例えばb=1)とした関数式についてのみ計算を実行させる「無し」に設定されている。
The "second constant" is calculated in advance in the
なお、前述した説明では、初期段階で予備座標計算設定処理を実行するとしているが、グラフ描画処理プログラム12Aの実行中に、例えばコマンドアイコンエリア121における所定のアイコン(オプション)の選択によって、任意のタイミングで実行することができる。
In the above description, it is assumed that the preliminary coordinate calculation setting process is executed at the initial stage, but it is arbitrary by selecting a predetermined icon (option) in the
また、グラフ表示範囲(独立変数xの範囲)を左右方向に変更する場合について説明しているが、グラフ表示範囲(独立変数yの範囲)を上下方向について変更可能とする場合には、上下方向に変更された場合に備えた選択が可能な設定画面としても良い。例えば「上下画面」の項目を設けて、「上下1画面」「上下1/2画面」「上下1/4画面」の選択肢の何れかを選択可能にする。 Further, the case where the graph display range (range of independent variable x) is changed in the horizontal direction is described, but when the graph display range (range of independent variable y) can be changed in the vertical direction, the vertical direction is described. It may be a setting screen that can be selected in case it is changed to. For example, an item of "upper and lower screen" is provided so that any one of "upper and lower 1 screen", "upper and lower 1/2 screen", and "upper and lower 1/4 screen" can be selected.
次に、ブラウザウィンドウ120において関数式エリア122が指定された場合(ステップA4、Yes)、CPU11は、例えば関数式を入力するためのソフトウェアキーボードを表示させて、ソフトウェアキーボードに対するユーザ操作に応じて関数式を入力し、関数式データを関数式記憶エリア12Bに記憶されると共に、関数式エリア122に関数式を表示させる(ステップA5)。関数式エリア122では、入力された関数式のそれぞれにチェックボックスが設けられており、このチェックボックスへの指定によって個々にグラフ描画の対象とするか否かを設定することができる。初期値は、グラフ描画の対象とする設定がされている。
Next, when the
少なくとも1つの関数式が入力された後、グラフ描画の実行が指示された場合(ステップA6、Yes)、CPU11は、現在の関数式エリア122に対して表示する全てのグラフの座標データ(グラフ描画情報)があるか、すなわちサーバ30により表示対象とするグラフについての計算が実行済みであるか判別する。
When the execution of graph drawing is instructed after at least one function expression is input (step A6, Yes), the
ここで、グラフ表示範囲にグラフを表示するための全ての座標データ(グラフ描画情報)がない場合には(ステップA10,A11、No)、CPU11は、サーバ30にグラフ描画のために関数式の計算を実行させるための座標計算データをサーバ30に送信する(ステップA13)。
Here, if all the coordinate data (graph drawing information) for displaying the graph is not available in the graph display range (steps A10, A11, No), the
図5は、本実施形態における計算装置10によりサーバ30に対してグラフ描画のための計算を要求する場合のデータの送受信を示す図である。
図5に示すように、計算装置10は、関数式エリア122に入力された関数式に応じた座標計算データ20をサーバ30に送信する。ここでは、例えば関数式エリア122において、3つの関数式(y1,y2,y3)がユーザ操作によって入力されたものとする。計算装置10は、座標計算データ20として、3つの関数式を表す関数式データ、グラフ表示範囲に表示させるグラフの独立変数の変域を示すグラフ表示領域データ、表示部13の画面上のグラフ表示範囲に対応するグラフ描画の精度を示す精度データ(1表示ドット分の独立変数の増分の値又は画面上のグラフ表示範囲(独立変数の変域)のドット数)が含まれる。
FIG. 5 is a diagram showing transmission / reception of data when the
As shown in FIG. 5, the
グラフ表示領域データは、例えばx座標系の最大値(max)と最小値(min)と、y座標系の最大値(max)と最小値(min)とを含む。例えば図5に示す座標計算データ20では、xmin=-9、ymin=-5、xmax=9、ymax=5の範囲でグラフを描画することを示している。すなわちグラフ表示範囲(グラフウィンドウの横)に対して独立変数の変域(x=-9~9)に対応する関数式のグラフを描画することとなる。
The graph display area data includes, for example, a maximum value (max) and a minimum value (min) of the x-coordinate system, and a maximum value (max) and a minimum value (min) of the y-coordinate system. For example, in the coordinate
精度データは、1表示ドット分の独立変数の増分の値、あるいは画面上のグラフ表示範囲(独立変数の変域)に対応する表示ドット数を示す。グラフ画像エリア123では、グラフ表示範囲がユーザ操作によって任意に変更されるため、独立変数の変域に対応する表示ドット数、あるいはグラフ表示範囲に対応する表示ドット数が変化する。また、計算装置10に設けられる表示部13(例えば、ドットマトリクス型の液晶表示ユニット)の解像度に応じて、例えばグラフを描画する「1ピクセル×1ピクセル」を「2ドット×2ドット」あるいは「3ドット×3ドット」により描画する場合がある。従って、CPU11は、グラフ描画の実行が要求された時点における、計算装置10に実装された表示部13の解像度(1ピクセルに対応する表示ドット数)に応じたグラフ描画の精度を示す精度データ(1表示ドット分の独立変数の増分の値又は画面上のグラフ表示範囲(独立変数の変域)のドット数)を計算してサーバ30に送信する。
The accuracy data indicates the increment value of the independent variable for one display dot, or the number of display dots corresponding to the graph display range (domain of the independent variable) on the screen. In the
なお、座標計算データ20には、関数式に三角関数や角度を含む計算が含まれる場合には、角度設定(ディグリー、ラジアン、グラード)を指定する角度モードデータが含まれる。また、座標計算データ20には、関数式に定数が含まれる場合には、定数データが含まれる。定数データには、例えば定数値の変位可能な値を示す定数値の変位幅と現在値(初期値)が含まれる。さらに、座標計算データ20には、予備座標計算設定処理においてユーザ操作により設定された設定内容が含まれる。この設定内容には、現在のグラフ表示範囲を超える範囲の計算、あるいは定数値を変更した関数値の計算を要求する内容が含まれる。
The coordinate
サーバ30(関数式計算プログラム)は、API(Application Programming Interface)21を通じて、計算装置10から座標計算データ20を受信して、関数式の計算を実行し、計算装置10においてグラフを描画するための計算結果/グラフ描画情報を生成する。
The server 30 (function formula calculation program) receives the coordinate
なお、サーバ30は、予備座標計算設定処理において「左右画面」の項目において初期設定(「無し」)以外の設定がされている場合には、現在のグラフ表示範囲よりさらに左右の範囲についての計算を実行する。同様にして、サーバ30は、予備座標計算設定処理において「第1定数」「第2定数」の項目が初期設定(「無し」)以外に設定されている場合には、定数の値を変更した場合を含めた計算を実行する。
If the
サーバ30は、座標計算データ20に応じた計算により生成した計算結果/グラフ描画情報22を計算装置10に送信する。計算装置10は、計算結果/グラフ描画情報22を計算結果/グラフ描画情報エリア12Eに記憶させる。
The
計算装置10のCPU11は、グラフ描画情報22に含まれるグラフ描画のための座標データの配列を受信し(ステップA14)、座標データの配列に応じてグラフ画像エリア123に対してグラフを描画する(ステップA15)。座標データは、図5に示すように、グラフを表す各プロット位置のX座標値とY座標値の組み合わせ(ペア)により示す。CPU11は、配列に含まれる各座標データに相当するピクセルに対してプロットすることで、グラフ画像を描画することができる。
The
なお、座標計算データ20によって複数の関数式データを送信している場合には、各関数式データに対応する座標データの配列を受信して、例えば関数式ごとに異なる線種を用いてグラフを描画する。
When a plurality of function expression data are transmitted by the coordinate
計算結果/グラフ描画情報22は、サーバ30による高度な計算により生成されている。すなわち、グラフ描画のための座標データは、座標計算データ20に含まれる関数式データ、グラフ表示領域データ、精度データに基づいて生成された、表示部13のグラフ画像エリア123(グラフ表示範囲)にプロットすべき位置を示している。すなわち、計算装置10に実装された表示部13に応じた、現在のグラフ画像エリア123(グラフ表示範囲)における独立変数の変位に対応する表示ドット数の増分値(ピッチ)、あるいは画面上のグラフ表示範囲(独立変数の変域全体)に対応する表示ドット数に応じて、グラフの座標データが生成されているため、計算装置10の表示部13の画面上で精度良くグラフを描画することができる。従って、複雑な関数式が入力された場合であっても、計算結果として精度の高いグラフを描画することができる。
The calculation result /
次に、グラフ画像エリア123に表示されたグラフ表示範囲を変更する場合について説明する。
図6は、本実施形態におけるグラフ表示対象範囲の変更の一例として、ユーザのグラフに対するスライド操作によりグラフの表示対象範囲を左右方向に移動する例を示している。
Next, a case of changing the graph display range displayed in the
FIG. 6 shows an example of moving the display target range of the graph in the left-right direction by a slide operation on the graph of the user as an example of changing the graph display target range in the present embodiment.
図6(A)には、前述のようにして、グラフ画像エリア123にグラフが描画された状態を示している。ここで、グラフ画像エリア123に表示されたグラフに対して、ユーザによりスライド操作(画面の左右移動操作)がされたものとする。CPU11は、タッチパネル14によりスライド操作が検出された場合、すなわちグラフ表示範囲を変更する操作がされたことを検出した場合(ステップA7、Yes)、スライド操作された操作量(スライド長)に応じてグラフ表示範囲を移動する。例えば、図6(A)では、左方向にスライド操作されているため、操作量に応じてグラフ表示範囲を右方向に移動させた範囲に変更する。
FIG. 6A shows a state in which the graph is drawn in the
CPU11は、変更後のグラフ表示範囲の全てについて計算済みの座標データ(計算結果/グラフ描画情報22)があるか判別する。すなわち、予備座標計算処理設定において「左右画面」の項目において初期設定(「無し」)以外の設定をすることで、現在のグラフ表示範囲よりさらに左右の範囲についての座標データ(計算結果/グラフ描画情報22)を受信済みであるかを判別する。
The
ここで、変更後のグラフ表示範囲の全てについて計算済みの座標データを受信済みである場合には(ステップA10、Yes)、CPU11は、座標データの配列に応じてグラフ画像エリア123に対してグラフを描画する(ステップA15)。
Here, if the coordinate data calculated for the entire changed graph display range has been received (steps A10, Yes), the
一方、グラフ表示範囲の一部について計算済みの座標データがある場合には、CPU11は、座標データがない範囲を新たな計算対象として特定する(ステップA12)。CPU11は、計算済みの座標データがあるグラフ表示範囲の一部について、座標データの配列に応じてグラフ画像エリア123に対してグラフの一部を描画すると共に、グラフ画像エリア123の座標データがない範囲に簡易グラフエリアを表示する(ステップA16)。さらに、CPU11は、未計算の範囲について関数式を簡易計算してグラフの仮座標データを生成し、仮座標データに応じて簡易グラフエリアにプロットしてグラフ画像を簡易描画する(ステップA17)。
On the other hand, when there is coordinate data calculated for a part of the graph display range, the
図6(B)には、図6(A)に示すグラフ画像エリア123において表示されたグラフについてグラフ表示範囲が変更された例を示している。図6(B)に示すように、グラフ表示範囲が右方向に移動されることで、グラフ画像エリア123に表示されたグラフの右側に簡易グラフエリア123Aが設けられている。簡易グラフエリア123Aには、簡易計算によって生成された仮座標データをもとに、グラフが簡易描画されている。グラフの簡易描画では、グラフ画像エリア123において描画するグラフとは異なる形態により表示するものとする。例えば、破線や点線となるようにプロットしたり、プロットする表示色を異なるようにしたりすることができる。
FIG. 6B shows an example in which the graph display range of the graph displayed in the
簡易グラフエリア123Aでは、精度の高くないグラフの描画をするものとする。すなわち、簡易描画するプロット数を通常のグラフ画像エリア123におけるグラフよりも少なくすると共に、プロットする座標について所定範囲内での誤差を許容するものとする。これにより、簡易計算により処理負担を軽減して、簡易グラフエリア123Aにおける簡易描画を容易に実行できるようにする。簡易グラフエリア123Aに簡易グラフを表示させることで、ユーザに対して、サーバ30を利用した精度の高い計算の実行中であることを認識させることができる。
In the
CPU11は、ステップA12において特定した座標データが不足している範囲について、変更後のグラフ表示範囲に応じた座標計算データ20(グラフ表示領域データを更新)を送信して、サーバ30に計算を依頼する(ステップA18)。サーバ30は、計算装置10からの依頼に応じて計算を実行して、計算結果(計算結果/グラフ描画情報22)を計算装置10に送信する。
The
なお、サーバ30は、新たにグラフを表示する必要がある範囲の座標データを送信しても良いし、変更後のグラフ表示範囲全体についての座標データを改めて送信しても良い。さらに、変更後のグラフ表示範囲に応じた、予備座標計算設定の設定内容に対応する範囲を含めて計算を実行して、計算結果/グラフ描画情報22を送信するようにしても良い。
The
また本実施形態では、独立変数の変域は、画面上でのグラフ表示範囲に過不足無く収まるようになっているが、独立変数の変域が表示範囲を超えるような仕様でも実施可能である。その場合は、画面上での実際のグラフ表示範囲に対して、独立変数の変域が超過する大きさのグラフ表示範囲について、表示ドット数を検知するようにすればよい。例えば、グラフ表示範囲の左右に1/2ずつ超過するサイズに独立変数の変域が設定されている場合には、実際に表示対象とするグラフ表示範囲の表示ドット数の2倍の表示ドット数が検知されることになる。 Further, in the present embodiment, the domain of the independent variable fits in the graph display range on the screen without excess or deficiency, but it can be implemented even in a specification that the domain of the independent variable exceeds the display range. .. In that case, the number of display dots may be detected for the graph display range whose size exceeds the domain of the independent variable with respect to the actual graph display range on the screen. For example, if the domain of the independent variable is set to a size that exceeds 1/2 on the left and right of the graph display range, the number of display dots is twice the number of display dots in the graph display range that is actually displayed. Will be detected.
CPU11は、サーバ30から受信した計算結果/グラフ描画情報22(グラフ描画のための座標データの配列)を受信し(ステップA14)、簡易グラフエリア123Aに代えて、座標データの配列に応じてグラフ画像エリア123(簡易グラフエリア123A)に対してグラフを描画する(ステップA15)。図6(C)は、サーバ30による計算結果をもとにグラフを描画した状態を示している。図6(C)に示すように、サーバ30による計算結果をもとに、前述と同様にして精度の高いグラフを描画することができる。
The
なお、前述した説明では、グラフ画像エリア123のグラフ表示範囲を左右方向に移動させる例について説明しているが、上下方向に移動させることができるようにしても良い。
In the above description, an example of moving the graph display range of the
図7は、本実施形態におけるグラフ表示対象範囲の変更の一例として、グラフ画像エリア123のサイズを変更する例を示している。ここで、グラフ画像エリア123のサイズの変更は、グラフの拡大/縮小ではなく、独立変数の変域(表示対象範囲とするxy座標系の最大値と最小値)の変更を示す。
FIG. 7 shows an example of changing the size of the
図7(A)は、グラフ画像エリア123Bのサイズが小さい状態の表示例を示し、図7(B)は、グラフ画像エリア123Cのサイズ大きい状態の表示例を示している。グラフ画像エリア123B,123Cに対しては、例えばユーザ操作によるタッチパネル14に対するピンチイン(縮小)やピンチアウト(拡大)の操作、コマンド(コマンドアイコン)による指示、マウスポインタなどの操作によりサイズの変更を指示することができる。図7(B)に示す表示例では、関数式エリアを削除して、グラフ画像エリア123Cのサイズを拡大している。
FIG. 7A shows a display example in which the size of the
CPU11は、ユーザ操作によってグラフ画像エリア123のサイズを変更する操作がされたことを検出した場合(ステップA8、Yes)、サイズの変更量(拡大/縮小)に応じてグラフ表示範囲を変更する。なお、サイズ変更された場合の処理は、x座標方向のみだけでなく、y座標方向についても、サーバ30により計算を実行させる範囲が変更されるもので、その他の処理については、前述したグラフ表示範囲を左右方向に変更した場合と同様に実行されるものとして詳細な説明を省略する(ステップA10~A18)。
When the
なお、図7に示す例では、独立変数の変域を変更する例について説明しているが、グラフの拡大(ズーム)をする場合にも同様の処理を実行することが可能である。例えば、グラフを表示させる変化範囲(変域)のうち拡大(ズーム)する倍率を座標計算データ20としてサーバ30に送信して計算を実行させる。サーバ30は、拡大(ズーム)する倍率に応じて、ズームしたグラフを表示する際に不足する部分(先に受信済みの座標データ間の途中の値)を示す座標データの配列を生成して計算装置10に送信する。これにより、計算装置10では、サーバ30から受信した座標データの配列をもとに拡大(ズーム)したグラフを描画することができる。
In the example shown in FIG. 7, an example of changing the domain of the independent variable is described, but the same processing can be executed when the graph is enlarged (zoomed). For example, the magnification to be enlarged (zoomed) in the change range (range) for displaying the graph is transmitted to the
図8は、本実施形態における関数式に含まれる定数を変更する一例を示す図である。 図8に示す関数式エリア122には、2つの関数式が入力されており、1番目の関数式(y1)には定数aが含まれている。関数式に定数が含まれている場合、CPU11は、定数値設定エリア12Cに記憶された関数式に含まれる定数値の変位幅と現在値をもとに、図8に示すように、定数値を変更する操作をするための定数操作エリア124を表示する。
FIG. 8 is a diagram showing an example of changing the constant included in the function expression in the present embodiment. Two function expressions are input to the
定数操作エリア124には、関数式に含まれる定数「a」を表示すると共に、現在値と定数値の変化範囲を表す数字を表示する。例えば、図8(A)では、定数aの現在値「1」と、変化範囲を表す下限値「-10」と上限値「10」が表示されている。また、定数操作エリア124には、定数値を変更するためのユーザ操作を受け付けるためのスライダ124Aとボタン124B,124Cが設けられている。スライダ124Aは、左右方向に移動させることが可能であり、左方向に移動させることにより移動量に応じて定数値を減少させ、右方向に移動させることにより移動量に応じて定数値を増加させる指示を受け付けることができる。ボタン124Bは、定数値を減少させる指示を受け付け、ボタン124Cは、定数値を減少させる指示を受け付けることができる。
In the
CPU11は、定数操作エリア124において関数式に含まれる定数値を変更する操作(例えばスライダ124Aの操作)がされたことを検出した場合(ステップA9、Yes)、定数を変更した関数式のグラフの全てについて計算済みの座標データを受信済みであるか判別する。例えば、予備座標計算設定において「第1定数」の項目について、定数値(ステップ値)を変更した後の計算を要求する設定がされている場合には(ステップA10、Yes)、定数値を変更した後の関数式に対応するグラフの座標データを受信済みである。この場合、受信済みの座標データの配列をもとに、変更前のクラフに代えて定数値を変更した後のグラフに対応するグラフを描画する(ステップA16)。
When the
一方、定数を変更した関数式のグラフの全てについて計算済みの座標データを受信済みでない場合には(ステップA10、No)、CPU11は、前述と同様にして、座標計算データ20に含まれる関数式データの定数値を変更した後の関数式に変更して、サーバ30に対して関数式の計算を実行させる。CPU11は、サーバ30による計算結果を受信して(ステップA15)、定数変更後のグラフに対応する座標データの配列をもとにグラフを描画する(ステップA16)。なお、その他の詳細な処理については、前述したグラフ表示範囲を変更する場合と同様にして実行されるものとして説明を省略する。
On the other hand, if the calculated coordinate data has not been received for all the graphs of the function expression whose constants have been changed (steps A10, No), the
こうして、予備座標計算設定において「第1定数」の項目において、定数の値が変更された場合に備えて、変更後の関数式の計算を予めサーバ30に実行させておくことで、定数値を変更する指示に対して、予め受信している変更後の関数式に対応するグラフの座標データをもとに効率的に精度の高いグラフを描画することができる。図8(B)には、図8(A)に示す関数式の定数aの値を「1」から「2」に変更した場合に表示されるグラフの一例を示している。
In this way, in the item of "first constant" in the preliminary coordinate calculation setting, the constant value is calculated by causing the
なお、予備座標計算設定において「左右画面」の項目において、さらにグラフ表示範囲が変更された場合に備えて、予め変更後の範囲の座標データを受信する設定をしておくことで、例えば図8(B)に示すグラフ画像エリア123のグラフに対してグラフ表示範囲を変更する操作がされた場合であっても、定数aの値を変更した関数式のグラフについても、同様にして効率的に精度の高いグラフを描画することができる。
In addition, in the preliminary coordinate calculation setting, in the item of "left and right screen", by setting in advance to receive the coordinate data of the changed range in case the graph display range is further changed, for example, FIG. Even when the graph display range is changed for the graph in the
また、「左右画面」「第1定数」の項目において初期設定されている場合、すなわち定数値を変更したグラフあるいはグラフ表示範囲を変更した範囲の座標データを受信していない場合には、前述した図6に示すように、定数値の変更操作、あるいはグラフ表示範囲の変更が指示された場合に、前述と同様にして簡易計算して仮座標データを生成し、グラフを簡易描画することも可能である。CPU11は、不足分の座標データをサーバ30から受信した後、簡易描画されたグラフに代えて、サーバ30により計算された座標データをもとに精度の高いグラフを描画する。
なお、前述した説明では、関数式に含まれる定数値を対象にして説明しているが、係数値を対象として、前述した定数値と同様の処理をすることも可能である。
Further, when the initial settings are made in the items of "left and right screen" and "first constant", that is, when the graph whose constant value is changed or the coordinate data of the range where the graph display range is changed is not received, the above-mentioned is described. As shown in FIG. 6, when a constant value change operation or a graph display range change is instructed, it is also possible to perform simple calculation in the same manner as described above to generate temporary coordinate data and draw a graph simply. Is. After receiving the insufficient coordinate data from the
In the above description, the constant value included in the function expression is targeted, but it is also possible to perform the same processing as the above-mentioned constant value for the coefficient value.
なお、実施形態において記載した手法、すなわち図3、図4のフローチャートに示す処理等の各手法は、コンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フレキシブルディスク、ハードディスク等)、光ディスク(CD-ROM、DVD等)、半導体メモリ等の記録媒体に格納して配布することができる。そして、コンピュータは、外部記録媒体に記録されたプログラムを読み込み、このプログラムによって動作が制御されることにより、実施形態において説明した機能と同様の処理を実現することができる。 In addition, the method described in the embodiment, that is, each method such as the processing shown in the flowcharts of FIGS. 3 and 4, can be executed by a computer as a memory card (ROM card, RAM card, etc.) or magnetic disk ( It can be stored and distributed in a recording medium such as a flexible disk, a hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), a semiconductor memory, or the like. Then, the computer reads the program recorded on the external recording medium, and the operation is controlled by this program, so that the same processing as the function described in the embodiment can be realized.
また、各手法を実現するためのプログラムのデータは、プログラムコードの形態としてネットワーク(インターネット)上を伝送させることができ、このネットワーク(インターネット)に接続されたコンピュータ(サーバ装置等)からプログラムデータを取り込み、前述した実施形態と同様の機能を実現することもできる。 In addition, the program data for realizing each method can be transmitted on the network (Internet) in the form of a program code, and the program data can be transmitted from a computer (server device, etc.) connected to this network (Internet). It is also possible to take in and realize the same function as the above-described embodiment.
なお、本願発明は、実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。 The invention of the present application is not limited to the embodiment, and can be variously modified at the implementation stage without departing from the gist thereof. Further, the embodiments include inventions at various stages, and various inventions can be extracted by appropriate combinations in the plurality of disclosed constituent requirements. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiment or some constituent elements are combined, the problem described in the column of the problem to be solved by the invention can be solved, and the invention can be solved. If the effect described in the column of effect of is obtained, the configuration in which this constituent requirement is deleted or combined can be extracted as an invention.
以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。
[1]
独立変数の変域に対応する画面上でのグラフ表示範囲の表示ドット数を検知する表示ドット検知手段と、
前記独立変数の変域と前記検知された表示ドット数とから求められる1表示ドット分の独立変数の増分と、前記独立変数の関数式と、前記独立変数の変域とを、サーバに送信する送信手段と、
前記サーバから前記グラフ表示範囲においてグラフを描画する表示ドット毎の座標データを受信する座標受信手段と、
前記座標データをもとに前記グラフ表示範囲の表示ドット毎に描画されたグラフ画像を表示させるグラフ画像表示制御手段と
を備える計算装置。
The inventions described in the original claims of the present application are described below.
[1]
A display dot detection means that detects the number of display dots in the graph display range on the screen corresponding to the domain of the independent variable, and
The increment of the independent variable for one display dot obtained from the domain of the independent variable and the number of detected display dots, the function expression of the independent variable, and the domain of the independent variable are transmitted to the server. Transmission means and
A coordinate receiving means for receiving coordinate data for each display dot that draws a graph in the graph display range from the server.
A calculation device including a graph image display control means for displaying a graph image drawn for each display dot in the graph display range based on the coordinate data.
[2]
独立変数の変域に対応する画面上でのグラフ表示範囲の表示ドット数を検知する表示ドット検知手段と、
前記検知された表示ドット数と、前記独立変数の関数式と、独立変数の変域とを、サーバに送信する送信手段と、
前記サーバから前記グラフ表示範囲においてグラフを描画する表示ドット毎の座標データを受信する座標受信手段と、
前記座標データをもとに前記グラフ表示範囲の表示ドット毎に描画されたグラフ画像を表示させるグラフ画像表示制御手段と
を備える計算装置。
[2]
A display dot detection means that detects the number of display dots in the graph display range on the screen corresponding to the domain of the independent variable, and
A transmission means for transmitting the detected number of display dots, the function expression of the independent variable, and the domain of the independent variable to the server.
A coordinate receiving means for receiving coordinate data for each display dot that draws a graph in the graph display range from the server.
A calculation device including a graph image display control means for displaying a graph image drawn for each display dot in the graph display range based on the coordinate data.
[3]
前記グラフ表示範囲を変更する変更手段をさらに有し、
前記送信手段は、変更後のグラフ表示範囲に応じた独立変数の変域に対応する全ての座標データが、前記座標受信手段により受信済みでない場合、座標データが不足している範囲の独立変数の変域を前記サーバに送信する[1]または[2]記載の計算装置。
[3]
Further having a changing means for changing the graph display range,
If all the coordinate data corresponding to the domain of the independent variable corresponding to the changed graph display range has not been received by the coordinate receiving means, the transmitting means has the independent variable in the range in which the coordinate data is insufficient. The computing device according to [1] or [2], which transmits a domain to the server.
[4]
前記変更手段は、前記グラフ表示範囲を移動あるいはサイズ変更する[3]記載の計算装置。
[4]
The calculation device according to [3], wherein the changing means moves or resizes the graph display range.
[5]
前記変更手段は、前記グラフ表示範囲の独立変数の変域を変更する[3]記載の計算装置。
[5]
The computing device according to [3], wherein the changing means changes the domain of the independent variable in the graph display range.
[6]
前記送信手段は、前記関数式に定数値が含まれる場合に、前記定数値の変位可能な値を前記サーバに送信する請求項1または[2]記載の計算装置。
[6]
The calculation device according to
[7]
前記送信手段は、前記グラフ表示範囲を超える範囲の座標データを要求する設定内容を含む[1]または[2]記載の計算装置。
[7]
The calculation device according to [1] or [2], wherein the transmission means includes setting contents for requesting coordinate data in a range beyond the graph display range.
[8]
前記グラフ画像表示制御手段は、前記グラフ表示範囲にグラフ画像を描画するための座標データが不足している場合、簡易計算により算出された不足分の仮座標値をもとに描画されたグラフ画像を表示させる[1]または[2]記載の計算装置。
[8]
When the graph image display control means lacks coordinate data for drawing a graph image in the graph display range, the graph image is drawn based on the tentative coordinate value of the shortage calculated by a simple calculation. The calculation device according to [1] or [2].
[9]
独立変数の変域に対応する画面上でのグラフ表示範囲の表示ドット数を検知し、
前記独立変数の変域と前記検知された表示ドット数とから求められる1表示ドット分の独立変数の増分と、前記独立変数の関数式と、前記独立変数の変域とを、サーバに送信し、
前記サーバから前記グラフ表示範囲においてグラフを描画する表示ドット毎の座標データを受信し、
前記座標データをもとに前記グラフ表示範囲の表示ドット毎に描画されたグラフ画像を表示させる
計算装置のグラフ表示方法。
[9]
Detects the number of display dots in the graph display range on the screen corresponding to the domain of the independent variable,
The increment of the independent variable for one display dot obtained from the domain of the independent variable and the number of detected display dots, the function expression of the independent variable, and the domain of the independent variable are transmitted to the server. ,
Receives coordinate data for each display dot that draws a graph in the graph display range from the server.
A graph display method of a calculation device for displaying a graph image drawn for each display dot in the graph display range based on the coordinate data.
[10]
独立変数の変域に対応する画面上でのグラフ表示範囲の表示ドット数を検知し、
前記検知された表示ドット数と、前記独立変数の関数式と、独立変数の変域とを、サーバに送信し、
前記サーバから前記グラフ表示範囲においてグラフを描画する表示ドット毎の座標データを受信し、
前記座標データをもとに前記グラフ表示範囲の表示ドット毎に描画されたグラフ画像を表示させる
計算装置のグラフ表示方法。
[10]
Detects the number of display dots in the graph display range on the screen corresponding to the domain of the independent variable,
The number of detected display dots, the function expression of the independent variable, and the domain of the independent variable are transmitted to the server.
Receives coordinate data for each display dot that draws a graph in the graph display range from the server.
A graph display method of a calculation device for displaying a graph image drawn for each display dot in the graph display range based on the coordinate data.
[11]
コンピュータを、
独立変数の変域に対応する画面上でのグラフ表示範囲の表示ドット数を検知する表示ドット検知手段と、
前記独立変数の変域と前記検知された表示ドット数とから求められる1表示ドット分の独立変数の増分と、前記独立変数の関数式と、前記独立変数の変域とを、サーバに送信する送信手段と、
前記サーバから前記グラフ表示範囲においてグラフを描画する表示ドット毎の座標データを受信する座標受信手段と、
前記座標データをもとに前記グラフ表示範囲の表示ドット毎に描画されたグラフ画像を表示させるグラフ画像表示制御手段と
として機能させるためのコンピュータ読み込み可能なプログラム。
[11]
Computer,
A display dot detection means that detects the number of display dots in the graph display range on the screen corresponding to the domain of the independent variable, and
The increment of the independent variable for one display dot obtained from the domain of the independent variable and the number of detected display dots, the function expression of the independent variable, and the domain of the independent variable are transmitted to the server. Transmission means and
A coordinate receiving means for receiving coordinate data for each display dot that draws a graph in the graph display range from the server.
A computer-readable program for functioning as a graph image display control means for displaying a graph image drawn for each display dot in the graph display range based on the coordinate data.
[12]
コンピュータを、
独立変数の変域に対応する画面上でのグラフ表示範囲の表示ドット数を検知する表示ドット検知手段と、
前記検知された表示ドット数と、前記独立変数の関数式と、独立変数の変域とを、サーバに送信する送信手段と、
前記サーバから前記グラフ表示範囲においてグラフを描画する表示ドット毎の座標データを受信する座標受信手段と、
前記座標データをもとに前記グラフ表示範囲の表示ドット毎に描画されたグラフ画像を表示させるグラフ画像表示制御手段と
として機能させるためのコンピュータ読み込み可能なプログラム。
[12]
Computer,
A display dot detection means that detects the number of display dots in the graph display range on the screen corresponding to the domain of the independent variable, and
A transmission means for transmitting the detected number of display dots, the function expression of the independent variable, and the domain of the independent variable to the server.
A coordinate receiving means for receiving coordinate data for each display dot that draws a graph in the graph display range from the server.
A computer-readable program for functioning as a graph image display control means for displaying a graph image drawn for each display dot in the graph display range based on the coordinate data.
10…計算装置、11…CPU、12…メモリ、12A…グラフ描画処理プログラム、12B…関数式記憶エリア、12C…変数値設定値エリア、12D…予備座標計算設定エリア、12E…演算結果/グラフ描画情報、13…表示部、14…タッチパネル、20…座標計算データ、22…グラフ描画情報、30…サーバ、N…通信ネットワーク。 10 ... calculation device, 11 ... CPU, 12 ... memory, 12A ... graph drawing processing program, 12B ... functional storage area, 12C ... variable value setting value area, 12D ... preliminary coordinate calculation setting area, 12E ... calculation result / graph drawing Information, 13 ... Display unit, 14 ... Touch panel, 20 ... Coordinate calculation data, 22 ... Graph drawing information, 30 ... Server, N ... Communication network.
Claims (15)
前記外部装置より取得した前記描画精度情報と、前記描画範囲情報と、前記グラフの関数式の情報とに基づいて、少なくとも前記描画範囲における前記グラフを表すプロット位置を示すプロット位置情報を取得する、グラフ情報生成装置。 The display includes drawing accuracy information indicating the drawing accuracy of the graph according to the resolution of the display on which the graph is drawn, drawing range information indicating the drawing range of the graph, and functional expression information of the graph to be drawn. Obtained from an external device
Based on the drawing accuracy information acquired from the external device, the drawing range information, and the information of the function expression of the graph, at least the plot position information indicating the plot position representing the graph in the drawing range is acquired. Graph information generator.
グラフを描画するディスプレイの解像度に応じた前記グラフの描画精度を示す描画精度情報と、前記グラフの描画範囲を示す描画範囲情報と、描画する前記グラフの関数式の情報とを、前記ディスプレイを備える外部装置より取得し、
前記外部装置より取得した前記描画精度情報と、前記描画範囲情報と、前記グラフの関数式の情報とに基づいて、少なくとも前記描画範囲における前記グラフを表すプロット位置を示すプロット位置情報を取得する、ことを含むグラフ情報生成方法。 A method performed by a graph information generator,
The display includes drawing accuracy information indicating the drawing accuracy of the graph according to the resolution of the display on which the graph is drawn, drawing range information indicating the drawing range of the graph, and functional expression information of the graph to be drawn. Obtained from an external device
Based on the drawing accuracy information acquired from the external device, the drawing range information, and the information of the function expression of the graph, at least the plot position information indicating the plot position representing the graph in the drawing range is acquired. Graph information generation method including that.
グラフを描画するディスプレイの解像度に応じた前記グラフの描画精度を示す描画精度情報と、前記グラフの描画範囲を示す描画範囲情報と、描画する前記グラフの関数式の情報とを、前記ディスプレイを備える外部装置より取得し、
前記外部装置より取得した前記描画精度情報と、前記描画範囲情報と、前記グラフの関数式の情報とに基づいて、少なくとも前記描画範囲における前記グラフを表すプロット位置を示すプロット位置情報を取得する、手段として機能させるためのプログラム。 The control means of the graph information generator,
The display includes drawing accuracy information indicating the drawing accuracy of the graph according to the resolution of the display on which the graph is drawn, drawing range information indicating the drawing range of the graph, and functional expression information of the graph to be drawn. Obtained from an external device
Based on the drawing accuracy information acquired from the external device, the drawing range information, and the information of the function expression of the graph, at least the plot position information indicating the plot position representing the graph in the drawing range is acquired. A program to function as a means.
グラフを描画する前記ディスプレイの解像度に応じた前記グラフの描画精度を示す描画精度情報と、前記グラフの描画範囲を示す描画範囲情報と、描画する前記グラフの関数式の情報とを、サーバが取得可能なように送信し、
送信された前記描画精度情報と、前記描画範囲情報と、前記関数式の情報とに基づいて前記サーバが生成する少なくとも前記描画範囲における前記グラフを表すプロット位置を示すプロット位置情報を、前記サーバより受信し、
受信した前記プロット位置情報と前記描画範囲情報とに基づいて、前記ディスプレイにグラフを描画する、グラフ描画装置。 It is a graph drawing device equipped with a display.
The server acquires drawing accuracy information indicating the drawing accuracy of the graph according to the resolution of the display for drawing the graph, drawing range information indicating the drawing range of the graph, and functional expression information of the graph to be drawn. Send as possible,
From the server, the plot position information indicating the plot position representing the graph in at least the drawing range generated by the server based on the transmitted drawing accuracy information, the drawing range information, and the information of the function expression is obtained from the server. Receive and
A graph drawing device that draws a graph on the display based on the received plot position information and the drawing range information.
グラフを描画するディスプレイの解像度に応じた前記グラフの描画精度を示す描画精度情報と、前記グラフの描画範囲を示す描画範囲情報と、描画する前記グラフの関数式の情報とを、サーバが取得可能なように送信し、
送信された前記描画精度情報と、前記描画範囲情報と、前記関数式の情報とに基づいて前記サーバが生成する少なくとも前記描画範囲における前記グラフを表すプロット位置を示すプロット位置情報を、前記サーバより受信し、
受信した前記プロット位置情報と前記描画範囲情報とに基づいて、前記ディスプレイにグラフを描画する、ことを含むグラフ描画方法。 It is a method executed by a graph drawing device.
The server can acquire drawing accuracy information indicating the drawing accuracy of the graph according to the resolution of the display on which the graph is drawn, drawing range information indicating the drawing range of the graph, and functional expression information of the graph to be drawn. Send as
From the server, the plot position information indicating the plot position representing the graph in at least the drawing range generated by the server based on the transmitted drawing accuracy information, the drawing range information, and the information of the function expression is obtained from the server. Receive and
A graph drawing method including drawing a graph on the display based on the received plot position information and the drawing range information.
グラフを描画するディスプレイの解像度に応じた前記グラフの描画精度を示す描画精度情報と、前記グラフの描画範囲を示す描画範囲情報と、描画する前記グラフの関数式の情報とを、サーバが取得可能なように送信し、
送信された前記描画精度情報と、前記描画範囲情報と、前記関数式の情報とに基づいて前記サーバが生成する少なくとも前記描画範囲における前記グラフを表すプロット位置を示すプロット位置情報を、前記サーバより受信し、
受信した前記プロット位置情報と前記描画範囲情報とに基づいて、前記ディスプレイにグラフを描画する、手段として機能させるためのプログラム。 The control means of the graph drawing device,
The server can acquire drawing accuracy information indicating the drawing accuracy of the graph according to the resolution of the display on which the graph is drawn, drawing range information indicating the drawing range of the graph, and functional expression information of the graph to be drawn. Send as
From the server, the plot position information indicating the plot position representing the graph in at least the drawing range generated by the server based on the transmitted drawing accuracy information, the drawing range information, and the information of the function expression is obtained from the server. Receive and
A program for drawing a graph on the display based on the received plot position information and the drawing range information, and making it function as a means.
前記グラフ描画システムは、ディスプレイを備えるグラフ描画装置と、前記グラフ描画装置と通信するグラフ情報生成装置とを含み、
グラフを描画する前記ディスプレイの解像度に応じた前記グラフの描画精度を示す描画精度情報を取得し、
取得した前記描画精度情報と、前記グラフの描画範囲を示す描画範囲情報と、描画する前記グラフの関数式の情報とに基づいて、少なくとも前記描画範囲における前記グラフを表すプロット位置を示すプロット位置情報を取得し、
取得した前記プロット位置情報と前記描画範囲情報とに基づいて、前記ディスプレイにグラフを描画する、グラフ描画方法。 The method performed by the graph drawing system,
The graph drawing system includes a graph drawing device including a display and a graph information generating device that communicates with the graph drawing device.
Obtain drawing accuracy information indicating the drawing accuracy of the graph according to the resolution of the display for drawing the graph.
Based on the acquired drawing accuracy information, drawing range information indicating the drawing range of the graph, and information of the function expression of the graph to be drawn, at least plot position information indicating the plot position representing the graph in the drawing range. To get,
A graph drawing method for drawing a graph on the display based on the acquired plot position information and the drawing range information.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020184094A JP7088260B2 (en) | 2020-11-04 | 2020-11-04 | Graph information generator, graph information generation method, graph drawing device, graph drawing method, and program |
| JP2022086470A JP7310980B2 (en) | 2020-11-04 | 2022-05-27 | Information processing device, graph display method and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020184094A JP7088260B2 (en) | 2020-11-04 | 2020-11-04 | Graph information generator, graph information generation method, graph drawing device, graph drawing method, and program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016185118A Division JP6790651B2 (en) | 2016-09-23 | 2016-09-23 | Computing device, graph display method of computing device, and program |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022086470A Division JP7310980B2 (en) | 2020-11-04 | 2022-05-27 | Information processing device, graph display method and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021012750A JP2021012750A (en) | 2021-02-04 |
| JP7088260B2 true JP7088260B2 (en) | 2022-06-21 |
Family
ID=74226506
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020184094A Active JP7088260B2 (en) | 2020-11-04 | 2020-11-04 | Graph information generator, graph information generation method, graph drawing device, graph drawing method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7088260B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000215176A (en) | 1999-01-25 | 2000-08-04 | Casio Comput Co Ltd | Electronic computing device and recording medium recording computation processing program |
| JP2013214162A (en) | 2012-03-30 | 2013-10-17 | Fujitsu Ltd | Image processing method, image processing device, and image processing program |
-
2020
- 2020-11-04 JP JP2020184094A patent/JP7088260B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000215176A (en) | 1999-01-25 | 2000-08-04 | Casio Comput Co Ltd | Electronic computing device and recording medium recording computation processing program |
| JP2013214162A (en) | 2012-03-30 | 2013-10-17 | Fujitsu Ltd | Image processing method, image processing device, and image processing program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2021012750A (en) | 2021-02-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6790651B2 (en) | Computing device, graph display method of computing device, and program | |
| US8300017B2 (en) | Mobile electronic apparatus with touch input device and display method using the same | |
| US10534527B2 (en) | Relative pen scroll | |
| US10019413B2 (en) | Systems, methods, and computer-readable media for providing a dynamic loupe for displayed information | |
| US20120066638A1 (en) | Multi-dimensional auto-scrolling | |
| US11402992B2 (en) | Control method, electronic device and non-transitory computer readable recording medium device | |
| US20150067469A1 (en) | Electronic apparatus and method for display control | |
| EP3610361B1 (en) | Multi-stroke smart ink gesture language | |
| US20140289672A1 (en) | Graph display apparatus, graph display method and storage medium having stored thereon graph display program | |
| TWI442305B (en) | A operation method and a system of the multi-touch | |
| JP2013196100A (en) | Drawing display device and drawing display program | |
| JP7088260B2 (en) | Graph information generator, graph information generation method, graph drawing device, graph drawing method, and program | |
| US9146666B2 (en) | Touch sensor navigation | |
| JP7310980B2 (en) | Information processing device, graph display method and program | |
| JP2004086744A (en) | Information processor and program | |
| JP2015022675A (en) | Electronic device, interface control method, and program | |
| JP6318794B2 (en) | Information processing apparatus and information processing program | |
| JP2017120518A (en) | Software development program and software development method | |
| US20250181234A1 (en) | Information processing system and server supporting remote desktop, control methods therefor, and storage media storing control programs therefor | |
| JP7844291B2 (en) | Information processing device, information processing method, and information processing program | |
| US20260004056A1 (en) | Information processing apparatus, information processing system, and information processing method | |
| US20250224857A1 (en) | Information processing apparatus, and control method | |
| CN119536887A (en) | Style conversion method, device, electronic device and computer storage medium | |
| US20230231957A1 (en) | Display method and display apparatus | |
| CN121433520A (en) | Touch screen devices and their operation control methods, computer-readable storage media |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201127 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20201127 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210908 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210914 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20211104 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220222 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220425 |
|
| 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: 20220510 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220523 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7088260 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |