JPH11161803A - Graph display device, its method and recording medium recording display program - Google Patents

Graph display device, its method and recording medium recording display program

Info

Publication number
JPH11161803A
JPH11161803A JP9344260A JP34426097A JPH11161803A JP H11161803 A JPH11161803 A JP H11161803A JP 9344260 A JP9344260 A JP 9344260A JP 34426097 A JP34426097 A JP 34426097A JP H11161803 A JPH11161803 A JP H11161803A
Authority
JP
Japan
Prior art keywords
graph
data
input
displayed
display
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.)
Abandoned
Application number
JP9344260A
Other languages
Japanese (ja)
Inventor
Makoto Ozawa
信 小沢
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 JP9344260A priority Critical patent/JPH11161803A/en
Publication of JPH11161803A publication Critical patent/JPH11161803A/en
Abandoned legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Calculators And Similar Devices (AREA)
  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

PROBLEM TO BE SOLVED: To display a graph expressing inputted data without previously specifying the sort of a regression graph. SOLUTION: When numeral data for plotting a graph are inputted by the operation of various keys in a key input part 12, a CPU 11 discriminates the number of inputted numerical data, calculates a functional expression of a degree corresponding to the number of numerical data and displays a graph on a display part 16 based on the calculated functional expression. Since the functional expression corresponding to the inputted data can be calculated without previously inputting specification for the degree of the functional expression, a graph suitably approximating plural inputted numerical data can easily be displayed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、入力されたデータ
に応じたグラフを描画するグラフ表示装置、グラフ表示
方法、及びグラフ表示プログラムを記録した記録媒体に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graph display device for drawing a graph according to input data, a graph display method, and a recording medium storing a graph display program.

【0002】[0002]

【従来の技術】従来、関数計算機能を備えた電子計算機
においては、表示可能な回帰グラフの種類(関数式の次
数)、さらには複数の数値データを入力してグラフの描
画を指示すると、入力された次数の関数式で表される、
複数の数値データを近似するグラフを表示させることが
できる。
2. Description of the Related Art Conventionally, in an electronic computer having a function calculating function, when a type of regression graph that can be displayed (the degree of a functional equation) and a plurality of numerical data are input to draw a graph, the input is performed. Expressed by a function expression of the given order,
A graph approximating a plurality of numerical data can be displayed.

【0003】例えば、電子計算機に複数の数値データを
入力すると、予め設定されたX,Y座標範囲において、
入力された複数の数値データがプロットされ、使用者に
指示された回帰グラフの種類(N次回帰)に応じて、プ
ロットされた複数の数値データに応じたグラフが表示画
面中のXY座標系に描画される。
For example, when a plurality of numerical data are input to a computer, a predetermined X, Y coordinate range is set.
A plurality of input numerical data are plotted, and a graph corresponding to the plotted plural numerical data is displayed on the XY coordinate system on the display screen according to the type of regression graph (N-order regression) instructed by the user. Is drawn.

【0004】[0004]

【発明が解決しようとする課題】このように従来のグラ
フ表示装置では、表示可能な回帰グラフの種類(関数式
の次数)、及び複数の数値データを入力することで、複
数の数値データを近似するグラフを表示することができ
た。しかしながら、複数の数値データに対して、どのよ
うな関数式を当てはめてグラフを作成するべきか不明で
ある場合、誤った関数式の次数を指定すると複数の数値
データを近似しないグラフが表示されてしまう。この場
合、グラフを表示させたとしても、入力した複数のデー
タがどのようなグラフ(関数式)によって表されるかを
容易に把握することができなくなってしまう。
As described above, in the conventional graph display device, a plurality of numerical data can be approximated by inputting a type of regression graph (order of a function formula) and a plurality of numerical data which can be displayed. You could display a graph. However, if it is not clear what kind of functional formula should be applied to multiple numerical data to create a graph, specifying an incorrect function formula order will display a graph that does not approximate multiple numerical data. I will. In this case, even if a graph is displayed, it is not possible to easily grasp what type of graph (functional expression) the plurality of input data is represented by.

【0005】本発明は、前記のような問題に鑑みなされ
たもので、回帰グラフの種類を予め指定することなく、
入力されたデータを表すグラフを表示させることが可能
なグラフ表示装置、グラフ表示方法、及びグラフ表示プ
ログラムを記録した記録媒体を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and does not require the type of regression graph to be specified in advance.
It is an object of the present invention to provide a graph display device, a graph display method, and a recording medium that stores a graph display program, which can display a graph representing input data.

【0006】[0006]

【課題を解決するための手段】本発明は、グラフを描画
するためのデータを入力するデータ入力手段と、このデ
ータ入力手段によって入力されたデータ数を判別するデ
ータ数判別手段と、このデータ数判別手段によって判別
されたデータ数に応じた次数の関数式を、前記データ入
力手段によって入力されたデータに応じて算出する関数
式算出手段と、この関数式算出手段によって算出された
関数式に基づいてグラフを表示するグラフ表示手段とを
具備したことを特徴とする。
According to the present invention, there is provided a data input means for inputting data for drawing a graph, a data number determining means for determining the number of data input by the data input means, A function formula calculating means for calculating a function equation of an order corresponding to the number of data determined by the determining means in accordance with the data input by the data input means; and a function formula calculated by the function formula calculating means. And a graph display means for displaying a graph.

【0007】つまり、入力されたデータに応じたグラフ
を表示させる場合に、入力されたデータ数に応じてグラ
フの種類(関数式の次数)が決定されるため、予め関数
式の次数についての指定を入力する必要がなく、また入
力されたデータに応じた関数式が算出されるので、入力
された複数の数値データを適切に近似するグラフが表示
される。
In other words, when displaying a graph corresponding to the input data, the type of the graph (the order of the functional expression) is determined according to the number of input data. Need not be input, and since a function expression corresponding to the input data is calculated, a graph that appropriately approximates the plurality of input numerical data is displayed.

【0008】また、前記データ入力手段によってデータ
が入力される毎に、前記データ数判別手段によって判別
されたデータ数に応じた次数の関数式に基づいてグラフ
を表示することを特徴とする。これにより、データが入
力される毎に、それまでに入力されたデータに応じたグ
ラフが表示されるため、グラフの変形が行われることに
なる。
Each time data is input by the data input means, a graph is displayed based on a function equation of an order corresponding to the number of data determined by the data number determining means. Thus, every time data is input, a graph corresponding to the data input up to that time is displayed, so that the graph is deformed.

【0009】[0009]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。図1は本発明の実施の形態
に係わるグラフ表示装置の電子回路の構成を示すブロッ
ク図である。本グラフ表示装置は、各種の記録媒体に記
録されたプログラムを読み込み、この読み込んだプログ
ラムによって動作が制御されるコンピュータによって構
成される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an electronic circuit of the graph display device according to the embodiment of the present invention. The present graph display device is configured by a computer that reads programs recorded on various recording media, and whose operation is controlled by the read programs.

【0010】図1に示すように、本実施形態におけるグ
ラフ表示装置は、CPU11、キー入力部12、ROM
13、RAM14、表示駆動回路15、表示部16、位
置検出回路17、タブレット18、及び記録媒体読取り
部20によって構成されている。
As shown in FIG. 1, a graph display device according to this embodiment includes a CPU 11, a key input unit 12, a ROM,
13, a RAM 14, a display drive circuit 15, a display unit 16, a position detection circuit 17, a tablet 18, and a recording medium reading unit 20.

【0011】CPU11は、装置全体の制御を司るもの
で、キー入力部12からのキー操作信号に応じて、ある
いは位置検出回路17によって検出された位置検出信号
に応じて、ROM13に予め記憶されているシステムプ
ログラムを起動させ、このシステムプログラムに従って
グラフ表示処理を実行し、各種の動作モードに応じた動
作制御を行なうものである。CPU11には、キー入力
部12、ROM13の他、RAM14が接続されると共
に、表示駆動回路15を介して表示部16が接続され、
位置検出回路17を介してタブレット18が接続され
る。また、CPU11には、記録媒体読取り部20が接
続される。
The CPU 11 controls the entire apparatus, and is stored in advance in the ROM 13 in response to a key operation signal from the key input unit 12 or a position detection signal detected by the position detection circuit 17. The system program is started, a graph display process is executed according to the system program, and operation control according to various operation modes is performed. The CPU 11 is connected to a RAM 14 in addition to the key input unit 12 and the ROM 13, and is connected to a display unit 16 via a display drive circuit 15.
The tablet 18 is connected via the position detection circuit 17. Further, a recording medium reading unit 20 is connected to the CPU 11.

【0012】なお、CPU11は、ROM13に記憶さ
れたプログラムに限らず、記録媒体読取り部20によっ
て記録媒体21に記録されているプログラムを読み込
み、RAM14に記憶させて実行することもできる。
Note that the CPU 11 is not limited to the program stored in the ROM 13, and may read the program recorded in the recording medium 21 by the recording medium reading unit 20 and store the program in the RAM 14 for execution.

【0013】キー入力部12は、グラフ表示装置の動作
を規定する指示やデータを入力するもので、数値キー、
文字キー、記号キー等が含まれるデータ入力キー12
a、グラフ表示のためのデータ(数値データ)を入力す
るデータ入力用の画面を表示させるためのデータキー1
2b(「データ」)、入力されたデータに対応するグラ
フの描画の開始を指示するためのグラフキー12c
(「グラフ」)、表示されているグラフを表示画面中に
おいて移動させる処理の開始を指示するための移動キー
12d(「移動」)、表示されているグラフを表示画面
中において入力データに応じて変形させるための変形キ
ー12e(「変形」)、表示されているグラフの変形の
終了の他、各種処理の確定を指示するための確定キー1
2f(「確定」)、各種選択や指定を行なうためのカー
ソルキー12gが設けられている。なお、図示していな
いが、各種の機能を実行するためのファンクションキー
の他、各種のキーが設けられているものとする。
The key input unit 12 is for inputting instructions and data for defining the operation of the graph display device, and includes numerical keys,
Data input keys 12 including character keys, symbol keys, etc.
a, a data key 1 for displaying a data input screen for inputting data (numerical data) for graph display
2b ("data"), a graph key 12c for instructing the start of drawing a graph corresponding to the input data
(“Graph”), a move key 12d (“Move”) for instructing the start of processing for moving the displayed graph in the display screen, and displaying the displayed graph in accordance with input data in the display screen. A transformation key 12e (“deformation”) for transforming, and a decision key 1 for instructing the completion of the transformation of the displayed graph and the decision of various processes.
2f ("confirm"), and cursor keys 12g for various selections and designations are provided. Although not shown, it is assumed that various keys are provided in addition to the function keys for executing various functions.

【0014】ROM13は、グラフ表示装置の全体の制
御を司るシステムプログラムの他、各種の動作モードに
対応した制御処理プログラム等が予め記憶される。RA
M14は、グラフ表示装置において扱われる各種のデー
タを記憶するもので、表示レジスタ14a、指定式レジ
スタ14b、式レジスタ14c、データレジスタ14
d、グラフ描画レジスタ14e、グラフ上フラグ14
f、座標記憶レジスタA14g、座標記憶レジスタB1
4h等が設けられている。
The ROM 13 stores in advance, in addition to a system program for controlling the entire operation of the graph display device, control processing programs and the like corresponding to various operation modes. RA
M14 stores various data handled in the graph display device, and includes a display register 14a, a designated expression register 14b, an expression register 14c, and a data register 14.
d, graph drawing register 14e, graph flag 14
f, coordinate storage register A14g, coordinate storage register B1
4h and the like are provided.

【0015】表示レジスタ14aには、表示部16に表
示すべき表示データがビットマップデータとして展開さ
れて記憶される。指定式レジスタ14bには、キー入力
部12に対する操作によって複数の関数式(N次の回帰
関数(N=1,2,3,…))から選択されたグラフの
表示対象となる関数式を示すデータが入力される。
Display data to be displayed on the display section 16 is developed and stored as bitmap data in the display register 14a. The designated formula register 14b indicates a functional formula to be displayed on a graph selected from a plurality of functional formulas (N-order regression functions (N = 1, 2, 3,...)) By operating the key input unit 12. The data is entered.

【0016】式レジスタ14cには、キー入力部12に
対する操作によって入力されたデータに応じて求められ
た関数式(回帰関数)等のデータが記憶される。データ
レジスタ14dには、グラフ表示を行なうために入力さ
れたデータが記憶されるもので、X座標値とY座標値に
よる数値データが記憶される。
The equation register 14c stores data such as a function equation (regression function) obtained in accordance with data input by operating the key input section 12. The data register 14d stores data input for displaying a graph, and stores numerical data based on an X coordinate value and a Y coordinate value.

【0017】グラフ描画レジスタ14eは、式レジスタ
14cに記憶された式データに応じて、グラフを描画
(展開)するために利用されるワークエリアである。グ
ラフ上フラグ14fは、表示されたグラフを表示画面上
で移動させる処理を実行する際に、移動の基準とするグ
ラフ上の点(指定点)が指定された状態にあることを示
すフラグFである。
The graph drawing register 14e is a work area used for drawing (developing) a graph according to the formula data stored in the formula register 14c. The on-graph flag 14f is a flag F indicating that a point (designated point) on the graph as a reference for movement is in a designated state when executing a process of moving the displayed graph on the display screen. is there.

【0018】座標記憶レジスタA14gには、表示され
たグラフを表示画面上で移動させる処理を実行する際
に、移動の基準として指定された移動開始前の点の座標
が記憶される。
In the coordinate storage register A14g, the coordinates of a point before the start of movement specified as a movement reference when the process of moving the displayed graph on the display screen is stored.

【0019】座標記憶レジスタB14hには、表示され
たグラフを表示画面上で移動させる処理を実行する際
に、移動の基準として指定された移動開始後の点の座標
が記憶される。
In the coordinate storage register B14h, the coordinates of a point after the start of movement designated as a reference for movement when the process of moving the displayed graph on the display screen is stored.

【0020】表示駆動回路15は、CPU11の制御の
もとでRAM14に記憶された各種データに基づいて、
表示部16におけるグラフや関数式等の表示を駆動制御
する。
The display drive circuit 15 is controlled by the CPU 11 based on various data stored in the RAM 14 to
The display section 16 drives and controls the display of graphs, function expressions, and the like.

【0021】表示部16は、例えばカラー表示が可能な
液晶ディスプレイで構成され、表示駆動回路15の制御
のもとで各種表示を行なう。位置検出回路17は、タブ
レット18によって発生された電圧信号に基づき、表示
画面に対応させた座標を検出し、座標データとしてCP
U11に通知する。
The display section 16 is composed of, for example, a liquid crystal display capable of color display, and performs various displays under the control of the display drive circuit 15. The position detection circuit 17 detects the coordinates corresponding to the display screen based on the voltage signal generated by the tablet 18 and outputs the coordinates as the coordinate data.
Notify U11.

【0022】タブレット18は、表示部16の表示画面
上に重ねて設けられ、ペン19によってタッチされた位
置に応じた電圧信号を発生して位置検出回路17に出力
する。
The tablet 18 is provided on the display screen of the display unit 16, generates a voltage signal corresponding to the position touched by the pen 19, and outputs the voltage signal to the position detection circuit 17.

【0023】記録媒体読取り部20は、記録媒体21に
対してプログラムやデータの書き込み/読出しを行な
う。記録媒体21としては、例えばフロッピーディス
ク、ハードディスク、CD−ROM、DVDなどの各種
のものが利用できる。
The recording medium reading section 20 writes / reads a program or data on / from the recording medium 21. As the recording medium 21, for example, various media such as a floppy disk, a hard disk, a CD-ROM, and a DVD can be used.

【0024】次に、前述した構成によるグラフ表示装置
の動作について説明する。図2乃至図4はグラフ表示装
置によるグラフ表示処理を示すフローチャートである。
Next, the operation of the graph display device having the above-described configuration will be described. 2 to 4 are flowcharts showing the graph display processing by the graph display device.

【0025】まず、グラフ表示装置のシステム電源が投
入され、モードキー(図示せず)に対する操作によって
グラフ表示モードが選択されたものとする。本実施形態
におけるグラフ表示装置には、グラフ表示モードに回帰
グラフ(回帰関数に基づくグラフ)を表示する回帰グラ
フモードが設けられている。
First, it is assumed that the system power of the graph display device is turned on, and the graph display mode is selected by operating a mode key (not shown). The graph display device according to the present embodiment is provided with a regression graph mode for displaying a regression graph (a graph based on a regression function) in the graph display mode.

【0026】回帰グラフモードが選択されると、CPU
11は、ROM13に記憶された各種の制御処理プログ
ラムの中から回帰グラフモードに対応する制御処理プロ
グラムを起動して、モードに対応する初期画面を、表示
駆動回路15に対する制御により表示部16において表
示させる。
When the regression graph mode is selected, the CPU
11 starts a control processing program corresponding to the regression graph mode from various control processing programs stored in the ROM 13 and displays an initial screen corresponding to the mode on the display unit 16 by controlling the display drive circuit 15. Let it.

【0027】ここで、キー入力部12のデータキー12
bが押下され(ステップA1)、グラフデータ入力の実
行が指示されると、CPU11は、回帰グラフ表示のた
めのデータ入力用の画面を表示させる。
Here, the data key 12 of the key input unit 12
When b is pressed (step A1) and execution of graph data input is instructed, the CPU 11 displays a data input screen for displaying a regression graph.

【0028】図5には、データキー12bが押下された
時のデータ入力用の画面と、データ入力操作の手順(キ
ー入力部12において操作されるキー順)の一例を示し
ている。データ入力用の画面には、XY座標系における
座標点を示すX座標値とY座標値を入力する欄が設けら
れている。
FIG. 5 shows an example of a data input screen when the data key 12b is pressed, and an example of a data input operation procedure (the order of keys operated in the key input unit 12). The data input screen is provided with a field for inputting an X coordinate value and a Y coordinate value indicating a coordinate point in the XY coordinate system.

【0029】キー入力部12のデータキー12bが押下
され、データ入力用の画面が表示された後に、データ入
力キー12a中の数値キーが押下されると、CPU11
は、押下された数値キーに応じた数値データを入力し
て、RAM14のデータレジスタ14dに一時的に記憶
すると共に、表示画面中の現在のカーソル位置に数値を
表示する(ステップA2)。ここでは、少なくとも2つ
以上の数値データが入力されるものとする。
After the data key 12b of the key input section 12 is pressed and a data input screen is displayed, when the numeric key in the data input key 12a is pressed, the CPU 11
Inputs numerical data corresponding to the pressed numerical key, temporarily stores the numerical data in the data register 14d of the RAM 14, and displays the numerical value at the current cursor position on the display screen (step A2). Here, it is assumed that at least two or more numerical data are input.

【0030】図5(b)に示すように、数値キーとカー
ソルキー12gとを組合わせた操作によって、複数の座
標点のX座標値とY座標値がそれぞれ入力される。図5
(b)は、3点の座標点が入力された状態の一例を示し
ている。
As shown in FIG. 5B, an X coordinate value and a Y coordinate value of a plurality of coordinate points are input by an operation in which a numerical key and a cursor key 12g are combined. FIG.
(B) shows an example of a state where three coordinate points have been input.

【0031】こうして、入力された複数の座標点に対し
ては、表示すべきグラフの回帰関数を指定することなく
グラフ表示することもできるし、また予め用意された複
数の回帰関数から選択された回帰関数に応じてグラフ表
示することもできる。
In this way, a plurality of input coordinate points can be displayed in a graph without specifying a regression function of a graph to be displayed, or selected from a plurality of regression functions prepared in advance. A graph can be displayed according to the regression function.

【0032】回帰関数が予め選択される場合には、回帰
グラフを選択するための回帰グラフメニューの表示が指
示される。回帰グラフメニューとしては、表示可能な複
数の回帰関数(回帰グラフ)の種類(1次、2次、3
次、4次、…)を示す項目(x、x2 、x3 、x4
…)が設けられる。各項目は、キー入力部12に設けら
れた複数のファンクションキー(図示せず)に対応して
おり、ファンクションキーが押下されることで選択され
る。
When a regression function is selected in advance, display of a regression graph menu for selecting a regression graph is instructed. The regression graph menu includes the types of regression functions (regression graphs) that can be displayed (primary, secondary,
, Quaternary,...) (X, x 2 , x 3 , x 4 ,
...) are provided. Each item corresponds to a plurality of function keys (not shown) provided in the key input unit 12, and is selected by pressing the function key.

【0033】CPU11は、関数式が選択された場合に
は、RAM14の指定式レジスタ14bに記憶してお
く。なお、回帰グラフメニューは、表示の指示があった
場合に表示させるのではなく、選択可能な状況となった
タイミングで自動的に表示させるようにしても良い。ま
た、ファンクションキーによる操作ではなく、グラフ表
示用の表示画面の下部領域に回帰グラフメニューを表示
させて、ペン19を用いたタブレット18に対する操作
によって指示されるようにしても良い。
When the function formula is selected, the CPU 11 stores it in the designation formula register 14b of the RAM 14. The regression graph menu may not be displayed when a display instruction is issued, but may be automatically displayed at a timing when a selectable situation is reached. Instead of using the function keys, a regression graph menu may be displayed in the lower area of the display screen for displaying graphs, and an instruction may be given by operating the tablet 18 using the pen 19.

【0034】ここで、グラフキー12cが押下されてグ
ラフ表示の実行が指示されると(ステップA3)、CP
U11は、予め回帰グラフメニューからグラフ表示の関
数式が選択されているか否かを、RAM14の指定式レ
ジスタ14bを参照して判別する(ステップA4)。
Here, when the graph key 12c is depressed and the execution of the graph display is instructed (step A3), the CP
U11 determines whether or not a function expression for graph display has been selected in advance from the regression graph menu with reference to the designation expression register 14b of the RAM 14 (step A4).

【0035】関数式が選択されている場合、CPU11
は、選択された回帰でデータレジスタ14dに記憶され
た数値データに基づいて関数式を算出する。CPU11
は、選択された回帰に応じて算出した式の式データを、
RAM14の式レジスタ14cに記憶させると共に、こ
の式データに基づいて、表示するグラフをグラフ描画レ
ジスタ14eにおいて作成し、表示部16において表示
させる(ステップA6)。
When the function formula is selected, the CPU 11
Calculates a functional expression based on the numerical data stored in the data register 14d in the selected regression. CPU11
Is the formula data of the formula calculated according to the selected regression,
The data is stored in the formula register 14c of the RAM 14, and based on the formula data, a graph to be displayed is created in the graph drawing register 14e and displayed on the display unit 16 (step A6).

【0036】入力された数値データをもとにしたグラフ
表示を行なう場合、CPU11は、データレジスタ14
dに記憶された入力数値データの最大値と最小値を検出
し、この検出した最大値と最小値によってグラフを描画
するレンジを設定する。すなわち、表示部16のグラフ
表示用の表示画面において、入力された数値データに応
じたグラフが適切な範囲において表示できるように、X
座標軸とY座標軸のそれぞれの最大値、最小値の表示位
置と、変化間隔(ピッチ)を設定する。CPU11は、
前述のような設定を行なった上でグラフを表示させる。
When performing a graph display based on the input numerical data, the CPU 11
The maximum value and the minimum value of the input numerical data stored in d are detected, and a range for drawing a graph is set based on the detected maximum value and minimum value. That is, on the graph display screen of the display unit 16, X is set so that a graph corresponding to the input numerical data can be displayed in an appropriate range.
The display position and the change interval (pitch) of the maximum value and the minimum value of each of the coordinate axis and the Y coordinate axis are set. The CPU 11
After setting as described above, a graph is displayed.

【0037】一方、関数式が選択されていない場合、C
PU11は、データレジスタ14dを参照して入力され
た数値データ(座標データ)の数を検出する(ステップ
A5)。
On the other hand, when no function formula is selected, C
The PU 11 detects the number of input numerical data (coordinate data) with reference to the data register 14d (Step A5).

【0038】ここで、入力されたデータ数が2つであっ
た場合(ステップA7)、CPU11は、データレジス
タ14dに記憶された2つの数値データに基づいて、一
次の関数式を算出する(ステップA8)。同様にして、
入力されたデータ数が3つであった場合には二次の関数
式を算出し(ステップA7,A9)、データ数が4つで
あった場合には三次の関数式を算出し(ステップA7,
A10)、データ数が5つであった場合には、四次の関
数式を算出する(ステップA7,A11)。
If the number of input data is two (step A7), the CPU 11 calculates a first-order function formula based on the two numerical data stored in the data register 14d (step A7). A8). Similarly,
If the number of input data is three, a quadratic function is calculated (steps A7 and A9), and if the number of data is four, a cubic function is calculated (step A7). ,
A10) If the number of data is 5, a fourth-order function formula is calculated (steps A7 and A11).

【0039】CPU11は、算出した式の式データを、
RAM14の式レジスタ14cに記憶させると共に、グ
ラフを作成し、表示部16において表示させる(ステッ
プA12)。また、CPU11は、入力された数値デー
タ数に応じて算出された関数式をグラフ表示用の画面の
所定の位置に表示させる。
The CPU 11 converts the equation data of the calculated equation into
The data is stored in the expression register 14c of the RAM 14, and a graph is created and displayed on the display unit 16 (step A12). Further, the CPU 11 displays a function formula calculated in accordance with the number of input numerical data at a predetermined position on a graph display screen.

【0040】例えば、図5(b)に示す例では、3つの
座標データが入力されているため二次の関数式が算出さ
れる。従って、数値データの入力後に、グラフキー12
cによってグラフ表示の実行が指示されると、図5
(c)に示すように、二次関数によるグラフが表示され
ると共に、関数式「Y1=x2 −3x+2」が表示され
る。
For example, in the example shown in FIG. 5B, a quadratic function formula is calculated because three coordinate data are input. Therefore, after inputting the numerical data, the graph key 12
When the execution of the graph display is instructed by c, FIG.
As shown in (c), a graph by a quadratic function is displayed, and a function formula “Y1 = x 2 −3x + 2” is displayed.

【0041】このように、表示すべき回帰グラフの種類
(関数式)を指定しなくても、自動的に入力された数値
データ数に応じた次数の関数式を算出して、グラフを表
示させることができるので、複数の数値データに対し
て、どのような関数式を当てはめてグラフを作成するべ
きか不明である場合であっても、適切な次数の関数式に
基づくグラフを表示させることができる。従って、グラ
フを表示させるまでの操作数も少なくなり、入力した複
数のデータがどのようなグラフ(関数式)によって表さ
れるかを容易に把握することができる。
As described above, even if the type (function formula) of the regression graph to be displayed is not specified, a function formula of an order corresponding to the number of input numerical data is automatically calculated and the graph is displayed. It is possible to display a graph based on a function expression of an appropriate order even if it is not clear what kind of function expression should be applied to multiple numerical data to create a graph. it can. Therefore, the number of operations until the graph is displayed is reduced, and it is possible to easily understand what graph (functional expression) the plurality of input data is represented by.

【0042】次に、前述のようにして表示されたグラフ
に対する処理(移動、変形)について説明する。まず、
図3に示すフローチャートを参照しながら、グラフの移
動の処理について説明する。
Next, the processing (movement, deformation) for the graph displayed as described above will be described. First,
The processing of moving the graph will be described with reference to the flowchart shown in FIG.

【0043】キー入力部12の移動キー12dが押下さ
れ(図3、ステップA15)、グラフ移動の実行が指示
されると、CPU11は、グラフ移動モードに移行す
る。グラフ移動モードでは、ペン19による操作に応じ
て、表示部16において表示されているグラフを移動さ
せることができる。
When the move key 12d of the key input section 12 is pressed (step A15 in FIG. 3) and execution of graph movement is instructed, the CPU 11 shifts to a graph movement mode. In the graph movement mode, the graph displayed on the display unit 16 can be moved according to an operation by the pen 19.

【0044】グラフ移動モードにおいて、タブレット1
8に対するペン19による操作により、位置検出回路1
7からペンON(ペン19のペン先がタブレット18の
座標検出面上に接触した状態)したことが通知されると
(ステップA16)、CPU11は、現在、グラフを表
示中であるか否かを判別する。
In the graph movement mode, the tablet 1
The position detection circuit 1 is operated by operating the pen 19 on the position detection circuit 8.
When notified that the pen has been turned on (a state in which the pen tip of the pen 19 is in contact with the coordinate detection surface of the tablet 18) from step 7 (step A16), the CPU 11 determines whether the graph is currently being displayed. Determine.

【0045】グラフ表示中であった場合には、CPU1
1は、ペンONされた位置の座標を検出する(ステップ
A18)。さらに、CPU11は、検出された座標に最
も近い、グラフ表示用の座標系における整数の座標を算
出する(ステップA19)。CPU11は、算出した座
標をもとにして指定された点(指定点)を表示させると
共に、グラフ表示用の座標系における指定された座標値
を表示する(ステップA20)。指定点は、表示された
グラフ上にある場合には、グラフを表示画面上で移動さ
せる処理を実行する際の基準点なる。
When a graph is being displayed, the CPU 1
1 detects the coordinates of the position where the pen is turned on (step A18). Further, the CPU 11 calculates an integer coordinate closest to the detected coordinate in the graph display coordinate system (step A19). The CPU 11 displays the designated point (designated point) based on the calculated coordinates, and also displays the designated coordinate value in the graph display coordinate system (step A20). When the designated point is on the displayed graph, the designated point is a reference point when executing a process of moving the graph on the display screen.

【0046】また、CPU11は、RAM14のグラフ
上フラグ14f(フラグF)を参照して、フラグFが
“1”となっているか、すなわちグラフ上で指定点が既
に指定された状態にあるかを判別する(ステップA2
1)。
The CPU 11 refers to the flag 14f (flag F) on the graph in the RAM 14 to determine whether the flag F is "1", that is, whether the specified point has already been specified on the graph. Determine (Step A2)
1).

【0047】フラグFが“0”であった場合には、CP
U11は、ペン19によって指定された指定点がグラフ
上にあるかを、現在、表示中のグラフに対応する式レジ
スタ14cに記憶された式データを用いて判別する(ス
テップA22)。
If the flag F is "0", the CP
U11 determines whether the designated point designated by the pen 19 is on the graph using the equation data stored in the equation register 14c corresponding to the currently displayed graph (step A22).

【0048】指定点がグラフ上にないと判別された場
合、CPU11は、そのまま継続してペン19による位
置指示を入力する。例えば、表示されているグラフに対
して、ペン19をタブレット18上において軌跡がグラ
フの線と交差するように移動させることで、ステップA
22において、入力された座標がグラフ上にあると判別
され、グラフを移動させるための基準となる指定点がグ
ラフ上に設定される。
When it is determined that the designated point is not on the graph, the CPU 11 continues to input a position instruction with the pen 19 as it is. For example, by moving the pen 19 on the tablet 18 so that the locus intersects the line of the graph with respect to the displayed graph, the step A is performed.
At 22, it is determined that the input coordinates are on the graph, and a designated point serving as a reference for moving the graph is set on the graph.

【0049】ペン19によってグラフ上の座標が指示さ
れると(ステップA22)、CPU11は、グラフ上で
指定点が設定された状態にあることを示すように、RA
M14のグラフ上フラグ14f(フラグF)を“1”に
すると共に、グラフが移動される前の指定点の座標をR
AM14の座標記憶レジスタA14gに保存する(ステ
ップA24)。
When the coordinates on the graph are designated by the pen 19 (step A22), the CPU 11 causes the RA to indicate that the designated point has been set on the graph.
The flag 14f (flag F) on the graph of M14 is set to “1”, and the coordinates of the designated point before the graph is moved are set to R.
The data is stored in the coordinate storage register A14g of the AM 14 (step A24).

【0050】CPU11は、ペン19がペンOFF(ペ
ン19のペン先がタブレット18の座標検出面から離れ
た状態)となるまで(ステップA27)、そのまま継続
してペン19による位置指示を入力する(ステップA1
8,A19,A20)。
The CPU 11 continues to input a position instruction by the pen 19 until the pen 19 is turned off (pen A is away from the coordinate detection surface of the tablet 18) (step A27). Step A1
8, A19, A20).

【0051】グラフ上フラグ14f(フラグF)が
“1”となっている状態では(ステップA21)、CP
U11は、ペン19によって指定されるグラフ上の指定
点の位置の移動と共に、グラフを例えば仮想的な線によ
って移動先において表示する(ステップA25)。ま
た、CPU11は、移動された指定点の座標を座標記憶
レジスタB14hに保存する(ステップA26)。
When the flag 14f (flag F) on the graph is "1" (step A21), the CP
U11 moves the position of the designated point on the graph designated by the pen 19 and displays the graph at the destination by, for example, a virtual line (step A25). Further, the CPU 11 stores the coordinates of the moved designated point in the coordinate storage register B14h (step A26).

【0052】任意の位置までペン19による指示位置が
移動されて、ペンOFFされると(ステップA27)、
CPU11は、座標記憶レジスタA14gに保存されて
いるグラフの移動前の指定点の座標点を、座標記憶レジ
スタB14hに保存されているグラフの移動先として指
定された指定点の座標点に移動させたグラフを作成する
(ステップA29)。
When the position indicated by the pen 19 is moved to an arbitrary position and the pen is turned off (step A27),
The CPU 11 moves the coordinate point of the designated point before the movement of the graph stored in the coordinate storage register A14g to the coordinate point of the designated point designated as the destination of the graph stored in the coordinate storage register B14h. A graph is created (step A29).

【0053】また、CPU11は、グラフ移動前の指定
点の座標点と移動後の指定点の座標点の変化量と、式レ
ジスタ14cに記憶された式データに基づいて、移動後
のグラフの関数式を算出する(ステップA30)。
Further, the CPU 11 calculates the function of the graph after the movement based on the amount of change between the coordinate point of the specified point before the movement of the graph and the coordinate point of the specified point after the movement, and the expression data stored in the expression register 14c. An equation is calculated (step A30).

【0054】CPU11は、ステップA29において作
成したグラフと、ステップA30において算出した関数
式とを表示部16において表示させる(ステップA3
1)。これにより、グラフの移動が完了したので、CP
U11は、グラフ上フラグ14f(フラグF)を“0”
にすると共に、座標記憶レジスタA14gをクリアする
(ステップA32)。
The CPU 11 causes the display unit 16 to display the graph created in step A29 and the function formula calculated in step A30 (step A3).
1). This completes the movement of the graph.
U11 sets the flag 14f (flag F) on the graph to "0".
And the coordinate storage register A14g is cleared (step A32).

【0055】図6には、グラフ移動モードにおけるグラ
フの移動の具体例を示している。この具体例は、図6
(a)に示すように、複数のグラフが表示された状態で
移動キー12dが押下され、グラフ移動モードへの移行
が指示された場合を示している。
FIG. 6 shows a specific example of graph movement in the graph movement mode. This specific example is shown in FIG.
As shown in (a), the case where the move key 12d is pressed while a plurality of graphs are displayed and an instruction to shift to the graph move mode is given is shown.

【0056】グラフ移動モードにおいて、図6(b)に
示すように、グラフ上で座標点が指定されると、移動対
象とするグラフが特定されると共に、グラフ移動の基準
とする指定点がグラフ上に設定される。
In the graph movement mode, as shown in FIG. 6B, when a coordinate point is specified on the graph, the graph to be moved is specified, and the specified point as the reference of the graph movement is changed. Set above.

【0057】この指定点が設定された状態でペン19が
移動されると、図6(c)に示すように、ペン19のペ
ン先の位置の移動に伴って、対象とするグラフが追随す
るように移動される。
When the pen 19 is moved in a state where the designated point is set, as shown in FIG. 6C, the target graph follows the movement of the pen tip position of the pen 19. To be moved.

【0058】こうしてペン19のペン先が任意の位置ま
で移動され、ペンオフされると、図6(d)に示すよう
に、移動先においてグラフが表示されると共に、移動先
におけるグラフを表す関数式が表示される。
When the pen tip of the pen 19 is moved to an arbitrary position and the pen is turned off, a graph is displayed at the destination as shown in FIG. 6D, and a function expression representing the graph at the destination is displayed. Is displayed.

【0059】このようにして、表示されたグラフについ
ては、簡単な操作によってグラフ表示画面中において任
意に移動させることができる。従って、図6(e)に示
すように、ある複数の数値データがあった場合に、それ
らの数値データがどのようなグラフによって表されるか
を、各数値データの座標がプロットされたグラフ表示画
面中でグラフを移動させて当てはめて確認するといった
こともできる。
The displayed graph can be arbitrarily moved on the graph display screen by a simple operation. Therefore, as shown in FIG. 6E, when there are a plurality of numerical data, a graph display in which the coordinates of each numerical data are plotted is used to show what kind of graph these numerical data are represented. You can also move the graph on the screen and check the fit.

【0060】なお、グラフの移動を行なう場合には、明
示的に移動キー12dの操作によってグラフ表示装置に
グラフの移動実行を指示しているが、グラフ表示が行な
われている時には移動実行を指示することなく、ペン1
9によるタブレット18に対する操作によって、表示さ
れたグラフを移動させるようにしても良い。
When the graph is moved, the operation of moving the graph is explicitly instructed to the graph display device by operating the move key 12d, but when the graph is displayed, the movement is instructed. Pen 1 without doing
The displayed graph may be moved by the operation of the tablet 9 by the user 9.

【0061】この場合、グラフ表示中にペン19の操作
によって座標データが入力された時に、グラフの移動の
実行が指示されたものと判別し、入力された座標データ
をもとにグラフ上の指定点を求め、以下、前述したよう
な動作を行なうものとする。
In this case, when the coordinate data is input by operating the pen 19 while the graph is being displayed, it is determined that the execution of the movement of the graph is instructed, and the designation on the graph is performed based on the input coordinate data. The points are obtained, and the operation described above is performed.

【0062】次に、図4に示すフローチャートを参照し
ながら、グラフの変形の処理について説明する。キー入
力部12の変形キー12eが押下され(図3、ステップ
A14)、グラフ変形の実行が指示されると、CPU1
1は、グラフ変形モードに移行する。グラフ変形モード
では、入力される数値データに応じて、表示部16にお
いて表示されているグラフを変形させることができる。
Next, the processing for transforming the graph will be described with reference to the flowchart shown in FIG. When the deformation key 12e of the key input unit 12 is pressed (step A14 in FIG. 3) and execution of graph deformation is instructed, the CPU 1
1 shifts to the graph deformation mode. In the graph deformation mode, the graph displayed on the display unit 16 can be deformed according to the input numerical data.

【0063】本実施形態におけるグラフ変形モードで
は、現在、表示されているグラフを表示するために入力
された数値データに関係なく、新たに入力された数値デ
ータに応じてグラフを作成する第1の方法と、それまで
に入力された数値データを含めて、新たに入力あるいは
削除された数値データに応じてグラフを作成する第2の
方法があるものとする。ここでは、第1の方法を例にし
て説明する。
In the graph deformation mode in the present embodiment, a first graph for creating a graph in accordance with newly input numerical data regardless of numerical data input to display the currently displayed graph. It is assumed that there is a method and a second method of creating a graph in accordance with newly input or deleted numerical data, including numerical data input so far. Here, the first method will be described as an example.

【0064】グラフ変形モードの実行が指示されると、
CPU11は、現在、グラフを表示中であるか否かを判
別する(ステップA33)。グラフ表示中であった場合
には、CPU11は、表示されているグラフの中で変形
対象とするグラフを選択させる(ステップA34)。な
お、複数のグラフから特定のグラフを選択させるために
は、どのような方法を用いても良い。表示されているグ
ラフが1つであった場合には、無条件に変形の対象とし
て設定する。
When execution of the graph transformation mode is instructed,
The CPU 11 determines whether a graph is currently being displayed (step A33). If the graph is being displayed, the CPU 11 allows the user to select a graph to be transformed from the displayed graphs (step A34). Note that any method may be used to select a specific graph from a plurality of graphs. If only one graph is displayed, the graph is unconditionally set as an object to be transformed.

【0065】ここで、データ入力キー12a中の数値キ
ーが押下され、グラフ表示のための数値データが入力さ
れると(ステップA35)、CPU11は、押下された
数値キーに応じた数値データを入力して、RAM14の
データレジスタ14dに一時的に記憶する(ステップA
36)。
Here, when a numerical key in the data input keys 12a is pressed and numerical data for displaying a graph is input (step A35), the CPU 11 inputs numerical data corresponding to the pressed numerical key. And temporarily stores it in the data register 14d of the RAM 14 (step A
36).

【0066】CPU11は、データレジスタ14dを参
照して入力された数値データ(座標データ)の数を検出
する(ステップA37)。ここで、入力されたデータ数
が1つであった場合には、グラフの作成ができないの
で、ステップA35に戻り、次の数値データの入力待ち
状態となる。
The CPU 11 detects the number of input numerical data (coordinate data) with reference to the data register 14d (step A37). If the number of input data is one, a graph cannot be created, and the process returns to step A35 to wait for input of the next numerical data.

【0067】同様にして数値データが入力され、データ
数が2つになると、CPU11は、データレジスタ14
dに記憶された2つの数値データに基づいて、一次の関
数式を算出する(ステップA39)。
Similarly, when numerical data is input and the number of data becomes two, the CPU 11
A first-order function formula is calculated based on the two numerical data stored in d (step A39).

【0068】CPU11は、算出した式の式データを、
RAM14の式レジスタ14cに記憶させると共に、グ
ラフを作成し、表示部16において表示させる(ステッ
プA43)。ここで、確定キー12fが押下されて、グ
ラフ変形の確定が指示されると(ステップA44)、C
PU11は、入力された数値データ数に応じて算出され
た関数式をグラフ表示用の画面の所定の位置に表示させ
る(ステップA45)。
The CPU 11 converts the formula data of the calculated formula into
The data is stored in the expression register 14c of the RAM 14, and a graph is created and displayed on the display unit 16 (step A43). Here, when the confirmation key 12f is pressed to instruct the confirmation of the graph deformation (step A44), C
The PU 11 displays the function formula calculated in accordance with the input number of numerical data at a predetermined position on the graph display screen (step A45).

【0069】一方、グラフ変形の確定が指示されず、続
けて数値データが入力された場合、同様にして、入力さ
れた数値データの数に基づいて、CPU11は、関数式
を算出すると共に、グラフを作成し、表示部16におい
て表示される。すなわち、入力されたデータ数が3つに
なった場合には二次の関数式を算出し(ステップA3
8,A40)、データ数が4つになった場合には三次の
関数式を算出し(ステップA38,A41)、データ数
が5つになった場合には、四次の関数式を算出して(ス
テップA38,A42)、それぞれに対応するグラフを
表示させる(ステップA43)。
On the other hand, when the determination of the graph deformation is not instructed and the numerical data is successively input, the CPU 11 similarly calculates the functional expression based on the number of the input numerical data, And is displayed on the display unit 16. That is, when the number of input data becomes three, a quadratic function formula is calculated (step A3).
8, A40), when the number of data becomes four, a cubic function formula is calculated (steps A38, A41), and when the number of data becomes five, a quaternary function formula is calculated. (Steps A38 and A42), and the corresponding graphs are displayed (step A43).

【0070】従って、任意の数の数値データが入力さ
れ、確定キー12fにより変形の確定が指示されること
で、先に表示されていたグラフに代えて、新たに入力さ
れた数値データに基づくグラフを表示させることができ
る。また、同時に、変形後のグラフに対応する関数式を
表示させることができる。
Accordingly, by inputting an arbitrary number of numerical data and instructing the user to confirm the deformation by the enter key 12f, a graph based on the newly input numerical data is substituted for the previously displayed graph. Can be displayed. At the same time, a function expression corresponding to the graph after the deformation can be displayed.

【0071】図7には、グラフ変形モードにおけるグラ
フ変形の具体例を示している。この具体例では、図7
(a)に示すように、1つのグラフ(関数式y=x2
表されるグラフ)が表示された状態で変形キー12eが
押下され、グラフ変形モードへの移行が指示された場合
を示している。
FIG. 7 shows a specific example of graph deformation in the graph deformation mode. In this specific example, FIG.
(A), the modified key 12e in a state where one graph (graph is expressed by a function formula y = x 2) is displayed is pressed, it indicates if the transition to the graph deformation mode is instructed ing.

【0072】グラフ変形モードにおいて、図7(b)に
示すように、新たな2点の数値データ(座標点(0,−
2)(1,5))が入力されると、図7(a)に示すグ
ラフ表示に代えて、新たに入力された数値データに基づ
くグラフが表示される。ここでは、2つの数値データが
入力された状態にあるので、一次の関数式によって表さ
れるグラフが表示されている。
In the graph deformation mode, as shown in FIG. 7B, two new numerical data (coordinate points (0,-
When (2) (1, 5)) is input, a graph based on the newly input numerical data is displayed instead of the graph display shown in FIG. Here, since two pieces of numerical data are in a state of being input, a graph represented by a linear function expression is displayed.

【0073】続けて、1点の数値データ(座標点(2,
2))が入力されると、この追加入力された数値データ
を含めて3つの数値データが入力された状態にあるの
で、図7(c)に示すように、二次の関数式によって表
されるグラフに変形される。
Subsequently, one numerical data (coordinate point (2,
When 2)) is input, three numerical data including the additionally input numerical data are in a state of being input, so that as shown in FIG. Is transformed into a graph.

【0074】また、1点の数値データ(座標点(−1,
1))が入力されると、4つの数値データが入力された
状態にあるので、図7(d)に示すように、三次の関数
式によって表されるグラフに変形され、さらに1点の数
値データ(座標点(5,113)が入力されると、5つ
の数値データが入力された状態にあるので、四次の関数
式によって表されるグラフに変形される。
Further, one point of numerical data (coordinate point (−1,
When 1)) is input, four numerical data are in the input state, so that the data is transformed into a graph represented by a cubic function expression as shown in FIG. When data (coordinate points (5, 113) are input, five numerical data are in an input state, so that the graph is transformed into a graph represented by a quartic function expression.

【0075】ここで、確定キー12fが押下されて、グ
ラフ変形の確定が指示されると、図7(e)に示すよう
に、現在、表示されているグラフを表す関数式がグラフ
と共に表示される。
Here, when the enter key 12f is depressed to instruct the finalization of the graph deformation, a function expression representing the currently displayed graph is displayed together with the graph as shown in FIG. 7 (e). You.

【0076】なお、前述した説明では、数値データを入
力する場合についてのみ説明しているが、先に入力され
た数値データを任意に削除できるようにしても良い。こ
の場合、数値データの削除に応じて、残った数値データ
の数に応じた次数の関数式が、残った数値データに基づ
いて算出されてグラフが表示されるものとする。
In the above description, only the case of inputting numerical data is described. However, the numerical data previously input may be arbitrarily deleted. In this case, it is assumed that, in accordance with the deletion of the numerical data, a function formula of an order corresponding to the number of remaining numerical data is calculated based on the remaining numerical data, and a graph is displayed.

【0077】こうして、任意に数値データを追加、削除
できるようにすることで、試行錯誤的にグラフを作成す
ることができるので、所望するグラフを容易に作成する
ことができる。
In this way, by making it possible to arbitrarily add or delete numerical data, a graph can be created by trial and error, and a desired graph can be easily created.

【0078】また、前述したグラフ変形モードにおける
第1の方法では、先に表示されているグラフに関係な
く、新たに入力された数値データに基づいてグラフを表
示させるものとしているが、第2の方法を用いること
で、現在、表示されているグラフの数値データを含め
て、新たに入力あるいは削除された数値データに応じて
グラフを作成することができる。
In the first method in the above-described graph deformation mode, the graph is displayed based on the newly input numerical data regardless of the previously displayed graph. By using the method, a graph can be created in accordance with newly input or deleted numerical data, including the numerical data of the currently displayed graph.

【0079】例えば、図7(a)に示すグラフが表示さ
れた状態で1点の数値データ(座標点)が入力される
と、先に表示されているグラフが二次関数によって表さ
れるグラフであり、3つの数値データが既に入力されて
いるので、4つの数値データに応じて三次の関数式を算
出して、グラフを表示させる。
For example, if one point of numerical data (coordinate points) is input while the graph shown in FIG. 7A is displayed, the previously displayed graph is represented by a quadratic function. Since three numerical data have already been input, a cubic function formula is calculated according to the four numerical data, and a graph is displayed.

【0080】第2の方法の場合についても、既に入力さ
れている数値データを含めて、任意に削除できるように
することで、第1の方法と同様にして、試行錯誤的にグ
ラフを作成することができる。
Also in the case of the second method, a graph can be created by trial and error in the same manner as in the first method, by allowing arbitrary deletion including the numerical data already input. be able to.

【0081】このようにして、既に作成されているグラ
フについても、グラフ変形モードにおいて、任意に数値
データの追加、削除を行なうことによって、グラフを変
形させることができる。
As described above, the graph can be modified by arbitrarily adding and deleting numerical data in the graph modification mode even with the graph already created.

【0082】[0082]

【発明の効果】以上のように、本発明に係わるグラフ表
示装置によれば、グラフを描画するためのデータを入力
するデータ入力手段と、データ入力手段によって入力さ
れたデータ数を判別するデータ数判別手段と、データ数
判別手段によって判別されたデータ数に応じた次数の関
数式を、データ入力手段によって入力されたデータに応
じて算出する関数式算出手段と、関数式算出手段によっ
て算出された関数式に基づいてグラフを表示するグラフ
表示手段とを具備したので、入力されたデータに応じた
グラフを表示させる場合に、入力されたデータ数に応じ
てグラフの種類(関数式の次数)が決定されるため、予
め関数式の次数についての指定を入力する必要がなく、
また入力されたデータに応じた関数式が算出されるの
で、入力された複数の数値データを適切に近似するグラ
フを表示させることができる。
As described above, according to the graph display device of the present invention, the data input means for inputting data for drawing a graph and the data number for discriminating the number of data input by the data input means are provided. Determining means for calculating a function formula of an order corresponding to the number of data determined by the data number determining means in accordance with the data input by the data input means; and calculating the function formula by the function formula calculating means. Since a graph display means for displaying a graph based on a function expression is provided, when displaying a graph according to the input data, the type of the graph (the degree of the function expression) depends on the number of input data. Since it is determined, there is no need to input the specification of the order of the function expression in advance,
Further, since a function formula according to the input data is calculated, it is possible to display a graph that appropriately approximates the plurality of input numerical data.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態に係わるグラフ表示装置の
電子回路の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of an electronic circuit of a graph display device according to an embodiment of the present invention.

【図2】本実施形態におけるグラフ表示装置によるグラ
フ表示処理を示すフローチャート。
FIG. 2 is a flowchart illustrating a graph display process performed by the graph display device according to the embodiment.

【図3】グラフの移動の処理について説明するためのフ
ローチャート。
FIG. 3 is a flowchart for explaining a process of moving a graph.

【図4】グラフの変形の処理について説明するためのフ
ローチャート。
FIG. 4 is a flowchart for explaining a graph deformation process;

【図5】グラフ表示処理の具体例を示す図。FIG. 5 is a diagram showing a specific example of a graph display process.

【図6】グラフ移動モードにおけるグラフの移動の具体
例を示す図。
FIG. 6 is a diagram showing a specific example of graph movement in the graph movement mode.

【図7】グラフ変形モードにおけるグラフ変形の具体例
を示す図。
FIG. 7 is a diagram showing a specific example of graph deformation in a graph deformation mode.

【符号の説明】[Explanation of symbols]

11…CPU 12…キー入力部 13…ROM 14…RAM 15…表示駆動回路 16…表示部 17…位置検出回路 18…タブレット 19…ペン 20…記録媒体読取り部 21…記録媒体 DESCRIPTION OF SYMBOLS 11 ... CPU 12 ... Key input part 13 ... ROM 14 ... RAM 15 ... Display drive circuit 16 ... Display part 17 ... Position detection circuit 18 ... Tablet 19 ... Pen 20 ... Recording medium reading part 21 ... Recording medium

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 グラフを描画するためのデータを入力す
るデータ入力手段と、 このデータ入力手段によって入力されたデータ数を判別
するデータ数判別手段と、 このデータ数判別手段によって判別されたデータ数に応
じた次数の関数式を、前記データ入力手段によって入力
されたデータに応じて算出する関数式算出手段と、 この関数式算出手段によって算出された関数式に基づい
てグラフを表示するグラフ表示手段とを具備したことを
特徴とするグラフ表示装置。
1. A data input means for inputting data for drawing a graph, a data number determining means for determining the number of data input by the data input means, and a data number determined by the data number determining means Function calculating means for calculating a function formula of an order according to the data input by the data input means, and graph displaying means for displaying a graph based on the function formula calculated by the function formula calculating means. And a graph display device.
【請求項2】 前記データ入力手段によってデータが入
力される毎に、前記データ数判別手段によって判別され
たデータ数に応じた次数の関数式に基づいてグラフを表
示することを特徴とする請求項1記載のグラフ表示装
置。
2. A graph is displayed each time data is input by said data input means, based on a function formula of an order corresponding to the number of data determined by said data number determination means. 2. The graph display device according to 1.
【請求項3】 グラフを描画するためのデータを入力す
るステップと、 前記入力されたデータ数を判別するステップと、 前記判別されたデータ数に応じた次数の関数式を、入力
されたデータに応じて算出するステップと、 前記算出された関数式に基づいてグラフを表示するステ
ップからなることを特徴とするグラフ表示方法。
3. A step of inputting data for drawing a graph, a step of determining the number of input data, and a function formula having an order corresponding to the determined number of data is added to the input data. And displaying the graph based on the calculated function formula.
【請求項4】 コンピュータを、 グラフを描画するためのデータを入力するデータ入力手
段と、 このデータ入力手段によって入力されたデータ数を判別
するデータ数判別手段と、 このデータ数判別手段によって判別されたデータ数に応
じた次数の関数式を、前記データ入力手段によって入力
されたデータに応じて算出する関数式算出手段と、 この関数式算出手段によって算出された関数式に基づい
てグラフを表示するグラフ表示手段とに機能させるため
のグラフ表示プログラムを記録した記録媒体。
4. A computer comprising: data input means for inputting data for drawing a graph; data number determining means for determining the number of data input by the data input means; A function formula calculating means for calculating a function formula of an order corresponding to the number of data according to the data input by the data input means; and displaying a graph based on the function formula calculated by the function formula calculating means. A recording medium on which a graph display program for functioning as a graph display means is recorded.
JP9344260A 1997-11-28 1997-11-28 Graph display device, its method and recording medium recording display program Abandoned JPH11161803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9344260A JPH11161803A (en) 1997-11-28 1997-11-28 Graph display device, its method and recording medium recording display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9344260A JPH11161803A (en) 1997-11-28 1997-11-28 Graph display device, its method and recording medium recording display program

Publications (1)

Publication Number Publication Date
JPH11161803A true JPH11161803A (en) 1999-06-18

Family

ID=18367871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9344260A Abandoned JPH11161803A (en) 1997-11-28 1997-11-28 Graph display device, its method and recording medium recording display program

Country Status (1)

Country Link
JP (1) JPH11161803A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009070205A (en) * 2007-09-14 2009-04-02 Casio Comput Co Ltd Graphic drawing apparatus and graphic drawing program
JP2014182677A (en) * 2013-03-21 2014-09-29 Casio Comput Co Ltd Graph display control device, graph display control method and graph display control program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009070205A (en) * 2007-09-14 2009-04-02 Casio Comput Co Ltd Graphic drawing apparatus and graphic drawing program
US7995063B2 (en) 2007-09-14 2011-08-09 Casio Computer Co., Ltd. Figure rendering apparatus and figure rendering method
JP2014182677A (en) * 2013-03-21 2014-09-29 Casio Comput Co Ltd Graph display control device, graph display control method and graph display control program

Similar Documents

Publication Publication Date Title
US7051289B1 (en) Window display device and method, and a recording medium recording a window display control program
JP3975472B2 (en) Digital map enlargement / reduction display method, digital map enlargement / reduction display apparatus, and storage medium storing digital map enlargement / reduction display program
KR20040039003A (en) method, display system and software for controlling icon
JP3585357B2 (en) Information processing apparatus and method, and recording medium recording information processing program
JP2001051825A (en) Display controller and storage medium
JPH09190287A (en) Cursor control method and information processor realizing the method
JP2006120173A (en) Graphic display controller and graphic display control program
JPH11161803A (en) Graph display device, its method and recording medium recording display program
JP2004326691A (en) Graphic display controller and graphic display control program
JP3785537B2 (en) Graphic display control apparatus and graphic display control program
JPH06161650A (en) Information controller with pressure sensitive tablet input device
JPH09244858A (en) Control method for window system and information processor
JPH11184819A (en) Graph display device, its method and record medium where graph display control program is recorded
JPH06342360A (en) Display control method
JPH09198190A (en) Computer system
JP2954608B2 (en) Document processing method and apparatus
JP2915654B2 (en) Handwriting character input area setting device
JP2003256100A (en) Information processor, application starting method, application starting program and computer readable recording medium for recording application starting program
JPH10222472A (en) Device, method for electronic calculation and recording medium recording calculating processing program
JPH01191269A (en) Image controller
JPH11203031A (en) Data input device and its control method and storage medium
JP3179376B2 (en) Cursor control device and machine-readable recording medium recording program
JPH09265374A (en) Menu selection processing method
JP2004206545A (en) Electronic instrument and program
JP3113022B2 (en) Large arc diameter dimensioning method and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20031211

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060718

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060725

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20060911