JPH06105449B2 - Graph display device - Google Patents
Graph display deviceInfo
- Publication number
- JPH06105449B2 JPH06105449B2 JP60118413A JP11841385A JPH06105449B2 JP H06105449 B2 JPH06105449 B2 JP H06105449B2 JP 60118413 A JP60118413 A JP 60118413A JP 11841385 A JP11841385 A JP 11841385A JP H06105449 B2 JPH06105449 B2 JP H06105449B2
- Authority
- JP
- Japan
- Prior art keywords
- register
- key
- display
- data
- graph
- 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.)
- Expired - Lifetime
Links
Landscapes
- Calculators And Similar Devices (AREA)
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 [発明の技術分野] この発明は、簡単なキー操作で関数式をグラフ化して表
示するグラフ表示装置に関する。Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to a graph display device for displaying a function expression as a graph by a simple key operation.
[従来技術とその問題点] 従来、例えばパーソナルコンピュータ、ポケットコンピ
ュータ等の小型電子式計算機において、BASIC等のプロ
グラムを作成し、関数式や数値などのデータを入力する
ことによってグラフを表示させるようにしたものや、計
算式を入力することによって表示部に1ドットずつ計算
結果を表示して最終的にグラフを表示するようにするこ
とが考えられている。[Prior Art and its Problems] Conventionally, in a small electronic computer such as a personal computer and a pocket computer, a program such as BASIC is created, and a graph is displayed by inputting data such as a functional expression and a numerical value. It is considered that the calculation result is displayed dot by dot on the display unit by inputting the calculation result or the calculation formula, and finally the graph is displayed.
しかしながら、上記従来のパーソナルコンピュータ、ポ
ケットコンピュータ等の小型電子式計算機のうち、プロ
グラムによってグラフを表示させるものは、そのグラフ
専用のプログラムを組む必要があり、このためにプログ
ラムに慣れていない人はグラフ表示を容易に行なうこと
ができなかった。また、表示部に1ドットずつ計算結果
をグラフ表示していくものは、その表示データをメモリ
に記憶するようになっていたため、グラフの拡大縮小を
指定することができなかった。However, among the above-mentioned small personal computers, pocket computers, and other small electronic calculators that display a graph by a program, it is necessary to build a program dedicated to the graph. The display could not be done easily. Further, in the case where the calculation result is displayed as a graph on the display unit one dot at a time, the display data is stored in the memory, so that it is impossible to specify the scaling of the graph.
[発明の目的] この発明は上記のような実情に鑑みてなされたもので、
簡単なキー操作のみで、表示グラフの拡大を行なうこと
のできるグラフ表示装置を提供することを目的とする。[Object of the Invention] The present invention has been made in view of the above circumstances.
It is an object of the present invention to provide a graph display device capable of enlarging a display graph with a simple key operation.
[発明の要点] この発明は、様々なキー操作により表示グラフの範囲の
入力状態を設定し、表示部の画面に対する2点を指定す
ることにより、この指定された2点の座標データから新
たな表示範囲を設定し、この新たに設定された表示範囲
で新たなグラフ表示を実行することによりグラフの拡大
表示を行なうものである。[Points of the Invention] The present invention sets new input states in the range of the display graph by various key operations and designates two points on the screen of the display unit, so that the coordinate data of the designated two points is newly added. The display range is set, and a new graph display is executed in the newly set display range to enlarge the graph.
[発明の実施例] 以下図面を参照してこの発明の一実施例を説明する。第
1図はその回路構成を示すもので、11はキー入力部であ
る。このキー入力部11には、数値データを入力するテン
キー11a、演算内容を指定するファンクションキー11b、
関数データを入力する関数キー11c、拡大縮小のX座標
のレンジデータを入力するXキー11d、同じくY座標の
レンジデータを入力するYキー11e、拡大縮小の表示範
囲の座標データを点滅表示される点(以下「ポインタ」
と称する)で指定するプロット(Plot)キー11f、表示
範囲の対角の点の座標データを入力して拡大縮小を行な
う拡大縮小Aキー(図では「拡/縮A」と表わす)11
g、上記Xキー11d及びYキー11eを用いてレンジデータ
をキー入力し拡大縮小を行なう拡大縮小Bキー(図では
「拡/縮B」と表わす)11h、点滅表示されるポインタ
を座標軸上で移動させて表示範囲のレンジデータを入力
し拡大を行なう拡大キー11i及びグラフ表示を実行させ
る実行キー(図では「EXE」と表わす)11jが備えられ、
これらのキーを操作すると、そのキー操作データは制御
部12に送られる。制御部12は、キー入力部11からキー操
作データに従って回路の制御動作を行なうもので、グラ
フの表示ポインタの座標データを記憶するテキスト表示
バッファ13及びグラフの表示データを記憶するグラフ表
示バッファ14、グラフ表示のための種々の演算を行なう
演算部15、ポインタ表示を行なうための計算実行を指示
する実行ポインタ16及びRAM等により構成されるメモリ
部17にそれぞれ制御データを送出する。このメモリ部17
には、グラフ表示される関数式を記憶するグラフ式レジ
スタ17a、プロットキー114操作により入力される拡大縮
小の対角の点の座標データを記憶するPxレジスタ17b、P
yレジスタ17c、P′xレジスタ17d、P′yレジスタ17
e、表示ポインタのX座標データを記憶するXレジスタ1
7f、同じくY座標データを記憶するYレジスタ17g、レ
ンジデータを記憶するXminレジスタ17h、Xmaxレジスタ1
7i、Yminレジスタ17j、Ymaxレジスタ17k、関数式に代入
するXの値を記憶するXmemoレジスタ17l、同じくYの値
を記憶するYmemoレジスタ17mが備えられ、制御部12から
の制御指令により演算部15とデータの入出力を行なう。
この演算部15は、メモリ部17の他に、実行ポインタ16か
らの指示により関数式データを記憶する数式バッファ18
とデータの入出力を行なってグラフ表示、レンジ変更及
びポインタとその座標データの表示のための演算を行な
い、その演算結果を上記テキスト表示バッファ13、グラ
フ表示バッファ14に出力する。テキスト表示バッファ13
には表示ポインタの座標データが、また、グラフ表示バ
ッファ14にはグラフ、ポインタの表示データがそれぞれ
記憶されるもので、その記憶データは表示部19に送られ
る。この表示部19は、例えば液晶表示素子によるたて64
ドット×横96ドットのドットマトリクスで構成されるも
ので、テキスト表示バッファ13及びグラフ表示バッファ
14からのデータによりグラフ、グラフライン上のポイン
タ、ポインタの座標データ等を表示する。[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows its circuit configuration, and 11 is a key input section. The key input section 11 includes a numeric keypad 11a for inputting numerical data, a function key 11b for specifying calculation contents,
Function key 11c for inputting function data, X key 11d for inputting range data of enlargement / reduction X coordinate, Y key 11e for inputting range data of Y coordinate, coordinate data of display range of enlargement / reduction are displayed in blinking. Point (hereinafter "pointer"
Plot key 11f specified by the ()) and the enlargement / reduction A key (represented as "enlargement / reduction A" in the figure) for performing enlargement / reduction by inputting coordinate data of diagonal points of the display range 11
g, an enlargement / reduction B key (denoted as “enlargement / reduction B” in the figure) 11h for inputting range data and enlarging / reducing the range data using the X key 11d and the Y key 11e, and a blinking pointer on the coordinate axis. An expansion key 11i for moving and inputting range data of the display range for expansion and an execution key (represented as "EXE" in the figure) 11j for executing graph display are provided.
When these keys are operated, the key operation data is sent to the control unit 12. The control unit 12 controls the circuit according to the key operation data from the key input unit 11, and has a text display buffer 13 for storing the coordinate data of the display pointer of the graph and a graph display buffer 14 for storing the display data of the graph. Control data is sent to a calculation unit 15 for performing various calculations for displaying a graph, an execution pointer 16 for instructing execution of calculation for displaying a pointer, and a memory unit 17 constituted by a RAM and the like. This memory section 17
Is a graph expression register 17a for storing a function expression to be displayed in a graph, and Px registers 17b, P for storing coordinate data of diagonal points of enlargement / reduction input by operating the plot key 114.
y register 17c, P'x register 17d, P'y register 17
e, X register 1 for storing the X coordinate data of the display pointer
7f, Y register 17g, which also stores Y coordinate data, Xmin register 17h, which stores range data, Xmax register 1
7i, Ymin register 17j, Ymax register 17k, Xmemo register 17l for storing the value of X to be substituted into the functional expression, and Ymemo register 17m for similarly storing the value of Y are provided, and the calculation unit 15 is controlled by the control unit 12 And input / output data.
In addition to the memory unit 17, the calculation unit 15 includes a formula buffer 18 that stores functional formula data according to an instruction from the execution pointer 16.
Data is input and output to perform graph display, range change, calculation for the pointer and its coordinate data, and the calculation result is output to the text display buffer 13 and graph display buffer 14. Text display buffer 13
The coordinate data of the display pointer is stored in, and the display data of the graph and the pointer are stored in the graph display buffer 14, and the stored data is sent to the display unit 19. The display unit 19 is, for example, a vertically arranged liquid crystal display device.
It consists of a dot matrix of 96 dots × 96 dots horizontally, and has a text display buffer 13 and a graph display buffer.
The data from 14 displays the graph, the pointer on the graph line, the coordinate data of the pointer, etc.
次に上記実施例の動作について説明する。第2図はキー
操作とそれに対応する表示部19の状態を示すもので、始
めに表示部19に第2図(1)に示すような数式 y=sin x に対するグラフと座標軸としてX軸及びY軸が表示され
ているとする。このグラフ表示は、予めキー入力部11の
テンキー111、ファンクションキー112、関数キー113の
操作によって数式やレンジデータが入力されることによ
ってなされる。この状態で、数式バッファ18には上記数
式のデータ「y=sin x」が入力されており、Xminレジ
スタ17h、Xmaxレジスタ17iにX軸方向のレンジデータ
「−180」「180」が、また、 Yminレジスタ17j、Ymaxレジスタ17kにY軸方向のレンジ
データ「−1」「1」がそれぞれ入力されている。Next, the operation of the above embodiment will be described. FIG. 2 shows the key operation and the state of the display section 19 corresponding to the key operation. First, the display section 19 shows a graph for the formula y = sin x as shown in FIG. Suppose the axis is displayed. This graph display is performed by inputting mathematical formulas and range data in advance by operating the ten keys 111, the function keys 112, and the function keys 113 of the key input unit 11. In this state, the data “y = sin x” of the above formula is input to the formula buffer 18, and the range data “−180” “180” in the X-axis direction is also stored in the Xmin register 17h and the Xmax register 17i. Range data "-1" and "1" in the Y-axis direction are input to the Ymin register 17j and the Ymax register 17k, respectively.
ここで第2図(2)に示すように座標データ(30,0.7)
を入力するためにプロットキー11fを操作し、テンキー1
1a、ファクションキー11bで「30」「,」「0.7」をキー
入力し、続けて実行キー11jを操作すると、この実行キ
ー11jの操作に対して第3図の処理が行なわれる。すな
わち、同図においては、まずステップA01でこれがプロ
ット命令であるか否か、つまりプロットキー11f操作後
の実行キー11j操作であるか否かが判断される。もし、
そうでないいと判断された場合は、その実行キー11j操
作前に操作されたキーの内容に従って他の処理が行なわ
れるが、ここではプロットキー11f操作後の実行キー11j
操作であるので、プロット命令であると判断されて、次
にステップA02に進む。ステップA02では、Pxレジスタ17
bに入力されている座標データをP′xレジスタ17dに、
またPyレジスタ17cに入力されている座標データをP′
yレジスタ17eにそれぞれ転送するもので、ここではま
だPxレジスタ17b、Pyレジスタ17cに座標データが入力さ
れていないので、P′xレジスタ17d、P′yレジスタ1
7eにも座標データの転送入力はなされない。次いで、ス
テップA02でP′xレジスタ17d、P′yレジスタ17eに
入力された座標データ(P′x,P′y)に基づいて、ス
テップA03でグラフ表示バッファ14の座標(P′x,P′
y)に相当する位置のアドレスに点灯信号が送られる。
ここでは、上記したように、まだP′xレジスタ17d、
P′yレジスタ17eに座標データの入力がなされていな
いため、グラフ表示バッファ14には点灯信号が送られな
い。その後、ステップA04に示すようにプロットキー11f
の操作後にデータ入力があるか否か判断する。ここでは
座標データ「30」が入力されているので、データありと
判断されると、ステップA05に進み、そのプロットキー1
1fの次に操作されたデータ「30」が「,」であるかどう
か、つまりX座標データの入力が省略されたかどうかが
判断される。この判断の結果は「No」となり、続くステ
ップA06においてそのプロットキー11fの次に操作された
座標データ「30」をPxレジスタ17bに入力設定する。次
いで、ステップA07でこの座標データ「30」に続けて入
力された「,」の次に操作されたキー入力が実行キー11
jであるかどうか、つまり今度はY座標データの入力が
省略されたかどうかが判断される。この判断の結果も
「No」となり、続くステップA08においてその「,」の
次に操作された座標データ「0.7」をPyレジスタ17cに入
力設定する。以上でプロットキー11fの操作によって指
定された座標データの入力設定を終わり、続くステップ
A09でこのPxレジスタ17b、Pyレジスタ17cに設定された
座標データ(30,0.7)がポインタのテキスト表示のため
にXmemoレジスタ17l、Ymemoレジスタ17mに入力される。
その後、ステップA10で制御部12が、Pxレジスタ17b、Py
レジスタ17cに入力されている座標データに相当するグ
ラフ表示バッファ14内のアドレスを選択し、その選択し
たアドレスに点滅データを送出する。そして、最後にス
テップA11において、グラフ表示バッファ14及びテキス
ト表示バッファ13の内容に対応して表示部19に表示が行
なわれる。ここで、表示部19においては、第2図(1)
で示したグラフに加えて、座標(P′x,P′y)、すな
わち(30,0.7)の位置のドットがポインタとして点滅表
示されるとと共に、このポインタの座標表示としてXmem
oレジスタ17lの内容がテキスト表示バッファ13に送られ
て、画面下部に「X=30」の文字が表示される。Here, as shown in Fig. 2 (2), coordinate data (30, 0.7)
Manipulate plot key 11f to enter
When "30", "," and "0.7" are keyed in with the 1a and function keys 11b and the execute key 11j is subsequently operated, the process of FIG. 3 is performed in response to the operation of the execute key 11j. That is, in the figure, first, in step A01, it is determined whether or not this is a plot command, that is, whether or not it is the operation of the execution key 11j after the operation of the plot key 11f. if,
If not, other processing is performed according to the contents of the key operated before the execution key 11j is operated, but here, the execution key 11j after the operation of the plot key 11f is executed.
Since it is an operation, it is determined to be a plot command, and the process proceeds to step A02. In step A02, Px register 17
The coordinate data input to b is stored in the P'x register 17d,
In addition, the coordinate data input to the Py register 17c is set to P ′.
The coordinate data is not yet input to the Px register 17b and the Py register 17c, so that the P'x register 17d and the P'y register 1 are transferred to the y register 17e.
No coordinate data transfer is input to 7e. Then, in step A02, based on the coordinate data (P'x, P'y) input to the P'x register 17d and P'y register 17e, the coordinates (P'x, P 'in the graph display buffer 14 are calculated in step A03. ′
The lighting signal is sent to the address at the position corresponding to y).
Here, as described above, the P'x register 17d,
Since no coordinate data is input to the P'y register 17e, no lighting signal is sent to the graph display buffer 14. Then plot key 11f as shown in step A04.
It is determined whether or not there is data input after the operation of. Since the coordinate data "30" has been input here, if it is determined that there is data, the process advances to step A05, and the plot key 1
It is determined whether the data “30” operated after 1f is “,”, that is, whether the input of the X coordinate data is omitted. The result of this determination is "No", and in the subsequent step A06, the coordinate data "30" operated next to the plot key 11f is input and set in the Px register 17b. Next, in step A07, the key input operated next to the “,” input following this coordinate data “30” is the execution key 11
It is determined whether or not j, that is, whether or not the input of Y coordinate data is omitted this time. The result of this determination is also "No", and in the following step A08, the coordinate data "0.7" operated next to that "," is input and set in the Py register 17c. This completes the input settings of the coordinate data specified by operating the plot key 11f, and then
At A09, the coordinate data (30, 0.7) set in the Px register 17b and the Py register 17c are input to the Xmemo register 17l and the Ymemo register 17m for displaying the pointer text.
Then, in step A10, the control unit 12 causes the Px register 17b, Py
The address in the graph display buffer 14 corresponding to the coordinate data input to the register 17c is selected, and the blinking data is sent to the selected address. Finally, in step A11, a display is made on the display unit 19 corresponding to the contents of the graph display buffer 14 and the text display buffer 13. Here, in the display unit 19, FIG.
In addition to the graph shown by, the dot at the position of coordinates (P'x, P'y), that is, (30, 0.7) is displayed as a pointer blinking, and Xmem is displayed as the coordinate display of this pointer.
The contents of the register 17l are sent to the text display buffer 13 and the character "X = 30" is displayed at the bottom of the screen.
次いで第2図(3)に示すように上記座標データ(30,
0.7)に対する対角の点の座標データ(60,0.3)を入力
するためにプロットキー11fを操作し、テンキー11a、フ
ァンクションキー11bで「60」「,」「0.3」をキー入力
し、続けて実行キー11jを操作すると、この実行キー11j
の操作に対して再び第3図の処理が行なわれる。すなわ
ち、ステップA01でプロット命令であると判断された後
に、ステップA02において上記第2図(2)でPxレジス
タ17b、Pyレジスタ17cに入力された座標データ「30」
「0.7」がそれぞれP′xレジスタ17d、P′yレジスタ
17eに転送入力される。その後、P′xレジスタ17d、
P′yレジスタ17eに入力された座標データ「30」「0.
7」に基づいて、ステップA03でグラフ表示バッファ14の
座標(30,0.7)に相当する位置のアドレスに点灯信号が
送られる。続いて、ステップA04でプロットキー11fの操
作後のデータありと判断され、ステップA05に進む。ス
テップA05でプロットキー11fの操作直後のデータ
が「,」ではないと判断されると、次にステップA06に
おいて、そのプロットキーfの操作直後のデータ「60」
が新たにPxレジスタ17bに入力される。続いてステップA
07で「,」の次に操作されたデータが実行キー11jでは
ないと判断され、ステップA08に進んで、そのデータ
「0.3」がPyレジスタ17cに新たに入力される。次のステ
ップA09でPxレジスタ17b、Pyレジスタ17cの内容がXmemo
レジスタ17l、Ymemoレジスタ17mに転送され、ステップA
10で制御部12が、Pxレジスタ17b、Pyレジスタ17cに入力
されている座標データ(60,0.3)に相当するグラフ表示
バッファ14内のアドレスを選択し、その選択したアドレ
スに点滅データを送出する。そして、最後にステップA1
1において、グラフ表示バッファ14及びテキスト表示バ
ッファ13の内容に対応して表示部19に表示が行なわれ
る。ここでは、表示部19において、第2図(1)で示し
たグラフと、上記第2図(2)で入力した座標(30,0.
7)位置のドットが点灯表示されると共に、ポインタと
して座標(60,0.3)位置のドットが点滅表示され、この
ポインタの座標表示としてXmemoレジスタ17lの内容がテ
キスト表示バッファ13に送られて、画面下部に「X=6
0」の文字がテキスト表示される。Then, as shown in FIG. 2 (3), the coordinate data (30,
Operate the plot key 11f to input the coordinate data (60, 0.3) of the diagonal point for 0.7), and enter "60", ",""0.3" with the numeric keypad 11a and the function key 11b, and then When you operate the execution key 11j, this execution key 11j
The process of FIG. 3 is performed again for the operation of. That is, the coordinate data “30” input to the Px register 17b and the Py register 17c in FIG. 2 (2) in step A02 after it is determined to be a plot command in step A01.
"0.7" is P'x register 17d, P'y register respectively
Transferred to 17e. After that, the P'x register 17d,
Coordinate data “30” and “0.
Based on "7", a lighting signal is sent to the address of the position corresponding to the coordinate (30, 0.7) of the graph display buffer 14 in step A03. Then, in step A04, it is determined that there is data after the operation of the plot key 11f, and the process proceeds to step A05. If it is determined in step A05 that the data immediately after operating the plot key 11f is not ",", then in step A06 the data "60" immediately after operating the plot key f.
Is newly input to the Px register 17b. Then step A
In 07, it is determined that the data operated next to “,” is not the execution key 11j, the process proceeds to step A08, and the data “0.3” is newly input to the Py register 17c. At the next step A09, the contents of Px register 17b and Py register 17c are changed to Xmemo.
Transferred to register 17l, Ymemo register 17m, step A
At 10, the control unit 12 selects an address in the graph display buffer 14 corresponding to the coordinate data (60, 0.3) input to the Px register 17b and Py register 17c, and sends flashing data to the selected address. . And finally step A1
In 1, the display is made on the display unit 19 in correspondence with the contents of the graph display buffer 14 and the text display buffer 13. Here, in the display unit 19, the graph shown in FIG. 2 (1) and the coordinates (30,0.
7) The dot at the position is lit up and the dot at the coordinate (60,0.3) is flashing as a pointer, and the contents of the Xmemo register 17l are sent to the text display buffer 13 as the coordinate display of this pointer, and the screen is displayed. At the bottom, "X = 6
The character "0" is displayed as text.
なお、上記動作では説明しなかったが、ステップA04で
プロットキー11f操作の後にすぐ実行キー11jが操作され
て座標データの入力がなされなかった場合は、ポインタ
のプロットを表示部19の中心点としてその座標データが
省略される。したがって、ステップA04の次にステップA
12に進んでXminレジスタ17h、Xmaxレジスタ17iに入力さ
れるX軸方向のレンジデータ「Xmin」、「Xmax」を用い
た演算(Xmin+Xmax)/2 が行なわれ、その演算結果が表示部19の中心点のX座標
データとしてPxレジスタ17bに入力設定される。その
後、ステップA13に進み、今度はYminレジスタ17j、Ymax
レジスタ17kに入力されるY軸方向のレンジデータ「Ymi
n」、「Ymax」を用いた演算 (Ymax+Ymin)/2 が行なわれ、その演算結果が表示部19の中心点のY座標
データとしてPyレジスタ17cに入力設定される。こうし
たPxレジスタ17b、Pyレジスタ17cの入力が終わると、次
に上記ステップA09〜A11の処理を行ない、表示部19への
表示を行なう。また、上記ステップA05でプロットキー1
1fの操作直後のキー入力が「,」であると判断された場
合もX座標のデータ入力が省略されたことになるので、
上記ステップA12に示した演算が行なわれ、その演算結
果が表示部19の中心点のX座標データとしてPxレジスタ
17bに入力設定された後にステップA07に至る。また、ス
テップA07でデータ「,」の直後に入力されたデータが
実行キー11jであると判断された場合は、Y座標のデー
タが省略されたと判断され、上記ステップA13の演算及
びPyレジスタ17cへの設定を行なってからステップA09〜
A11の処理を行ない、表示部19への表示を行なう。Although not described in the above operation, if the execution key 11j is operated and the coordinate data is not input immediately after the operation of the plot key 11f in step A04, the plot of the pointer is set as the center point of the display unit 19. The coordinate data is omitted. Therefore, step A04 is followed by step A
In step 12, the calculation (Xmin + Xmax) / 2 is performed using the range data "Xmin" and "Xmax" in the X-axis direction input to the Xmin register 17h and Xmax register 17i, and the calculation result is displayed in the center of the display unit 19. The X coordinate data of the point is input and set in the Px register 17b. After that, the process proceeds to step A13, this time Ymin register 17j, Ymax
Range data in the Y-axis direction “Ymi
The calculation (Ymax + Ymin) / 2 using “n” and “Ymax” is performed, and the calculation result is input and set in the Py register 17c as Y coordinate data of the center point of the display unit 19. When the input of the Px register 17b and the Py register 17c is finished, the processes of the above steps A09 to A11 are performed and the display on the display unit 19 is performed. Also, in step A05 above, plot key 1
Even if it is determined that the key input immediately after the operation of 1f is ",", the X coordinate data input is omitted, so
The calculation shown in step A12 is performed, and the calculation result is used as the X coordinate data of the center point of the display unit 19 in the Px register.
After the input is set in 17b, the process goes to step A07. If it is determined in step A07 that the data entered immediately after the data “,” is the execution key 11j, it is determined that the Y coordinate data has been omitted, and the calculation in step A13 and the Py register 17c are performed. After making the settings in step A09-
The processing of A11 is performed and the display on the display unit 19 is performed.
その後に第2図(4)に示すように拡大縮小Aキー11g
を操作すると、第4図に示す処理による表示グラフの拡
大縮小を行なう。すなわち、拡大縮小Aキー11gは、プ
ロットキー11f操作により指定された2点を対角とする
エリアを拡大縮小したグラフとして表示部19画面全面に
表示させるもので、その処理においては、まずステップ
B01に示すように、Pxレジスタ17bに入力されているX座
標データが、P′xレジスタ17dに入力されているX座
標データより大きいか否か判断する。ここで、Pxレジス
タ17bの値は「60」であり、P′xレジスタ17dの値は
「30」であるので、Pxレジスタ17bの値の方が大きいと
判断され、ステップB02に進んでPxレジスタ17bに入力さ
れているX座標データ「60」をXmaxレジスタ17iに、
P′xレジスタ17dに入力されているX座標データ「3
0」をXminレジスタ17hに、それぞれ新たなX座標のレン
ジデータとして入力設定し、次にステップB03に至る。
また、ステップB01で逆にP′xレジスタ17dに入力され
ているX座標データがPxレジスタ17bに入力されている
X座標データよりも大きいと判断された場合は、ステッ
プB04に進み、ステップB02とは反対にP′xレジスタ17
dの値をXmaxレジスタ17iに、Pxレジスタ17bの値をXmin
レジスタ17hにそれぞれ新たなX座標のレンジデータと
して入力設定し、その後にステップB03に至る。ステッ
プB03では、上記のX座標のレンジデータの設定と同様
にしてY座標のレンジデータの設定を行なうために、Py
レジスタ17cに入力されているY座標データが、P′y
レジスタ17eに入力されているY座標データより大きか
否か判断する。もし、Pyレジスタ17cの値がP′yレジ
スタ17eの値よりも大きいと判断された場合は、Pyレジ
スタ17cの値がYmaxレジスタ17kに、P′yレジスタ17e
の値がYminレジスタ17jにそれぞれ新たなY座標のレン
ジデータとして入力される。しかし、ここではPyレジス
タ17cの値は「0.3」であり、P′yレジスタ17eの値は
「0.7」であるので、P′yレジスタ17eの値の方が大き
いと判断され、次にステップB07に進む。ステップB07で
は、上記ステップB05とは反対にP′yレジスタ17eの値
をYmaxレジスタ17kに、Pyレジスタ17cの値をYminレジス
タ17jにそれぞれ新たなY座標のレンジデータとして入
力設定するもので、ここではYmaxレジスタ17kにデータ
「0.7」が、Yminレジスタ17jにデータ「0.3」が入力さ
れる。After that, as shown in Fig. 2 (4), enlargement / reduction A key 11g
When is operated, the display graph is enlarged or reduced by the processing shown in FIG. That is, the enlargement / reduction A key 11g is for displaying a graph in which the area having two diagonal points designated by the operation of the plot key 11f is enlarged / reduced on the entire screen of the display unit 19, and in the processing, first,
As shown in B01, it is determined whether the X coordinate data input to the Px register 17b is larger than the X coordinate data input to the P'x register 17d. Here, since the value of the Px register 17b is "60" and the value of the P'x register 17d is "30", it is determined that the value of the Px register 17b is larger, and the process proceeds to step B02 and the Px register The X coordinate data "60" input to 17b is stored in the Xmax register 17i,
X coordinate data "3" input to the P'x register 17d
“0” is input and set in the Xmin register 17h as new X coordinate range data, and then the process goes to step B03.
On the contrary, if it is determined in step B01 that the X coordinate data input to the P'x register 17d is larger than the X coordinate data input to the Px register 17b, the process proceeds to step B04 and step B02. On the contrary, P'x register 17
Set the value of d to Xmax register 17i and the value of Px register 17b to Xmin.
The range data of the new X coordinate is input and set in the register 17h, and then the process goes to step B03. In step B03, in order to set the Y coordinate range data in the same manner as the above X coordinate range data setting, Py
The Y coordinate data input to the register 17c is P'y
It is determined whether or not it is larger than the Y coordinate data input to the register 17e. If it is determined that the value of the Py register 17c is larger than the value of the P'y register 17e, the value of the Py register 17c is stored in the Ymax register 17k and the P'y register 17e.
Is input to the Ymin register 17j as new Y coordinate range data. However, since the value of the Py register 17c is "0.3" and the value of the P'y register 17e is "0.7" here, it is determined that the value of the P'y register 17e is larger, and then step B07. Proceed to. In step B07, contrary to the above step B05, the value of the P'y register 17e is input to the Ymax register 17k and the value of the Py register 17c is input to the Ymin register 17j as new Y coordinate range data. Then, the data “0.7” is input to the Ymax register 17k and the data “0.3” is input to the Ymin register 17j.
これで新たなレンジデータの設定が終わったこととな
り、続くステップB06で、グラフ式レジスタ17aに記憶さ
れるグラフの式データ「y=sin x」が演算部15に呼出
される。この呼出された数式データに従って、次のステ
ップB08で演算部15において上記新たに設定されたレン
ジデータ内でのグラフ作成のための表示データの演算が
行なわれ、その演算結果がグラフ表示バッファ14に順次
入力される。そして、グラフ表示バッファ14への入力が
終わった時点で、ステップB09においてグラフ表示バッ
ファ14に入力された表示データにより表示部19に図示す
るような拡大したグラフの表示が行なわれ、この拡大縮
小Aキー11g操作に対する処理を終了する。This completes the setting of the new range data, and in the subsequent step B06, the formula data "y = sin x" of the graph stored in the graph formula register 17a is called to the arithmetic unit 15. In accordance with this called formula data, in the next step B08, the calculation unit 15 calculates the display data for creating a graph within the newly set range data, and the calculation result is stored in the graph display buffer 14. Input sequentially. Then, when the input to the graph display buffer 14 is completed, an enlarged graph as shown in the drawing is displayed on the display unit 19 by the display data input to the graph display buffer 14 in step B09. The processing for the key 11g operation ends.
以上の拡大縮小Aキー11g操作による表示グラフの拡大
縮小に対して、以下拡大縮小Bキー11hの操作による表
示グラフの拡大縮小の動作について説明する。拡大縮小
Bキー11hは、Xキー11d、Yキー11eの操作に伴ってX
座標のレンジデータの設定とY座標のレンジデータの設
定とを別々に行なうものである。すなわち、表示部19が
上記第2図(1)に示したような表示状態にある場合に
おいて、第2図(5)の如くXキー11dを操作してX座
標のレンジデータの入力を指定し、テンキー11a、ファ
クションキー11bで「−30」「,」「60」をキー入力
し、続けて拡大縮小Bキー11hを操作すると、第5図に
示す処理が行なわれる。これは、まず最初のステップC0
1で制御部12がキーサンプリングを行なって操作キーが
拡大縮小Bキー11hであると判断した後に、ステップC02
で入力の先頭に操作されたキーがXキー11dまたはYキ
ー11eであるか否か判断する。ここで、操作キーがXキ
ー11dでもYキー11eでもないと判断された場合は、X座
標、Y座標の指定がなされず、拡大縮小Bキー11hによ
る表示グラフの拡大縮小を行なうことができないので、
エラーとなる。また、操作キーがXキー11dまたはYキ
ー11eであると判断された場合は、次にステップC03で、
その操作キーがXキー11dであるか否か判断する。ここ
では、操作キーはXキー11dであるので、判断結果は「Y
es」となり、次にステップC04に進んで、Xキー11dの後
に入力された2つの数値データのうち、大きい方の数値
データをXmaxレジスタ17iに、小さい方の数値データをX
minレジスタ17hにそれぞれX座標のレンジデータとして
入力設定する。したがって、 Xmaxレジスタ17iには数値データ「60」が、そして、Xmi
nレジスタ17hには数値データ「−30」がそれぞれ入力設
定される。なお、上記ステップC03で操作キーがXキー1
1dではないと判断された場合は、操作キーはYキー11e
であるということになり、次にステップC05に進んで、
Yキー11e操作の次に入力した2つの数値データのう
ち、大きい方の数値データをYmaxレジスタ17kに、小さ
い方の数値データをYminレジスタ17jにそれぞれY座標
のレンジデータとして入力設定する。The operation of enlarging / reducing the display graph by operating the enlarging / reducing B key 11h will be described below in response to the operation of enlarging / reducing the displayed graph by operating the enlarging / reducing A key 11g. The enlargement / reduction B key 11h is pressed in accordance with the operation of the X key 11d and the Y key 11e.
The setting of coordinate range data and the setting of Y coordinate range data are performed separately. That is, when the display unit 19 is in the display state as shown in FIG. 2 (1), the X key 11d is operated as shown in FIG. 2 (5) to specify the input of the range data of the X coordinate. When the numeric keypad 11a and the function key 11b are used to key in "-30", "," and "60" and then the enlargement / reduction B key 11h is operated, the processing shown in FIG. 5 is performed. This is the first step C0
In step 1, the control unit 12 performs key sampling and determines that the operation key is the enlargement / reduction B key 11h.
It is determined whether or not the key operated at the beginning of the input is the X key 11d or the Y key 11e. If it is determined that the operation key is neither the X key 11d nor the Y key 11e, the X coordinate and the Y coordinate are not specified, and the enlargement / reduction B key 11h cannot enlarge or reduce the display graph. ,
An error will occur. If it is determined that the operation key is the X key 11d or the Y key 11e, then in step C03,
It is determined whether the operation key is the X key 11d. Here, the operation key is the X key 11d, so the determination result is "Y
es ”, and then proceeds to step C04, in which of the two numerical data input after the X key 11d, the larger numerical data is stored in the Xmax register 17i and the smaller numerical data is stored in the Xmax register 17i.
Input to the min register 17h as X coordinate range data. Therefore, the numerical data "60" is stored in the Xmax register 17i and Xmi
Numerical data "-30" is input and set to the n register 17h. In step C03, the operation key is X key 1
If it is judged that it is not 1d, the operation key is Y key 11e
Therefore, proceed to step C05,
Of the two numerical data input after the operation of the Y key 11e, the larger numerical data is input to the Ymax register 17k and the smaller numerical data is input to the Ymin register 17j as Y coordinate range data.
レンジデータの入力設定が終わると、次はステップC06
において、グラフ式レジスタ17aに記憶されるグラフの
関数式データ「y=sin x」が演算部15に呼出される。
この呼出された関数式データに従って、次のステップC0
7で演算部15において上記新たに設定されたレンジデー
タ内でのグラフ作成のための表示データのの演算が行な
われる。ここで、Xminレジスタ17h、Xmaxレジスタ17iに
はそれぞれX座標のレンジデータ「−30」「60」が、ま
た、Yminレジスタ17j、Ymaxレジスタ17kにはそれぞれY
座標のレンジデータ「−1」、「1」が入力されてお
り、このレンジデータ内における演算結果がグラフ表示
バッファ14に順次入力される。そして、グラフ表示バッ
ファ14への入力が終わった時点で、ステップC08におい
てグラフ表示バッファ14に入力された表示データにより
表示部19に図示するようなX軸方向に拡大したグラフの
表示が行なわれ、以上でこの拡大縮小Bキー11h操作に
対する処理を終了する。When the range data input settings are complete, the next step is C06.
At, the function formula data “y = sin x” of the graph stored in the graph formula register 17a is called up by the arithmetic unit 15.
According to this called function expression data, the next step C0
In step 7, the calculation unit 15 calculates the display data for creating a graph within the newly set range data. Here, the X-coordinate range data “−30” and “60” are stored in the Xmin register 17h and the Xmax register 17i, respectively, and Y is stored in the Ymin register 17j and the Ymax register 17k.
The coordinate range data "-1" and "1" have been input, and the calculation results in this range data are sequentially input to the graph display buffer 14. Then, when the input to the graph display buffer 14 is completed, the graph enlarged in the X-axis direction as shown in the display unit 19 is displayed by the display data input to the graph display buffer 14 in step C08. Thus, the processing for the operation of the enlargement / reduction B key 11h is completed.
次いで、今度はY軸方向の拡大縮小を行なうために、第
2図(6)に示すようにYキー11eを操作してY座標の
レンジデータの入力を指定し、テンキー11a、ファンク
ションキー11bで「0」「,」「1」をキー入力し、続
けて拡大縮小Bキー1hを操作すると、再び第5図に示す
処理が行なわれる。すなわち、まずステップC01で操作
キーが拡大縮小Bキー11hであると判断した後に、ステ
ップC02で入力の先頭に操作されたキーがXキー11dまた
はYキー11eであると判断し、次にステップC03で、その
操作キーがXキー11dではないと判断されて、次にステ
ップC05に進む。このステップC05でYキー11e操作の次
に入力した2つの数値データ「0」「1」のうち、大き
い方の数値データ「1」をYmaxレジスタ17kに、小さい
方の数値データ「0」をYminレジスタ17jにそれぞれY
座標のレンジデータとして入力設定する。Next, in order to perform enlargement / reduction in the Y-axis direction this time, as shown in FIG. 2 (6), the Y key 11e is operated to specify the input of the range data of the Y coordinate, and the ten keys 11a and the function keys 11b are used. When "0", "," and "1" are keyed in and the enlarging / reducing B key 1h is subsequently operated, the processing shown in FIG. 5 is performed again. That is, first, at step C01, it is determined that the operation key is the enlargement / reduction B key 11h, then at step C02, it is determined that the key operated at the beginning of the input is the X key 11d or the Y key 11e, and then step C03. Then, it is determined that the operation key is not the X key 11d, and the process proceeds to step C05. Of the two numerical data “0” and “1” input after the operation of the Y key 11e in step C05, the larger numerical data “1” is stored in the Ymax register 17k and the smaller numerical data “0” is stored in Ymin. Y in register 17j
Input and set as coordinate range data.
レンジデータの入力設定が終わると、次はステップC06
において、グラフ式レジスタ17aに記憶されるグラフの
関数式データ「y=sin x」が演算部15に呼出され、こ
の呼出された関数式データに従って、次のステップC07
で演算部15において上記新たに設定されたレンジデータ
内でのグラフ作成のため表示データの演算が行なわれ
る。ここで、Xminレジスタ17h、Xmaxレジスタ17iにはそ
れぞれX座標のレンジデータ「−30」、「60」が、ま
た、Yminレジスタ17j、Ymaxレジスタ17kにはそれぞれY
座標のレンジデータ「0」、「1」が入力されており、
このレンジデータ内における演算結果がグラフ表示バッ
ファ14に順次入力される。そして、グラフ表示バッファ
14への入力が終わった時点で、ステップC08においてグ
ラフ表示バッファ14に入力された表示データにより表示
部19に図示するようなY軸方向に拡大したグラフの表示
が行なわれ、以上でこの拡大縮小Bキー11h操作に対す
る処理を終了する。When the range data input settings are complete, the next step is C06.
At the step C07, the function formula data "y = sin x" of the graph stored in the graph formula register 17a is called by the calculation unit 15, and the next step C07 is executed according to the called function formula data.
Then, the calculation unit 15 calculates the display data for creating the graph within the newly set range data. Here, the X-coordinate range data “−30” and “60” are stored in the Xmin register 17h and the Xmax register 17i, respectively, and Y is stored in the Ymin register 17j and the Ymax register 17k.
Coordinate range data “0” and “1” have been input,
The calculation results within this range data are sequentially input to the graph display buffer 14. And the graph display buffer
At the time when the input to 14 is completed, the graph enlarged in the Y-axis direction as shown in the drawing is displayed on the display unit 19 by the display data input to the graph display buffer 14 in step C08. The processing for the B key 11h operation is terminated.
以上の例では表示グラフの拡大の動作についてのみ述べ
たので、以下表示グラフの縮小の動作について説明す
る。第6図はそのキー操作とそれに対応する表示部19の
表示状態を示すもので、まず第6図(1)に示すように
上記第2図(1)と同じ状態で表示部19にグラフが表示
されているとする。ここで、数式バッファ18には関数式
のデータ「y=sin x」が入力されており、Yminレジス
タ17h、Ymaxレジスタ17iにX軸方向のレンジデータ「−
180」「180」が、また、Xminレジスタ17j、Ymaxレジス
タ17kにY軸方向のレンジデータ「−1」「1」がそれ
ぞれ入力されている。In the above example, only the operation of enlarging the display graph has been described, so the operation of reducing the display graph will be described below. FIG. 6 shows the key operation and the display state of the display section 19 corresponding to the key operation. First, as shown in FIG. 6 (1), a graph is displayed on the display section 19 in the same state as in FIG. 2 (1). It is supposed to be displayed. Here, the function buffer data “y = sin x” is input to the mathematical formula buffer 18, and the Xmin direction range data “−” is input to the Ymin register 17h and the Ymax register 17i.
180 "and" 180 ", and range data" -1 "and" 1 "in the Y-axis direction are input to the Xmin register 17j and the Ymax register 17k, respectively.
ここで、第6図(2)に示すように座標データ(−360,
2)を入力するためにプロットキー11fを操作し、テンキ
ー11a、ファンクションキー11bで「−360」「,」
「2」をキー入力し、続けて実行キー11jを操作する
と、この実行キー11jの操作に対して上記第3図の処理
が行なわれる。同図においては、まずステップA01でこ
れがプロット命令であると判断され、次にステップA02
で、Pxレジスタ17bに入力されている座標データをP′
xレジスタ17dに、またPyレジスタ17cに入力されている
座標データをP′yレジスタ17eにそれぞれ転送する。
ここではまだPxレジスタ17b、Pyレジスタ17cに座標デー
タが入力されていないので、P′xレジスタ17d、P′
yレジスタ17eにも座標データの転送入力はなされな
い。次いで、ステップA03でグラフ表示バッファ14の座
標(P′x,P′y)に相当する位置のアドレスに点灯信
号が送られる。ここでは、上記したように、まだP′x
レジスタ17d、P′yレジスタ17eに座標データの入力が
なされていないため、グラフ表示バッファ14には点灯信
号が送られない。その後、ステップA04でプロットキー1
1fの操作後にデータ入力があると判断されると、ステッ
プA05に進み、そのプロットキー11fの次に操作されたデ
ータ「−360」が「,」であるかどうか判断される。こ
の判断の結果は「No」となり、続くステップA06におい
てそのプロットキー11fの次に操作された座標データ
「−360」をPxレジスタ17bに入力設定する。次いで、ス
テップA07でこの座標データ「−360」に続けて入力され
た「,」の次に操作されたキー入力が実行キー11jであ
るかどうか判断される。この判断の結果も「No」とな
り、続くステップA08においてその「,」の次に操作さ
れた座標データ「2」をPyレジスタ17cに入力設定す
る。以上でプロットキー11fの操作によって指定された
座標データの入力設定を終わり、続くステップA09でこ
のPxレジスタ17b、Pyレジスタ17cに設定された座標デー
タ(−360,2)がポインタのテキスト表示のためにXmemo
レジスタ10l、Ymemoレジスタ17mに入力される。その
後、ステップA10で制御部12が、Pxレジスタ17b、Pyレジ
スタ17cに入力されている座標データに相当するグラフ
表示バッファ14内のアドレスを選択し、その選択したア
ドレスに点滅データを送出する。しかし、この場合、グ
ラフの縮小動作を行なうものであり、座標データ(−36
0,2)に相当するグラフ表示バッファ14内のアドレスは
存在せず、その選択は不可能であるため、グラフ表示バ
ッファ14には点滅データの送出はなされない。そして、
最後にステップA11において、グラフ表示バッファ14及
びテキスト表示バッファ13の内容に対応して表示部19に
表示が行なわれる。ここで、表示部19においては、第6
図(1)で示したグラフに加えて、このポインタの座標
表示としてXmemoレジスタ17lの内容がテキスト表示バッ
ファ13に送られて、画面下部に「X=−360」の文字が
表示される。Here, as shown in FIG. 6 (2), coordinate data (-360,
2) Operate the plot key 11f to input, and use the numeric keypad 11a and the function key 11b to select "-360"",".
When "2" is keyed in and the execute key 11j is subsequently operated, the process of FIG. 3 is performed in response to the operation of the execute key 11j. In the figure, first, in step A01, it is determined that this is a plot command, and then in step A02.
The coordinate data input to the Px register 17b to P ′.
The coordinate data input to the x register 17d and the Py register 17c are transferred to the P'y register 17e.
Here, since the coordinate data has not been input to the Px register 17b and the Py register 17c, the P'x registers 17d and P '
No coordinate data is transferred and input to the y register 17e. Then, in step A03, a lighting signal is sent to the address of the position corresponding to the coordinates (P'x, P'y) of the graph display buffer 14. Here, as stated above, P'x
Since no coordinate data is input to the registers 17d and P'y register 17e, no lighting signal is sent to the graph display buffer 14. Then in step A04 plot key 1
If it is determined that there is data input after the operation of 1f, it proceeds to step A05, and it is determined whether the data "-360" operated next to the plot key 11f is ",". The result of this determination is "No", and in the subsequent step A06, the coordinate data "-360" operated next to the plot key 11f is input and set in the Px register 17b. Next, at step A07, it is judged whether or not the key input operated after "," which is subsequently input to the coordinate data "-360" is the execution key 11j. The result of this judgment is also "No", and in the subsequent step A08, the coordinate data "2" operated next to that "," is input and set in the Py register 17c. This completes the input setting of the coordinate data specified by operating the plot key 11f, and the coordinate data (-360,2) set in the Px register 17b and Py register 17c is displayed as a pointer text in the following step A09. To Xmemo
Input to register 10l and Ymemo register 17m. Thereafter, in step A10, the control unit 12 selects an address in the graph display buffer 14 corresponding to the coordinate data input to the Px register 17b and Py register 17c, and sends the blinking data to the selected address. However, in this case, the graph is reduced, and the coordinate data (-36
Since there is no address in the graph display buffer 14 corresponding to (0, 2) and its selection is impossible, no blinking data is sent to the graph display buffer 14. And
Finally, in step A11, a display is made on the display unit 19 corresponding to the contents of the graph display buffer 14 and the text display buffer 13. Here, in the display unit 19, the sixth
In addition to the graph shown in FIG. 1A, the contents of the Xmemo register 17l are sent to the text display buffer 13 as the coordinate display of this pointer, and the character "X = -360" is displayed at the bottom of the screen.
次いで第6図(3)に示すように上記座標データ(−36
0,2)に対する対角の点の座標データ(360,−2)を入
力するためにプロットキー11fを操作し、テンキー11a、
ファクションキー11bで「360」「,」「−2」をキー入
力し、続けて実行キー11jを操作すると、この実行キー1
1jの操作に対して再び第3図において、ステップA01で
プロット命令であると判断された後に、ステップA02に
おいて上記第6図(2)でPxレジスタ17b、Pyレジスタ1
7cに入力された座標データ「−360」「2」がそれぞれ
P′xレジスタ17d、P′yレジスタ17eに転送入力され
る。その後、P′xレジスタ17d、P′yレジスタ17eに
入力された座標データ「−360」「2」に基づいて、ス
テップA03でグラフ表示バッファ14の座標(−360,2)に
相当する位置のアドレスに点灯信号が送られるが、その
ようなアドレスは存在しないので、結局点灯データは記
憶されない。続いて、ステップA04でプロットキー11fの
操作後のデータありと判断され、ステップA05に進む。
ステップA05でプロットキー11fの操作直後のデータ
が「,」ではないと判断されると、次にステップA06に
おいて、そのプロットキー11fの操作直後のデータ「36
0」が新たにPxレジスタ17bに入力される。続いてステッ
プA07で「,」の次に操作されたデータが実行キー11jで
はないと判断され、ステップA08に進んで、そのデータ
「−2」がPyレジスタ17cに新たに入力される。次のス
テップA09でPxレジスタ17b、Pyレジスタ17cの内容がXme
moレジスタ17l、Ymemoレジスタ17mに転送され、ステッ
プA10で制御部12が、Pxレジスタ17b、Pyレジスタ17cに
入力されている座標データ(360,−2)に相当するグラ
フ表示バッファ14内のアドレスを選択しようとするがそ
のようなアドレスはないので、選択は行なわず、従って
その後に続く点滅データの送出も行なわれない。そし
て、最後にステップA11において、グラフ表示バッファ1
4及びテキスト表示バッファ13の内容に対応して表示部1
9に表示が行なわれる。ここでは、表示部19において、
第6図(1)で示したグラフと、表示されないポインタ
の座標表示としてXmemoレジスタ17lの内容がテキスト表
示バッファ13に送られて、画面下部に「X=360」の文
字が表示される。Then, as shown in FIG. 6 (3), the coordinate data (-36
Operate the plot key 11f to input the coordinate data (360, -2) of the diagonal point with respect to (0,2)
If you input "360", ",""-2" with the function key 11b and then press the execute key 11j, the execution key 1
Again in response to the operation of 1j in FIG. 3, after it is judged in step A01 that it is a plot instruction, in step A02, the Px register 17b and the Py register 1 in FIG.
The coordinate data "-360" and "2" input to 7c are transferred and input to the P'x register 17d and P'y register 17e, respectively. Then, based on the coordinate data "-360" and "2" input to the P'x register 17d and P'y register 17e, the position corresponding to the coordinate (-360,2) of the graph display buffer 14 is determined in step A03. A lighting signal is sent to the address, but since such an address does not exist, the lighting data is not stored in the end. Then, in step A04, it is determined that there is data after the operation of the plot key 11f, and the process proceeds to step A05.
If it is determined in step A05 that the data immediately after the operation of the plot key 11f is not ",", then in step A06, the data "36" immediately after the operation of the plot key 11f is
"0" is newly input to the Px register 17b. Subsequently, in step A07, it is determined that the data operated next to "," is not the execution key 11j, and the process proceeds to step A08, in which the data "-2" is newly input to the Py register 17c. In the next step A09, the contents of Px register 17b and Py register 17c are changed to Xme.
It is transferred to the mo register 17l and the Ymemo register 17m, and in step A10, the control unit 12 sets the address in the graph display buffer 14 corresponding to the coordinate data (360, -2) input to the Px register 17b and the Py register 17c. No attempt is made to make a selection, but there is no such address, so no selection is made and therefore no subsequent flashing data is sent. Finally, in step A11, the graph display buffer 1
4 and the display unit 1 corresponding to the contents of the text display buffer 13
The display will be on 9. Here, in the display unit 19,
The graph shown in FIG. 6 (1) and the contents of the Xmemo register 17l as the coordinate display of the pointer not displayed are sent to the text display buffer 13 and the character "X = 360" is displayed at the bottom of the screen.
その後に第6図(4)に示すように拡大縮小Aキー11g
を操作すると、上記第4図に示す処理による表示グラフ
の拡大縮小を行なう。すなわち、まずステップB01に示
すように、Pxレジスタ17bに入力されているX座標デー
タが、P′xレジスタ17dに入力されているX座標デー
タより大きいか否か判断する。ここで、Pxレジスタ17b
の値は「360」であり、P′xレジスタ17dの値は「−36
0」であるので、Pxレジスタ17bの値の方が大きいと判断
され、ステップB02に進んでPxレジスタ17bに入力されて
いるX座標データ「360」をXmaxレジスタ17iに、また
P′xレジスタ17dに入力されているX座標データ「−3
60」をXminレジスタ17hに、それぞれ新たなX座標のレ
ンジデータとして入力設定し、次にステップB03に至
る。ステップB03では、上記のX座標のレンジデータの
設定と同様にしてY座標のレンジデータの設定を行なう
ために、Pyレジスタ17cに入力されているY座標データ
が、P′yレジスタ17eに入力されているY座標データ
より大きいか否か判断する。ここではPyレジスタ17cの
値は「−2」であり、P′yレジスタ17eの値は「2」
であるので、P′yレジスタ17eの値の方が大きいと判
断され、次にステップB07に進む。ステップB07では、
P′yレジスタ17eの値「2」をYmaxレジスタ17kに、Py
レジスタ17cの値「−2」をYminレジスタ17jにそれぞれ
新たなY座標のレンジデータとして入力設定する。レン
ジデータの設定が終わると、続くステップB06で、グラ
フ式レジスタ17aに配憶されるグラフの関数式データ
「y=sin x」が演算部15に呼出され、この呼出された
関数式データに従って、次のステップB08で演算部15に
おいて上記新たに設定されたレンジデータ内でのグラフ
作成のための表示データの演算が行なわれる。ここで、
Xminレジスタ17h、Xmaxレジスタ17iにはそれぞれX座標
のレンジデータ「−360」、「360」が、また、Yminレジ
スタ17j、Ymaxレジスタ17kにはそれぞれY座標のレンジ
データ「−2」、「2」が入力されており、このレンジ
データ内における演算結果がグラフ表示バッファ14に順
次入力される。そして、グラフ表示バッファ14への入力
が終わった時点で、ステップB09においてグラフ表示バ
ッファ14に入力された表示データにより表示部19に図示
するような縮小したグラフの表示が行なわれ、以上でこ
の拡大縮小Aキー11g操作に対する表示グラフの縮小処
理を終了する。After that, as shown in Fig. 6 (4), enlargement / reduction A key 11g
When is operated, the display graph is enlarged or reduced by the processing shown in FIG. That is, first, as shown in step B01, it is determined whether or not the X coordinate data input to the Px register 17b is larger than the X coordinate data input to the P'x register 17d. Where Px register 17b
Is "360" and the value of the P'x register 17d is "-36".
Since it is "0", it is determined that the value of the Px register 17b is larger, and the process proceeds to step B02, where the X coordinate data "360" input to the Px register 17b is stored in the Xmax register 17i and the P'x register 17d. X coordinate data "-3
"60" is input and set in the Xmin register 17h as new X coordinate range data, and the process goes to step B03. In step B03, the Y coordinate data input to the Py register 17c is input to the P'y register 17e in order to set the Y coordinate range data in the same manner as the setting of the X coordinate range data. It is determined whether or not it is larger than the Y coordinate data. Here, the value of the Py register 17c is "-2" and the value of the P'y register 17e is "2".
Therefore, it is determined that the value of the P'y register 17e is larger, and the process proceeds to step B07. In step B07,
The value "2" in the P'y register 17e is set in the Ymax register 17k and Py
The value "-2" in the register 17c is input and set in the Ymin register 17j as new range data of the Y coordinate. When the setting of the range data is completed, in the subsequent step B06, the function formula data “y = sin x” of the graph stored in the graph formula register 17a is called by the arithmetic unit 15, and according to the called function formula data, In the next step B08, the calculation unit 15 calculates the display data for creating the graph within the newly set range data. here,
X-coordinate range data “−360” and “360” are stored in the Xmin register 17h and Xmax register 17i, and Y-coordinate range data “-2” and “2” are stored in the Ymin register 17j and Ymax register 17k. Is input, and the calculation results in this range data are sequentially input to the graph display buffer 14. Then, when the input to the graph display buffer 14 is completed, a reduced graph as shown in the drawing is displayed on the display unit 19 by the display data input to the graph display buffer 14 in step B09. The reduction processing of the display graph corresponding to the reduction A key 11g operation is ended.
次いで、第7図及び第8図により拡大キー11iを用いた
表示グラフの拡大動作を説明する。第7図は拡大キー11
iを含むキーの操作とそれに対応する表示部19のの状態
を示すもので、まず初めに第7図(1)に示すように上
記第2図(1)と同じ状態で表示部19にグラフ及び座標
軸が表示されているとする。ここで数式バッファ18には
関数式のデータ「y=sin x」が入力されており、 Xminレジスタ17h、Xmaxレジスタ17iには、X軸方向のレ
ンジデータ「−180」「180」が、また、Yminレジスタ17
j、Ymaxレジスタ17kにはY軸方向のレンジデータ「−
1」「1」がそれぞれ入力されている。Next, the expansion operation of the display graph using the expansion key 11i will be described with reference to FIGS. 7 and 8. Fig. 7 shows enlargement key 11
The operation of keys including i and the state of the display section 19 corresponding to the operation are shown. First, as shown in FIG. 7 (1), a graph is displayed on the display section 19 in the same state as in FIG. 2 (1). And the coordinate axes are displayed. Here, the function formula data “y = sin x” is input to the formula buffer 18, and the X-axis direction range data “−180” and “180” are stored in the Xmin register 17h and Xmax register 17i. Ymin register 17
j, Ymax register 17k stores Y-axis range data "-
"1" and "1" are input respectively.
ここで、第7図(2)に示すように拡大キー11iを操作
すると、この拡大キー11iの操作に対して第8図の処理
が行なわれる。すなわち、同図において、まずステップ
D01でX軸の表示がなされているか否かを判断するもの
で、ここではX軸が表示されているので、次にステップ
D02に進み、グラフ表示バッファ14内の表示部19のX軸
左端部に対応する表示アドレスを選択し、そのアドレス
に点滅データを送出する。この表示部19のX軸左端部
は、Xminレジスタ17hの記憶するデータ「Xmin」によっ
て座標データ(Xmin,0)で表わされるもので、この場合
にその座標は(−180,0)となり、その座標位置のアド
レスに点滅データが書込まれたら、その点滅データに従
って表示部19にポインタを表示すると共に、続くステッ
プD03に示すように次の左右方向への移動を指定するカ
ーソルキーまたはXキー11dのキー入力の待機状態とな
る。When the enlargement key 11i is operated as shown in FIG. 7 (2), the process shown in FIG. 8 is performed in response to the operation of the enlargement key 11i. That is, in FIG.
It is determined whether or not the X-axis is displayed with D01. Since the X-axis is displayed here, the next step
Proceeding to D02, the display address corresponding to the left end of the X-axis of the display unit 19 in the graph display buffer 14 is selected, and the blinking data is sent to that address. The left end of the X-axis of the display unit 19 is represented by coordinate data (Xmin, 0) by the data "Xmin" stored in the Xmin register 17h. In this case, the coordinate is (-180,0). When the blinking data is written in the address of the coordinate position, the pointer is displayed on the display unit 19 according to the blinking data, and the cursor key or the X key 11d for designating the next movement in the left and right direction as shown in the following step D03. It will be in the standby state for key input of.
また、ステップD01でX軸が表示されていないと判断さ
れた場合は、次にステップD04に進み、Xminレジスタ17
j、Xmaxレジスタ17kのうちいずれか「0」に近い方の
値、例えば「Ymin」をも用いて座標データ(Xmin,Ymi
n)で表わされるグラフ表示バッファ14内の表示部19の
左端に対応するアドレスに点滅データが書込まれ、表示
部19に点滅データに従ってポインタを表示し、続いいて
ステップD03に至る。If it is determined in step D01 that the X-axis is not displayed, the process proceeds to step D04 and the Xmin register 17
The coordinate data (Xmin, Ymi) is also obtained by using the value closer to “0” of the j and Xmax registers 17k, for example, “Ymin”.
The blinking data is written in the address corresponding to the left end of the display unit 19 in the graph display buffer 14 represented by n), the pointer is displayed on the display unit 19 according to the blinking data, and then the process goes to step D03.
ステップD03でキー入力を待機した状態において、第7
図(3)に示すようにファンクションキー11bの中の右
方向への移動を指定するカーソルキーを操作すると、こ
のキー入力によりステップD05に進んで、このキー入力
がXキー11d操作によるものかどうか判断する。ここで
は、このキー入力は、右への移動を指定するカーソルキ
ー操作によるものであるので、判断結果は「No」とな
り、次にステップD06に進む。ステップD06では、操作さ
れたカーソルキーの移動方向に応じてポインタのプロッ
ト点の演算及び設定を行なう。ここで、ポインタのプロ
ット点の演算は、数式 X1=(Xmax−Xmin)/ドット数 (ドット数は例えばこの場合95) から算出されるドット単位「X1」を基準として、カーソ
ルキーの移動方向が右であれば プロット点=現在点+X1 また、カーソルキーの移動方向が左であれば プロット点=現在点−X1 なる演算式でそのX座標が求められる(Y座標は
「0」)もので、この演算結果により求められたプロッ
ト点に従って、続くステップD07でプロット表示を実行
し、再びステップD03のキー待機状態となる。While waiting for key input in step D03,
As shown in Fig. (3), when the cursor key that specifies the rightward movement in the function key 11b is operated, this key input proceeds to step D05, and whether this key input is the X key 11d operation or not. to decide. Here, since this key input is based on the cursor key operation for designating the rightward movement, the determination result is "No", and the process proceeds to step D06. In step D06, the plot point of the pointer is calculated and set according to the moving direction of the operated cursor key. Here, calculation of the plot points of the pointers, the formula X 1 = (Xmax-Xmin) / number of dots (the number of dots, for example in this case 95), based on the dot "X 1" which is calculated from the movement of the cursor keys If the direction is right, plot point = current point + X 1 If the cursor key movement direction is left, plot point = current point -X 1 The X coordinate can be obtained by an arithmetic expression (Y coordinate is “0”). ), The plot display is executed in the following step D07 in accordance with the plot point obtained by this calculation result, and the key standby state of step D03 is again established.
こうして右方向への移動を指定するカーソルキーを複数
回操作し、上記ステップD03、D05〜D07の動作を繰返し
てポインタが所望の位置に表示された時点で、第1回目
のXキー11dをレンジデータの設定のために操作する
と、この操作により上記ステップD05で操作キーがXキ
ー11dであると判断されて、次にステップD08に進む。ス
テップD08では、このXキー11dの操作が1回目であるか
否かを判断するもので、ここではまだ1回目であるの
で、次にステップD09に進んで、現在のポインタのプロ
ット点のX座標データをP′xレジスタ17dに入力設定
し、再び上記ステップD03でキー入力の待機状態とな
る。In this way, the cursor key for designating the rightward movement is operated a plurality of times, and when the pointer is displayed at the desired position by repeating the operations of steps D03, D05 to D07, the first X key 11d is moved to the range. When operated for setting data, this operation determines that the operation key is the X key 11d in step D05, and then proceeds to step D08. In step D08, it is determined whether or not the operation of the X key 11d is the first operation. Since it is the first operation here, the process proceeds to step D09, and the X coordinate of the current plot point of the pointer. The data is input and set in the P'x register 17d, and the key input standby state is again entered in step D03.
次いで第7図(4)に示すように再度右方向への移動を
指定するカーソルキーを複数回操作し、上記ステップD0
3、D05〜D07の動作を繰返してポインタを右方向に移動
させる。この場合、左方向にポインタを移動させるカー
ソルキーを操作してもよい。Then, as shown in FIG. 7 (4), the cursor key for designating the rightward movement is again operated a plurality of times, and the above step D0
3. Repeat the operation of D05 to D07 to move the pointer to the right. In this case, you may operate the cursor key which moves a pointer to the left.
そして、ポインタが所望の位置に表示された時点で、第
7図(5)に示すように第2回目のXキー11dをレンジ
データの設定のために操作すると、この操作により上記
ステップD05で操作キーがXキー11dであると判断され
て、次にステップD08に進む。ステップD08で、このXキ
ー11dの操作が1回目ではないと判断されると、次にス
テップD10に進んで、現在のポインタのプロット点のX
座標データをPxレジスタ17bに入力設定する。次いでス
テップD11において、上記ステップD09で設定したP′x
レジスタ17dの値が、ステップD10で設定したPxレジスタ
17bの値よりも小さいか否か判断する。この場合、P′
xレジスタ17dの値はPxレジスタ17bの値よりも小さいの
で、次にステップD12においてPxレジスタ17bの値をXmax
レジスタ17iに、P′xレジスタ17dの値をXminレジスタ
17hに、それぞれX座標のレンジデータとして転送し、
入力設定する。また、上記ステップD11でP′xレジス
タ17dの値がPxレジスタ17bの値よりも小さくないと判断
された場合は、第1回目のプロット点よりも第2回目の
プロット点の方がマイナス方向、つまり左方向に位置す
ることになり、次にステップD13に進んで、上記ステッ
プD12とは逆にP′xレジスタ17dの値をXmaxレジスタ17
iに、Pxレジスタ17bの値をXminレジスタ17hに、それぞ
れX座標のレンジデータとして転送し、入力設定する。
新たなX座標のレンジデータの設定が終わると、次にス
テップD14において、グラフ式レジスタ17aの記憶する数
式データとXminレジスタ17h、Xmaxレジスタ17iの記憶す
る新たなX座標のレンジデータ及びYminレジスタ17j、X
maxレジスタ1kの記憶するY座標のレンジデータによっ
て演算部15で表示データが演算され、演算結果がグラフ
表示バッファ14に送られて、その結果、表示部19に拡大
したグラフが表示される。これとともにステップD15に
示すように、表示部19のグラフにY軸が表示されている
か否かが判断される。この場合にはY軸が表示されてい
るので、次にステップD16に進んで、表示されているY
軸の上端、すなわち座標(0,Ymax)に対応するグラフ表
示バッファ14の位置のアドレスに点滅データが書込ま
れ、その点滅データに従って表示部19にポインタが表示
されると共に、続くステップD17に示すように次に上下
方向への移動を指定するカーソルキーまたはYキー11e
のキー入力の待機状態となる。Then, when the pointer is displayed at the desired position, the second X key 11d is operated for setting the range data as shown in FIG. 7 (5), and this operation causes the operation in step D05. It is determined that the key is the X key 11d, and the process proceeds to step D08. If it is determined in step D08 that this X key 11d has not been operated for the first time, the process proceeds to step D10, and the X at the plot point of the current pointer is set.
Input the coordinate data to the Px register 17b. Then, in step D11, P'x set in step D09 is set.
The value of register 17d is the Px register set in step D10.
Judge whether it is smaller than the value of 17b. In this case, P '
Since the value of the x register 17d is smaller than the value of the Px register 17b, next, in step D12, the value of the Px register 17b is set to Xmax.
The value of the P'x register 17d is set to the register 17i by the Xmin register.
Transferred to 17h as X coordinate range data,
Input settings. When it is determined in step D11 that the value of the P'x register 17d is not smaller than the value of the Px register 17b, the second plot point is in the negative direction rather than the first plot point, In other words, it is located to the left, and then the process proceeds to step D13, where the value of the P'x register 17d is set to the Xmax register 17 contrary to step D12.
In i, the value of the Px register 17b is transferred to the Xmin register 17h as the range data of the X coordinate, and the input is set.
When the setting of the new X coordinate range data is completed, next, in step D14, the mathematical formula data stored in the graph formula register 17a, the new X coordinate range data stored in the Xmin register 17h and the Xmax register 17i, and the Ymin register 17j. , X
The display data is calculated by the calculation unit 15 by the range data of the Y coordinate stored in the max register 1k, the calculation result is sent to the graph display buffer 14, and as a result, the enlarged graph is displayed on the display unit 19. At the same time, as shown in step D15, it is determined whether or not the Y axis is displayed on the graph of the display unit 19. In this case, since the Y-axis is displayed, the process proceeds to step D16, and the displayed Y-axis is displayed.
Blinking data is written at the address of the position of the graph display buffer 14 corresponding to the upper end of the axis, that is, the coordinates (0, Ymax), the pointer is displayed on the display unit 19 according to the blinking data, and the subsequent step D17 is shown. Cursor key or Y key 11e to specify the up / down movement as shown below
It will be in the standby state for key input of.
また、ステップD15でY軸が表示されていないと判断さ
れた場合は、次にステップD18に進み、Xminレジスタ17
h、Xmaxレジスタ17iのうちいずれか「0」に近い方の
値、例えば「Xmin」を用いて座標データ(Xmin,Ymax)
で表わされるグラフ表示バッファ14内の表示部19の上端
に対応するアドレスに点滅データが書込まれ、表示部9
に点滅デーータに従ってポインタを表示し、続いてステ
ップD17に至る。If it is determined in step D15 that the Y-axis is not displayed, the process proceeds to step D18 and the Xmin register 17
Coordinate data (Xmin, Ymax) using the value closer to "0" in either h or Xmax register 17i, for example, "Xmin"
The blinking data is written in the address corresponding to the upper end of the display unit 19 in the graph display buffer 14 represented by
The pointer is displayed according to the blinking data, and then the process goes to step D17.
ステップD17でキー入力を待機した状態において、第7
図(6)に示すようにファンクションキー11bの中の下
方向へ移動を指定するカーソルキーを操作すると、この
キー入力によりステップD19に進んで、このキー入力が
Yキー11e操作によるものかどうか判断する。ここで
は、このキー入力は、下への移動を指定するカーソルキ
ー操作によるものであるので、判断結果は「No」とな
り、次にステップD20に進む。ステップD20では、操作さ
れたカーソルキーの移動方向に応じてポインタのプロッ
ト点の演算及び設定を行なう。ここで、ポインタのプロ
ット点の演算は、数式 Y1=(Ymax−Ymin)/ドット数 (ドット数は例えばこの場合63) から算出されるドット単位「Y1」を基準として、カーソ
ルキーの移動方向が上であれば プロット点=現在点+Y1 また、カーソルキーの移動方向が下であれば プロット点=現在点−Y1 なる演算式でそのY座標が求められる(X座標は
「0」)もので、この演算結果により求められたプロッ
ト点に従って、続くステップD21でプロット表示を実行
し、再びステップD17のキー待機状態となる。While waiting for the key input in step D17,
As shown in Fig. 6 (6), when the cursor key for instructing the downward movement in the function key 11b is operated, the process advances to step D19 by this key input, and it is determined whether this key input is by the Y key 11e operation. To do. Here, since this key input is based on the cursor key operation for designating the downward movement, the determination result is "No", and the process proceeds to step D20. In step D20, the plot point of the pointer is calculated and set according to the moving direction of the operated cursor key. Here, the calculation of the plot point of the pointer is performed by moving the cursor key based on the dot unit “Y 1 ” calculated from the formula Y 1 = (Ymax−Ymin) / number of dots (the number of dots is 63 in this case, for example). If the direction is up, plot point = current point + Y 1 If the cursor key movement direction is down, plot point = current point -Y 1 The Y coordinate can be obtained by an arithmetic expression (X coordinate is “0”). ), The plot display is executed in the following step D21 in accordance with the plot point obtained by this calculation result, and the key waiting state of step D17 is again established.
こうして下方向への移動を指定するカーソルキーを複数
回操作し、上記ステップD17、D19〜D21の動作を繰返し
てポインタが所望の位置に表示された時点で、第1回目
のYキー11eをレンジデータの設定のために操作する
と、この操作により上記ステップD19で操作キーがYキ
ー11eであると判断されて、次にステップD22に進む。ス
テップD22では、このYキー11eの操作が1回目であるか
否かを判断するもので、ここではまだ1回目であるの
で、次にステップD23に進んで、現在のポインタのプロ
ット点のY座標データをP′yレジスタ17eに入力設定
し、再び上記ステップD17でキー入力の待機状態とな
る。In this way, the cursor key for designating the downward movement is operated multiple times, and when the pointer is displayed at the desired position by repeating the operations of steps D17 and D19 to D21, the first Y key 11e is moved to the range. When operated for setting data, this operation determines that the operation key is the Y key 11e in step D19, and the process proceeds to step D22. In step D22, it is determined whether or not the operation of the Y key 11e is the first operation. Since it is still the first operation here, the process proceeds to step D23, and the Y coordinate of the plot point of the current pointer. The data is input and set in the P'y register 17e, and the key input standby state is again entered in step D17.
次いで第7図(7)に示すように再度下方向への移動を
指定するカーソルキーを複数回操作し、上記ステップD1
7、D19〜D21の動作を繰返してポインタを下方向に移動
させる。この場合、上方向にポインタを移動させるカー
ソルキーを操作してもよい。Then, as shown in FIG. 7 (7), the cursor key for designating the downward movement again is operated a plurality of times to perform the above step D1.
7. Repeat the operation of D19 to D21 to move the pointer downward. In this case, the cursor key for moving the pointer upward may be operated.
そして、ポインタが所望の位置に表示された時点で、第
7図(8)に示すように第2回目のYキー11eをレンジ
データの設定のために操作すると、この操作により上記
ステップD19で操作キーがYキー11eであると判断され
て、次にステップD22に進む。ステップD22で、このYキ
ー11eの操作が1回目ではないいと判断されると、次に
ステップD24に進んで、現在のポインタのプロット点の
Y座標データをPyレジスタ17cに入力設定する。次いで
ステップD25において、上記ステップD23で設定したP′
yレジスタ17eの値が、ステップD24で設定したPyレジス
タ17cの値よりも小さいか否か判断する。この場合、
P′xレジスタ17dの値はPxレジスタ17bの値よりも小さ
くないので、次にステップD26においてP′yレジスタ1
7eの値をYmaxレジスタ17kに、Pyレジスタ17cの値をYmin
レジスタ17jに、それぞれY座標のレンジデータとして
転送し、入力設定する。また、上記ステップD25でP′
yレジスタ17eの値がPyレジスタ17cの値よりも小さいと
判断された場合は、第1回目のプロット点よりも第2回
目のプロット点の方がプラス方向、つまり上方向に位置
することになり、次にステップD27に進んで、上記ステ
ップD26とは逆にPyレジスタ17cの値をYmaxレジスタ17k
に、P′yレジスタ17eの値をYminレジスタ17jに、それ
ぞれY座標のレンジデータとして転送し、入力設定す
る。こうして新たなY座標のレンジデータの設定が終わ
ると、最後にステップD28において、グラフ式レジスタ1
7aの記憶する数式データとYminレジスタ17j、Ymaxレジ
スタ17kの記憶する新たなY座標のレンジデータ及びXmi
n17h、Xmaxレジスタ17iの記憶するX座標のレンジデー
タによって演算部15で表示データが演算され、演算結果
がグラフ表示バッファ14に送られて、その結果、表示部
19に拡大したグラフが再表示され、以上で拡大キー11i
操作による表示座標軸上でのレンジデータ指定に伴う表
示グラフの拡大動作の処理を終了する。なお、この拡大
キー11iを用いた場合には、レンジデータの指定をあく
までも表示グラフの座標軸上で行なうので、表示されな
い範囲をレンジデータとして設定することはできず、し
たがって表示グラフの縮小を行なうことはできない。Then, when the pointer is displayed at the desired position, the second Y key 11e is operated for setting the range data as shown in FIG. 7 (8), and this operation is performed in step D19. It is determined that the key is the Y key 11e, and the process proceeds to step D22. If it is determined in step D22 that the Y key 11e is not operated for the first time, the process proceeds to step D24, and the Y coordinate data of the plot point of the current pointer is input and set in the Py register 17c. Then, in step D25, P ′ set in step D23 is set.
It is determined whether the value of the y register 17e is smaller than the value of the Py register 17c set in step D24. in this case,
Since the value of the P'x register 17d is not smaller than the value of the Px register 17b, next, in step D26, the P'y register 1
Set the value of 7e to Ymax register 17k and the value of Py register 17c to Ymin.
The data is transferred to the register 17j as Y-coordinate range data and set as input. In step D25, P '
If it is determined that the value in the y register 17e is smaller than the value in the Py register 17c, the second plot point will be located in the plus direction, that is, the upper direction than the first plot point. Then, proceed to step D27, and conversely to step D26, set the value of Py register 17c to Ymax register 17k.
Then, the value of the P'y register 17e is transferred to the Ymin register 17j as the Y coordinate range data, and is input and set. When the setting of the range data of the new Y coordinate is completed in this way, finally, in step D28, the graph type register 1
Numerical data stored in 7a, new Y coordinate range data stored in Ymin register 17j, Ymax register 17k, and Xmi
n17h, the display data is calculated by the calculation unit 15 by the range data of the X coordinate stored in the Xmax register 17i, the calculation result is sent to the graph display buffer 14, and the result is displayed on the display unit.
The graph enlarged to 19 is redisplayed, and the enlargement key 11i
The process of enlarging the display graph accompanying the specification of range data on the display coordinate axes by the operation is terminated. Note that when this enlargement key 11i is used, the range data is specified only on the coordinate axes of the display graph, so it is not possible to set the range that is not displayed as range data, and therefore the display graph should be reduced. I can't.
[発明の効果] 以上のようにこの発明によれば、表示部の画面に対する
2点を指定することにより、この指定された2点の座標
データから新たな表示範囲を設定し、この範囲で新たな
グラフを作成して拡大表示するようにしたから、極めて
簡単な操作でグラフの必要な部分の拡大表示を実行する
ことができるようになる。As described above, according to the present invention, by designating two points on the screen of the display unit, a new display range is set from the coordinate data of the designated two points, and a new display range is set in this range. Since a large graph is created and displayed in an enlarged manner, it becomes possible to execute an enlarged display of a necessary portion of the graph by an extremely simple operation.
図面はこの発明の一実施例を示すもので、第1図は回路
構成を示すブロック図、第2図はキー操作とそれに対応
した第1及び第2の方法による表示部のグラフの拡大表
示の状態を示す図、第3図は実行キー操作に対する処理
を示すフローチャート、第4図は拡大縮小Aキー操作に
対する処理を示すフローチャート、第5図は拡大縮小B
キー操作に対する処理を示すフローチャート、第6図は
キー操作とそれに対応した上記第1の方法による表示部
のグラフ縮小表示の状態を示す図、第7図はキー操作と
それに対応した第3の方法による表示部のグラフの拡大
表示の状態を示す図、第8図は拡大キーの操作に対する
処理を示すフローチャートである。 11……キー入力部、11a……テンキー、11b……ファンク
ションキー、11c……関数キー、11d……Xキー、11e…
…Yキー、11f……プロットキー、11g……拡大縮小Aキ
ー、11h……拡大縮小Bキー、11i……拡大キー、11j…
…実行キー、12……制御部、13……テキスト表示バッフ
ァ、14……グラフ表示バッファ、15……演算部、16……
実行ポインタ、17……メモリ部、17a……グラフ式レジ
スタ、17b……Pxレジスタ、17c……Pyレジスタ、17d…
…P′xレジスタ、17e……P′yレジスタ、17f……X
レジスタ、17g……Yレジスタ、17h……Xminレジスタ、
17i……Xmaxレジスタ、17j……Yminレジスタ、17k……Y
maxレジスタ、17l……Xmemoレジスタ、17m……Ymemoレ
ジスタ、18……数式バッファ、19……表示部。FIG. 1 shows an embodiment of the present invention. FIG. 1 is a block diagram showing a circuit configuration, and FIG. 2 is an enlarged display of a graph of a display section by key operation and corresponding first and second methods. FIG. 3 is a flowchart showing a state, FIG. 3 is a flowchart showing a process for an execution key operation, FIG. 4 is a flowchart showing a process for an enlargement / reduction A key operation, and FIG. 5 is an enlargement / reduction B.
FIG. 6 is a flowchart showing a process for a key operation, FIG. 6 is a view showing a key operation and a state in which a graph is reduced and displayed on the display unit by the first method corresponding thereto, and FIG. 7 is a key operation and a third method corresponding thereto. FIG. 8 is a diagram showing a state of enlarged display of a graph on the display unit, and FIG. 8 is a flowchart showing a process for operating an enlarge key. 11 …… Key input section, 11a …… Numeric keypad, 11b …… Function key, 11c …… Function key, 11d …… X key, 11e…
… Y key, 11f …… Plot key, 11g …… Enlargement / reduction A key, 11h …… Enlargement / reduction B key, 11i …… Enlargement key, 11j…
… Execution key, 12… Control unit, 13… Text display buffer, 14… Graph display buffer, 15… Arithmetic unit, 16…
Execution pointer, 17 ... Memory part, 17a ... Graph expression register, 17b ... Px register, 17c ... Py register, 17d ...
... P'x register, 17e ... P'y register, 17f ... X
Register, 17g …… Y register, 17h …… Xmin register,
17i …… Xmax register, 17j …… Ymin register, 17k …… Y
max register, 17l …… Xmemo register, 17m …… Ymemo register, 18 …… formula buffer, 19 …… display section.
フロントページの続き (56)参考文献 特開 昭50−6380(JP,A) 特開 昭54−51752(JP,A) 特開 昭52−116050(JP,A) 特開 昭57−41731(JP,A) 特開 昭57−203127(JP,A) 特開 昭54−98532(JP,A) マイコンが描く数学の世界、森本光生 著、現代数学社、1984−4−15、P9〜15Continuation of front page (56) Reference JP-A-50-6380 (JP, A) JP-A-54-51752 (JP, A) JP-A-52-116050 (JP, A) JP-A-57-41731 (JP , A) JP 57-203127 (JP, A) JP 54-98532 (JP, A) The world of mathematics drawn by a microcomputer, Mitsuo Morimoto, Hyundai Mathematics Co., 1984-4-15, P9-15
Claims (1)
max,Ymin,Ymaxの値を各々X軸方向及びY軸方向の表示
限界両端の座標値とし、且つ表示画面の大きさが固定さ
れた矩形の表示領域を有する表示手段と、 上記X軸方向の最小値Xminと最大値Xmax、及びY軸方向
の最小値Yminと最大値Ymaxを記憶する表示範囲記憶手段
と、 入力された関数式を記憶する関数式記憶手段と、 Xの値を上記表示範囲記憶手段に記憶された最小値Xmin
から最大値Xmaxまで所定の間隔で変化させ、上記関数式
記憶手段に記憶された関数式に代入することで順次Yの
値を演算する演算手段と、 上記表示範囲記憶手段に記憶されたX軸方向の最小値Xm
in、最大値Xmax及びY軸方向の最小値Ymin、最大値Ymax
を各々上記表示領域のX軸方向及びY軸方向の最小、最
大座標値とするとともに、上記演算手段で得られたX、
Yの値を(X、Y)の座標点として上記表示領域にプロ
ットするグラフ作成手段と、 上記表示領域に表示されたグラフ画面上において新たに
表示対象範囲とする対角の2点を指定する指定手段と、 この指定手段で指定された2点の座標データに対応付け
て新たなX軸方向の最小値Xminと最大値Xmax、及びY軸
方向の最小値Yminと最大値Ymaxを定め、上記表示範囲記
憶手段に設定する表示範囲変更手段とを具備し、 この表示範囲変更手段により設定された新たな表示対象
範囲を、上記表示領域全面に合致させ、上記演算手段及
び上記グラフ作成手段を作動させ新たなグラフ作成を実
行可能としたことを特徴とするグラフ表示装置。1. Xmin, X on a dot matrix type display screen
Display means having a rectangular display area in which the values of max, Ymin, and Ymax are coordinate values at both ends of the display limit in the X-axis direction and the Y-axis direction, respectively, and the size of the display screen is fixed; Display range storing means for storing the minimum value Xmin and the maximum value Xmax, and the minimum value Ymin and the maximum value Ymax in the Y-axis direction, a function formula storing means for storing the input function formula, and a value of X in the display range. Minimum value Xmin stored in the storage means
To a maximum value Xmax at predetermined intervals, and by substituting it into the function formula stored in the function formula storage unit, the calculation unit sequentially calculates the value of Y, and the X-axis stored in the display range storage unit. Direction minimum Xm
in, maximum value Xmax, minimum value Ymin in Y-axis direction, maximum value Ymax
Are the minimum and maximum coordinate values of the display area in the X-axis direction and the Y-axis direction, respectively.
A graph creating means for plotting the value of Y as the (X, Y) coordinate point in the display area, and two diagonal points newly set as the display target range on the graph screen displayed in the display area are designated. A new minimum value Xmin and maximum value Xmax in the X-axis direction and new minimum value Ymin and maximum value Ymax in the Y-axis direction are determined in association with the specification means and the coordinate data of the two points specified by the specification means. A display range changing means set in the display range storing means, and a new display target range set by the display range changing means is made to coincide with the entire display area, and the calculating means and the graph creating means are operated. A graph display device characterized in that a new graph can be created.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60118413A JPH06105449B2 (en) | 1985-05-31 | 1985-05-31 | Graph display device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60118413A JPH06105449B2 (en) | 1985-05-31 | 1985-05-31 | Graph display device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61276056A JPS61276056A (en) | 1986-12-06 |
| JPH06105449B2 true JPH06105449B2 (en) | 1994-12-21 |
Family
ID=14736028
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60118413A Expired - Lifetime JPH06105449B2 (en) | 1985-05-31 | 1985-05-31 | Graph display device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06105449B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5827542B2 (en) * | 1976-03-25 | 1983-06-10 | シャープ株式会社 | Small calculator with graph display |
| JPS5741731A (en) * | 1980-08-25 | 1982-03-09 | Fujitsu Ltd | Coordinate input device |
| JPS57203127A (en) * | 1981-06-09 | 1982-12-13 | Nec Corp | Selecting device of graphic data |
-
1985
- 1985-05-31 JP JP60118413A patent/JPH06105449B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| マイコンが描く数学の世界、森本光生著、現代数学社、1984−4−15、P9〜15 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61276056A (en) | 1986-12-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4794554A (en) | Electronic calculator having a graph display function | |
| JP2506120B2 (en) | Image display method | |
| JP2832317B2 (en) | How to enter and display mixed fractions on a computer | |
| JPH07295782A (en) | Screen display controlling method | |
| JP2774703B2 (en) | CAD equipment | |
| JPH06105449B2 (en) | Graph display device | |
| JPH03263217A (en) | Information input/output device | |
| JP3313583B2 (en) | Cursor display method and cursor display device | |
| JP2606819B2 (en) | Graph display device | |
| JPH06242916A (en) | Overlap display system | |
| JPH0724048B2 (en) | Small electronic calculator with graph display function | |
| JP3008643B2 (en) | Graph creation device | |
| JPH0380296A (en) | How to enlarge the screen of an image display device | |
| JP3115068B2 (en) | Screen display control device | |
| JP3680399B2 (en) | Graph display device | |
| JPH06202605A (en) | Display controller | |
| JP2909076B2 (en) | Image processing method and apparatus | |
| JPH0793574A (en) | Data processing device and display control method | |
| JP3355969B2 (en) | Character display device | |
| JP2503912B2 (en) | Information processing device | |
| JP3184048B2 (en) | Oblique line drawing device | |
| JPH04156681A (en) | Display device of image processing device, display magnification and display position specification method | |
| JPH07182290A (en) | Graph display device | |
| JPS6029832A (en) | Controller for object movement | |
| JPH06110647A (en) | Window controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |