JPH0214352A - Electronic calculator with graph display function - Google Patents

Electronic calculator with graph display function

Info

Publication number
JPH0214352A
JPH0214352A JP1121388A JP12138889A JPH0214352A JP H0214352 A JPH0214352 A JP H0214352A JP 1121388 A JP1121388 A JP 1121388A JP 12138889 A JP12138889 A JP 12138889A JP H0214352 A JPH0214352 A JP H0214352A
Authority
JP
Japan
Prior art keywords
graph
data
coordinate
display
register
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.)
Granted
Application number
JP1121388A
Other languages
Japanese (ja)
Other versions
JPH0512743B2 (en
Inventor
Kazuyoshi Watanabe
渡辺 一嘉
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 JP1121388A priority Critical patent/JPH0214352A/en
Publication of JPH0214352A publication Critical patent/JPH0214352A/en
Publication of JPH0512743B2 publication Critical patent/JPH0512743B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To execute the display of discontinuous graph by preventing an interval between two points from being linked when coordinate data (y), which continue in an (x)-axis direction, go out of a display area. CONSTITUTION:At first, a distance (x) from an xmin is set to 0 and the (y) at such a time is operated by an arithmetic part 5. Then, the (x) and (y) are respectively stored in registers 3E and 3F. Next, the (x) is set to +1 and the (y) is found in the same way. Then, they are stored in registers 3G and 3H. The data of these two points are read. When one point, out of the two points at least, is a coordinate in an area which is set to 3I-3L, the graph to connect the two points is written to a graph display buffer 6A. When the both points are coordinates out of the area, the linking of the above mentioned two points is not executed. When the data of the registers 3G and 3H are moved to the 3E and 3F, the (x) is +1, and the (x) is in the set area, the above mentioned graph preparation is repeated.

Description

【発明の詳細な説明】 [発明の技術分野J この発明は関数式をグラフ表示でき 大計算機に関する。[Detailed description of the invention] [Technical field of invention J This invention can display functional formulas in graphs. Concerning large computers.

る小型電子 [従来技術] 従来、任意の関数式をグラフ表示できる小型電子式計算
機が考えられているが、この計算機で関数式をグラフ表
示する場合、その関数式の変数X、Yの範囲をキー人力
操作により予め1つ1つ設定してそれに基づきグラフを
表示するようにしている。
[Prior art] A small electronic calculator that can display any functional formula in a graph has been considered, but when displaying a functional formula in a graph with this calculator, the range of variables Each item is set in advance by manual key operation, and a graph is displayed based on the settings.

[従来技術の問題点] 然るに上述した計/H4!!の場合、上記変数x、Yの
範囲による表示領域を越えた座標に対しては線を結ぶよ
うにしていないから、表示領域周辺のグラフが寸切れに
なって表示され、完全なグラフの表示ではなくなって視
覚的に妙な感じを与えるものとなっている。
[Problems with the prior art] However, the above-mentioned total/H4! ! In this case, lines are not connected to the coordinates beyond the display area defined by the range of the variables x and Y, so the graph around the display area is displayed in pieces, and the complete graph cannot be displayed. It has disappeared, giving it a strange visual feel.

[発明の目的] この発明は表示領域を越えた座標点に対しても線を結ん
で完全な形のグラフの表示ができるようにしたグラフ表
示機能を備えた小型電子式計算機を提供することを目的
とする。
[Objective of the Invention] The present invention aims to provide a small electronic calculator with a graph display function that can connect lines even to coordinate points beyond the display area and display a complete graph. purpose.

[発明の要点] この発明は関数式のグラフ表示を行う場合、前回の座標
点と今回の座標点との位置関係に応じて、両座標点を線
で結ぶか否かを制御するようにしたことを要点とする。
[Key Points of the Invention] When displaying a graph of a functional formula, this invention controls whether or not to connect the previous coordinate point and the current coordinate point with a line, depending on the positional relationship between the previous coordinate point and the current coordinate point. The main point is that.

[実施例] 以下1図面を参照して、この発明の一実施例を説明する
[Embodiment] An embodiment of the present invention will be described below with reference to one drawing.

第1図はグラフ表示機能を備えた小型電子式計算機の回
路図である1図中、lはキー人力部であり、このキー人
力部lには通常の計算機に設けられているテンキーIA
、ファンクションギーIB、関数の計算式を入力するた
めの関数キIc、関数式のグラフ表示モードを指定する
グラツギ−ID、関数式に含まれる独立変数X、従属変
数Yの各範囲データの入力モードを指定するレンジキー
IE、関数計算等の実行指示を行うためのEXE (実
行)キーIFが少なくとも設けてあり、各キーからの信
号は制御部2に送られて処理される。
Fig. 1 is a circuit diagram of a small electronic calculator equipped with a graph display function. In Fig. 1, l is a key manual section, and this key manual section l has a numeric keypad IA provided in a normal calculator.
, Function key IB, Function key Ic for inputting the calculation formula of the function, Gratzgi ID to specify the graph display mode of the function formula, input mode for each range data of independent variable X and dependent variable Y included in the function formula. At least a range key IE for specifying a function and an EXE (execution) key IF for instructing execution of function calculations, etc. are provided, and signals from each key are sent to the control unit 2 and processed.

制御部2はこの計算機のすべての動作を制御するプログ
ラムを記憶するROM (リードオンリメモリ)、イン
ストラクション・デコーダなどから成り、メモリ部3、
実行ポインタ4、演算部5゜表示バッファ部6に各種制
御信号を与える。
The control unit 2 consists of a ROM (read only memory) that stores programs that control all operations of this computer, an instruction decoder, etc.;
Various control signals are given to the execution pointer 4, the calculation section 5, and the display buffer section 6.

メモリ部3はRAM(ランダムアクセスメモリ)、アド
レスデコーダなどから成り、関数演算を行うとき実行ポ
インタ4に制御部2によってセットされる実行ポインタ
4が一時退避されるポインタレジスタ3A、カーソルポ
インタ3B、ワークレジスタ3C,後述する3つのフラ
グが各々にセットされるフラグレジスタ3D、関数演算
実行時のグラフ表示のための前回の座標(χ0、yo)
が夫々セットされるχ0 レジスタ3E、yo レジス
タ3F、今回の座標(χ、y)が夫々セットされるχレ
ジスタ3G、3Tレジスタ3H1独立変数χの範囲デー
タの最小値、最大値が夫々セットされるχminレジス
タ31.  χmaxレジスタ3J、従属変数yの範囲
データの最小値。
The memory unit 3 consists of a RAM (random access memory), an address decoder, etc., and includes a pointer register 3A, a cursor pointer 3B, and a workpiece, in which the execution pointer 4 set by the control unit 2 when performing a function calculation is temporarily saved. Register 3C, flag register 3D in which three flags (described later) are set respectively, previous coordinates (χ0, yo) for displaying a graph when executing a function operation
are set respectively in χ0 register 3E, yo register 3F, current coordinates (χ, y) are set in χ register 3G, 3T register 3H1, the minimum value and maximum value of the range data of independent variable χ are set respectively. χmin register 31. χmax register 3J, minimum value of range data of dependent variable y.

最大イ1が夫々セットされるy m i nレジスタ3
に、ymaxレジスタ3L、グラフ表示を行うための座
標(χ、y)における実際の数値が書込まれるX m 
e m oレジスタ3M、ymemoレジスタ3N、後
述するテキスト表示、グラフ表示の何れかを行うときに
、上記表示バッファ部6を構成するグラフ表示バッファ
6A、テキスト表示7ヘツフア6Bから各表示データが
一時退避のために夫々転送されてくる退避エリアA(3
F)、退避エリアB(3Q)を夫々有している。
Y m i n register 3 in which maximum i1 is set respectively
In the ymax register 3L, the actual value at the coordinates (χ, y) for graph display is written to X m
Each display data is temporarily saved from the graph display buffer 6A and text display 7 buffer 6B, which constitute the display buffer section 6, when performing either text display or graph display, which will be described later. evacuation area A (3
F) and evacuation area B (3Q).

キー人力部lから入力される関数式の各データは実行ポ
インタ4によって指示される数式バッファ7の各アドレ
スに書込まれ1次いで演算時には演算ff1sに読込ま
れる。
Each data of the function formula inputted from the key input unit 1 is written to each address of the formula buffer 7 indicated by the execution pointer 4, and then read into the calculation ff1s at the time of calculation.

演算部5は上記数式バッファ7から出力される関数式の
演算を制御部2の制御下にメモリ部3の上記の各レジス
タ3A〜3Qは使って実行する。
The arithmetic unit 5 calculates the functional formula output from the formula buffer 7 under the control of the control unit 2 using the registers 3A to 3Q of the memory unit 3.

そして演算部5は関数演算実行時にそのグラフ表示のた
めのデータをメモリ部3から読出して表示パックァ部6
内のグラフ表示バッフ16Aに送り、また通常の数値表
示等を行うと5にはそのためのデータをテキスト表示バ
ッファ6Bに送り、それらの表示データは表示部8に送
られて、グラフまたはa値等の表示が行われる。
Then, when the calculation unit 5 executes the function calculation, the data for displaying the graph is read out from the memory unit 3 and displayed by the packer unit 6.
In addition, when normal numerical display etc. is performed, the data for that is sent to the text display buffer 6B, and the display data is sent to the display section 8 and displayed as a graph, a value, etc. is displayed.

表示部8は例えば液晶表示装置から成り、X方向に96
ドツト、Y方向に64ドツトの各ドツト表示体(座標点
)を有してデータの表示を行う。
The display unit 8 consists of a liquid crystal display device, for example, and has 96 pixels in the X direction.
Data is displayed using dots (coordinate points) each having 64 dots in the Y direction.

尚、上記フラグレジスタ3Dは、レンジキーIEの操作
に応じてフラグがセットされるレンジフラグ、カーソル
が行末にないときにテンキーIAによる置数がなされた
ときフラグ1″がセットされる置数フラグ、カーソルが
行末になく、且つ置数後カーソルを移動させると57ラ
グ1°′がセ−/ トされる更新フラグを有している。
The flag register 3D is a range flag that is set according to the operation of the range key IE, and a numeric flag that is set to flag 1'' when a number is entered using the numeric keypad IA when the cursor is not at the end of the line. , the cursor is not at the end of the line, and if the cursor is moved after setting the number, it has an update flag that will set 57 lag 1°'.

次に第2図ないし第7図を参照して動作を説明する。い
ま例えば1次の関数式 %式%(1) の演算を行う場合を例とする。
Next, the operation will be explained with reference to FIGS. 2 to 7. Let us now consider, for example, the case where the first-order functional expression % expression % (1) is calculated.

この場合、午−人力部lのレンジキーIE、テンキーI
Aを予め操作してχminレジスタ3■χmaxレジス
タ3Jに独立変数χに対する範囲データの最小値と最大
値の各データをプリセットし、またyminレジスタ3
に、ymaxレジスタ3Lにも同様に、従居変ayに対
する範囲データの最小値と最大値の各データをプリセッ
トしておく。
In this case, the range key IE and the numeric keypad I
A is operated in advance to preset the minimum and maximum values of the range data for the independent variable χ in the χmin register 3 and χmax register 3J, and the ymin register 3
Similarly, the ymax register 3L is also preset with the minimum and maximum range data for the variable ay.

次いで上記(1)式の関数式をグラフキーlD、関数キ
ーIC、ファンクションキーIB、EXEキーIFを操
作して入力すると、数式バッファ7のアドレス0〜3に
は、第2図に示すように、実行ポインタ4によってアド
レスされて(1)式の関数式の各データが書込まれる。
Next, when the above-mentioned function formula (1) is input by operating the graph key ID, function key IC, function key IB, and EXE key IF, addresses 0 to 3 of the formula buffer 7 are filled with data as shown in FIG. , and each data of the function expression (1) is written by being addressed by the execution pointer 4.

なお、実行ポインタr3JのデータrENDJはEXE
キーIFの操作時に書込まれるENDコードデータであ
る。
Furthermore, data rENDJ of execution pointer r3J is EXE
This is END code data written when operating the key IF.

そして第4図ないし第6図のフローチャートによる動作
にしたがって、演算部5によって(1)式の関数演算が
行われ、その結果のグラフが表示部8に表示される。
Then, according to the operations shown in the flowcharts of FIGS. 4 to 6, the functional calculation of equation (1) is performed by the calculation section 5, and a graph of the result is displayed on the display section 8.

即ち、第4図に示すメインフローチャートにおいて、先
ず、ステップMlにおいて、実行ポインタ4の先頭のポ
インタ(アドレス「O」)がポインタレジスタ3Aに転
送退避されると共に、y。
That is, in the main flowchart shown in FIG. 4, first, in step M1, the first pointer (address "O") of the execution pointer 4 is transferred and saved to the pointer register 3A, and y.

レジスタ3FにデータrFFJ  (16進コード)が
書込まれ、更にχレジスタ3Gがクリアされる。
Data rFFJ (hexadecimal code) is written to register 3F, and χ register 3G is cleared.

次にステップM2では、χminレジスタ3I、χma
xレジスタ3Jにプリセットされている前記範囲データ
と、いまは「Ojのχレジスタのデータとを使って図示
する数式の演算が実行され、χ座標が「0」のときの独
立変数Xの実際の数値を示すデータ(いまはχminレ
ジスタ3Iにプリセットされているデータとなる)が得
られてそれがχm e m oレジスタ3Mにセットさ
れる。即ち、これによってX座標方向の1番目の表示ド
ツトの座標(χ=0)における数値が求まる。
Next, in step M2, χmin register 3I, χma
Using the range data preset in the x register 3J and the data in the χ register of Oj, the calculation of the formula shown in the figure is executed, and the actual value of the independent variable X when the χ coordinate is 0 is calculated. Data indicating a numerical value (currently data preset in the χmin register 3I) is obtained and set in the χm e m o register 3M. That is, the numerical value at the coordinate (χ=0) of the first display dot in the X-coordinate direction is determined.

次にステップM3ではポインタレジスタ3Aに退避して
おいたアドレス「0」が実行ポインタ4に戻され、また
次のステップM4によりこのアドレス「0」から「3」
までの数式バッファ7内の(+)式の関数演算が実行さ
れ、1番目の答がymemoレジスタ3Nにセットされ
る0次いでステップM5ではその答が演算エラーか否か
が判断され、而してYESのとさにはステップM6に進
んでyレジスタ3Hにエラーデータを示す16進コード
rFFJが書込まれたのち、ステップM9に進む。
Next, in step M3, the address "0" saved in the pointer register 3A is returned to the execution pointer 4, and in the next step M4, this address "0" is changed to "3".
The functional operation of the (+) expression in the formula buffer 7 up to 0 is executed, and the first answer is set in the ymemo register 3N.Next, in step M5, it is determined whether or not the answer is an operation error. If YES, the process proceeds to step M6, where hexadecimal code rFFJ indicating error data is written in the y register 3H, and then the process proceeds to step M9.

一方、ステップM5においてNoとなったとぎには、ス
テップM7.M8が実行され、第5図と第6図に示すフ
ローチャートによりY座標計算(いまの場合、Y座標方
向の1番目の表示ドツトの座標を得る計算)とその(x
、y)の1番目の座標の表示ドツトのデータをグラフ表
示バッフ76Aに送り、表示部8にて点灯表示させる処
理が実行される。そして上記ステップM9に進む。
On the other hand, if the answer is No in step M5, step M7. M8 is executed, and the Y coordinate calculation (in this case, calculation to obtain the coordinates of the first display dot in the Y coordinate direction) and its (x
, y) is sent to the graph display buffer 76A, and a process of lighting the display dot on the display section 8 is executed. The process then proceeds to step M9.

ステップM9ではχレジスタ3Gからχ0 レジスタ3
Eに対し今回の演算結果データが前回の演算結果データ
として転送退避され、また同様に、yレジスタ3Hから
yOレジスタ3Fに今回の演算データが前回の演算デー
タとして転送退避される。
In step M9, χ0 register 3 is transferred from χ register 3G.
The current calculation result data is transferred and saved to E as the previous calculation result data, and similarly, the current calculation data is transferred and saved from the y register 3H to the yO register 3F as the previous calculation data.

次にステップMIOではχレジスタ3Gのデータが+1
され、またステ、プMllではその結果データがX方向
の最大の表示トー/トr9sJより大きい「96」以上
となったか否かが判断され。
Next, in step MIO, the data in χ register 3G is +1
Then, in step Mll, it is determined whether the resulting data has become "96" or more, which is larger than the maximum displayed to/to r9sJ in the X direction.

而していまの場合は当然NoとなってステップM2に戻
り、2#目以下の(x、y)の各座標が、ステップM2
〜Mllの繰返しによって実行され、而してステップM
llにてYESとなったときには演算を終了し、結果的
に第3図に示すグラフが表示部8において表示される。
In this case, of course, the answer is No and the process returns to step M2, and each coordinate of (x, y) from the 2nd # onward is set to step M2.
〜Mll, and then step M
When the result is YES in 11, the calculation ends, and as a result, the graph shown in FIG. 3 is displayed on the display unit 8.

次に第5図により、上記ステ、プM7のY座標計算を具
体的に説明する。先ず、ステップYlでは、図示するY
座標の値を求める式の計算がy m e m oレジス
タ3N、yminレジスタ3に、ymaxレジスタ3L
に夫々セットされているデータにしたがって実行され、
その結果データがy座標データとしてyレジスタ3Hに
セットされる。
Next, referring to FIG. 5, the Y coordinate calculation in step M7 will be explained in detail. First, in step Yl, the illustrated Y
The calculation of the formula to obtain the coordinate value is stored in the y me m o register 3N, ymin register 3, and ymax register 3L.
is executed according to the data set respectively in
The resulting data is set in the y register 3H as y coordinate data.

次にステップY2ではそのセットされたデータの四捨五
入法によるqi数化が行われ、次いでステップY3では
、その整数化したデータがY座標方向の最小位置座標の
rQJより小か否かが判断される。そしてYESのとき
にはyレジスタ3Hにオーバーレンジのデータがセント
され(ステップY5)、終る。即ち、今回求めた座標点
が表示領域外に出たことを判断して第6図で説明する処
理を次に行う、他方、Noのときには更にステップY4
に進み、上記整数化したデータがY座標方向の最大座標
の「63」より大きいr64以」二」か否かが判断され
る。そしてYESのときにはステップY6に進んでyレ
ジスタ3Hにアンダーレンジのデータをセットし、今回
求めた座標点が表示領域外のものとする。そのため上記
ステップY5のとき同様、次の第6図のフローチャート
で対応する表示処理を受ける。
Next, in step Y2, the set data is converted into a qi number by rounding, and then in step Y3, it is determined whether the converted data is smaller than the minimum position coordinate rQJ in the Y coordinate direction. . If YES, overrange data is sent to the y register 3H (step Y5), and the process ends. That is, it is determined that the coordinate point obtained this time has gone outside the display area, and the process explained in FIG.
Then, it is determined whether the data converted into an integer is greater than or equal to r64, which is greater than the maximum coordinate "63" in the Y coordinate direction. If YES, the process proceeds to step Y6, where underrange data is set in the y register 3H, and the coordinate point found this time is set outside the display area. Therefore, similar to step Y5 above, the corresponding display process is performed in the flowchart of FIG. 6 below.

他方、ステップY4でNOとなると今回のフローは終了
し、第6図のフローチャートに進んで前回の座標点と線
を結び、グラフを表示する処理を受ける。
On the other hand, if the answer in step Y4 is NO, the current flow ends, and the process proceeds to the flowchart of FIG. 6, where a line is connected to the previous coordinate point and a graph is displayed.

次に:56図により、上記ステップM8に示すrDra
w処理」の動作を具体的に説明する。先ず、ステップD
Iではyo レジスタ3FのデータがエラーデータrF
FJか否かが判断され、而してYESのとさにはこのフ
ローは終了し、この座標に対する表示動作は実行されな
い。
Next: According to Figure 56, the rDra shown in step M8 above is
The operation of "w process" will be specifically explained. First, step D
In I, the data in yo register 3F is error data rF
It is determined whether it is FJ or not, and if the answer is YES, this flow ends and no display operation is performed for this coordinate.

他方、NOとなるとステップD2に進み、y。On the other hand, if NO, proceed to step D2 and y.

レジスタ3Fのデータは「レンジオーバー」か否かが判
断され、NOであれば更にステップD3に進んでyレジ
スタ3Hのデータは「レンジオーバー」か否かが判断さ
れる。そしてYESであるとこの場合は第7図(A)に
示すような場合であって、今回の座標点が表示領域外の
もので、しかも前回の座標点は表示領域内のものである
。このような場合、更にステップD4に進んで両座標点
に線を結ぶ表示処理を行う、つまり、第7図(A)でM
klJで示したドツトが、従来では点灯されなかったの
に点灯されることになり、したがってグラフは表示領域
の境界線までいっばいに描かれ、非常に見やすいものと
なる。
It is determined whether the data in the register 3F is "over range" or not. If NO, the process further advances to step D3 and it is determined whether the data in the y register 3H is "over range" or not. If YES, the case is as shown in FIG. 7(A), in which the current coordinate point is outside the display area, and the previous coordinate point is within the display area. In such a case, the process further advances to step D4 to display a line connecting both coordinate points, that is, in FIG.
The dot indicated by klJ is lit up, although it was not lit up in the past, so the graph is drawn all the way to the boundary line of the display area, making it very easy to see.

一方、ステップD3でNoとなった場合には、前回も今
回もレンジオーバーではないからステップD5に結んで
両座標点間を結び普通に表示する。
On the other hand, if the result in step D3 is No, the range is not over range either last time or this time, so the process goes to step D5 and the two coordinate points are connected and displayed normally.

更にステップD2にてYESとなるとステップD6に進
んでyレジスタ3Hのデータが「レンジオーバー」か否
かが判断され、NOであると、これは前回の座標点が表
示領域外で且つ、今回の座標点は表示領域内という、第
7図(A)とは逆の場合であるから、ステップD7に進
んで表示領域の境界線までグラフを描く処理を行う。
Furthermore, if YES is determined in step D2, the process proceeds to step D6, where it is determined whether the data in the y register 3H is "over range" or not. If NO, this means that the previous coordinate point is outside the display area and the current coordinate point is outside the display area. Since the coordinate points are within the display area, which is the opposite of FIG. 7(A), the process advances to step D7 to draw a graph up to the boundary line of the display area.

他方、ステップD6でYESであると、これは前回も今
回も表示領域外という、第7図(B)に示す場合であり
、この場合は両座標点間を結ばず、グラフの表示は行わ
ない。
On the other hand, if YES in step D6, this means that both the previous time and this time are outside the display area, as shown in Figure 7 (B), and in this case, the two coordinate points are not connected and the graph is not displayed. .

尚、−上記実施例では、変数χの上記範囲データを基準
にして変ayの座標を求めたが、勿論、この関係は逆で
あってもよい。
In the above embodiment, the coordinates of the variable ay were determined based on the range data of the variable χ, but of course this relationship may be reversed.

[発明の効果] 以上説明したように、この発明は、関数中の変数の各範
囲データとその関係式とから@算によって自動的にその
グラフ表示データを作成するとき、前回の座標点と今回
の座標点との位数関係に応じて、両座標点が表示領域に
ある場合は2点nnを結び、1つの座標が表示領域外に
ある場合は。
[Effects of the Invention] As explained above, the present invention provides a method for automatically creating graph display data using @ calculation from each range data of variables in a function and their relational expressions. Depending on the order relationship with the coordinate points of , connect two points nn if both coordinate points are in the display area, and connect two points nn if one coordinate is outside the display area.

表示領域内の座標点から表示領域外の座標点の方向に1
表示領域の境界までグラフを伸長させる制御するように
したグラフ表示機能を備えた小型電子式計算機であるか
ら、常に表示領域の境界までグラフが表示され、非常に
見やすいグラフ表示が行える利点がある。
1 in the direction from the coordinate point inside the display area to the coordinate point outside the display area
Since this is a small electronic calculator equipped with a graph display function that controls the graph to extend to the boundary of the display area, the graph is always displayed up to the boundary of the display area, and has the advantage of being able to display graphs that are very easy to read.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例の回路構成図、第2図は入
力した一例の関数式と実行ポインタ4との関係を示す図
、第3図は上記関数式を演算表示したそのグラフを示す
図、第4図ないし第6図は動作を説明するフローチャー
ト、第7図は今回と前回の各座標点間の対応位置関係に
よって表示される場合と表示されない場合とを示す図で
ある。 IA・・・・・・テンキー、IB・旧・・ファンクショ
ンキlC・・・・・・関数キー、10・・・・・・グラ
フキーIE・・・・・・レンジキー、lF・・団・EX
E (実行)キ2・・・・・・制御部、3A・・・・・
・ポインタレジスタ。 3B・・・・・・カーソルポインタ、3C・・・・・・
ワークレジスタ、3D・・・・・・レンジフラグ、3E
・・・・・・χ0 レジスタ、3F・・・・・・yo 
レジスタ、3G・・・・・・χレジスタ、3H・・・・
・・yレジスタ、3■・・・・・・χm i nレジス
タ、3J°°・・・・χmaXレジスタ、3K・・・す
・y m i nレジスタ、3L・・・・・・ymax
レンスタ3 M−−°−°−X m e m Oレジス
タ、  3 N−・・−y m e mOレジスタ、3
F、3Q・・・・・・退避エリア、4・・・・・・実行
ポインタ、5・・・・・・演算部、6A・・・・・・グ
ラフ表示バッファ、7・・・・・・数式バッファ、8・
・・・・・表示部第 図 第 図 ζV 図 第 図 i−;り回 口刷回 口々凹
Fig. 1 is a circuit configuration diagram of an embodiment of the present invention, Fig. 2 is a diagram showing the relationship between an example of an input function formula and the execution pointer 4, and Fig. 3 is a graph showing the calculation and display of the above function formula. 4 to 6 are flowcharts for explaining the operation, and FIG. 7 is a diagram showing cases in which the coordinate points are displayed and cases in which they are not displayed depending on the corresponding positional relationship between the current and previous coordinate points. IA: Numeric keypad, IB: old function key, C: function key, 10: graph key, IE: range key, IF: group EX
E (Execution) Key 2...Control section, 3A...
・Pointer register. 3B...Cursor pointer, 3C...
Work register, 3D... Range flag, 3E
......χ0 register, 3F...yo
Register, 3G...χ register, 3H...
・・y register, 3■・・・・χmin register, 3J°°・・・・χmax register, 3K・・ymin register, 3L・・・・・・ymax
Renstar 3 M--°-°-X m e m O register, 3 N-...-y m e mO register, 3
F, 3Q... Save area, 4... Execution pointer, 5... Arithmetic unit, 6A... Graph display buffer, 7...... Formula buffer, 8.
・・・・・・Display section Figure ζV Figure Figure i-;

Claims (1)

【特許請求の範囲】 マトリクス型表示手段と、関数式を入力する入力手段と
、上記関数式を記憶する記憶手段と、変数の範囲を示す
範囲データを入力する範囲データ入力手段と、上記範囲
データを記憶する範囲データ記憶手段と、 上記変数の範囲データと上記関数式とから該関数式のグ
ラフを構成する座標データを順次算出する演算手段と、 この演算手段が算出した座標データを記憶する第1の座
標記憶手段と、 上記演算手段が算出した1つ前の座標データを記憶する
第2の座標記憶手段と、 上記第1の座標記憶手段と上記第2の座標記憶手段の記
憶した座標データが上記マトリクス型表示手段の表示領
域内であるか否かを判断する判断手段と、 この判断手段が双方の座標データが表示領域内にあると
判断した場合に、該座標データが示す座標点間を結ぶ表
示を行なうグラフ作成手段と、上記判断手段が一方の座
標データのみが表示領域内であると判断した場合に、表
示領域内にあると判断された座標データが示す座標点か
ら表示領域内にないと判断された座標データの示す座標
点方向に、上記マトリクス型表示手段の表示領域境界ま
でグラフを伸長させるグラフ補正手段とを具備したこと
を特徴とするグラフ表示機能を備えた小型電子式計算機
[Claims] Matrix display means, input means for inputting a functional formula, storage means for storing the functional formula, range data input means for inputting range data indicating the range of a variable, and the range data a range data storage means for storing, a calculation means for sequentially calculating coordinate data constituting a graph of the functional formula from the range data of the variable and the functional formula; and a calculation means for storing the coordinate data calculated by the calculation means. a second coordinate storage means for storing the previous coordinate data calculated by the calculation means; and coordinate data stored in the first coordinate storage means and the second coordinate storage means. is within the display area of the matrix type display means; and when the judgment means determines that both coordinate data are within the display area, a and a graph creation means for displaying a graph connecting the coordinate data, and when the judgment means determines that only one of the coordinate data is within the display area, a graph is displayed that connects the A small electronic type having a graph display function, characterized in that it is equipped with graph correction means for extending the graph to the display area boundary of the matrix type display means in the direction of the coordinate point indicated by the coordinate data that is determined not to be present. calculator.
JP1121388A 1989-05-17 1989-05-17 Electronic calculator with graph display function Granted JPH0214352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1121388A JPH0214352A (en) 1989-05-17 1989-05-17 Electronic calculator with graph display function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1121388A JPH0214352A (en) 1989-05-17 1989-05-17 Electronic calculator with graph display function

Publications (2)

Publication Number Publication Date
JPH0214352A true JPH0214352A (en) 1990-01-18
JPH0512743B2 JPH0512743B2 (en) 1993-02-18

Family

ID=14809964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1121388A Granted JPH0214352A (en) 1989-05-17 1989-05-17 Electronic calculator with graph display function

Country Status (1)

Country Link
JP (1) JPH0214352A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008033823A (en) * 2006-07-31 2008-02-14 Casio Comput Co Ltd Graph display device and graph display processing program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52116050A (en) * 1976-03-25 1977-09-29 Sharp Corp Small size computer with graph display unit
JPS5469031A (en) * 1977-11-12 1979-06-02 Sharp Corp Electronic desk computer
JPS5532112A (en) * 1978-08-28 1980-03-06 Seiko Instr & Electronics Ltd Vector clipping system in graphic information processing device
JPS58225473A (en) * 1982-06-24 1983-12-27 Yokogawa Hokushin Electric Corp Clipping circuit of graphic display

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52116050A (en) * 1976-03-25 1977-09-29 Sharp Corp Small size computer with graph display unit
JPS5469031A (en) * 1977-11-12 1979-06-02 Sharp Corp Electronic desk computer
JPS5532112A (en) * 1978-08-28 1980-03-06 Seiko Instr & Electronics Ltd Vector clipping system in graphic information processing device
JPS58225473A (en) * 1982-06-24 1983-12-27 Yokogawa Hokushin Electric Corp Clipping circuit of graphic display

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008033823A (en) * 2006-07-31 2008-02-14 Casio Comput Co Ltd Graph display device and graph display processing program

Also Published As

Publication number Publication date
JPH0512743B2 (en) 1993-02-18

Similar Documents

Publication Publication Date Title
JPH0792789B2 (en) Graph display device
JPH0719240B2 (en) Small electronic calculator with graph display function
JPS60193066A (en) Electronic computer
JPH04195453A (en) Small-sized electronic computer with graph function
JPH0214352A (en) Electronic calculator with graph display function
JPH0454561A (en) Graph display controller
JP2715405B2 (en) Graph display control device and graph display control method
JP3252493B2 (en) Electronic calculator and its calculation processing method
JPS61275960A (en) Electronic calculator with graphic display function
JPS61275962A (en) Electronic calculator with graphic display function
JPS61275961A (en) Electronic calculator with graphic display function
JP2003150563A (en) Calculator and calculation processing program
JPS62229362A (en) Character processor
JPS5882296A (en) Dot matrix display system
JPS6380631U (en)
JPH0445875B2 (en)
JPH0532781B2 (en)
JP2507371Y2 (en) Injection molding machine set value input display device
JPH0447317B2 (en)
JPH03229379A (en) Data processor
JPH04223545A (en) Compact electronic computer equipped with graphic display function
JPH0721130A (en) Electronic calculator with graph function
JPS62157910A (en) Display method for numerical controller
JPH04128349U (en) small electronic calculator
JPH08137926A (en) Method for preparing cad drawing

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term