JP3680400B2 - Graph display device and graph display control method - Google Patents

Graph display device and graph display control method Download PDF

Info

Publication number
JP3680400B2
JP3680400B2 JP35394895A JP35394895A JP3680400B2 JP 3680400 B2 JP3680400 B2 JP 3680400B2 JP 35394895 A JP35394895 A JP 35394895A JP 35394895 A JP35394895 A JP 35394895A JP 3680400 B2 JP3680400 B2 JP 3680400B2
Authority
JP
Japan
Prior art keywords
variable
graph
display
function
variables
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 - Fee Related
Application number
JP35394895A
Other languages
Japanese (ja)
Other versions
JPH09185586A (en
Inventor
秀和 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP35394895A priority Critical patent/JP3680400B2/en
Publication of JPH09185586A publication Critical patent/JPH09185586A/en
Application granted granted Critical
Publication of JP3680400B2 publication Critical patent/JP3680400B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、グラフ表示装置に係り、詳細には、変数データを含む関数式データの変数データを変化させてそれぞれの値に応じた関数式データのグラフを表示するグラフ表示装置に関する。
【0002】
【従来の技術】
従来のグラフ表示装置としては、例えば、関数式や数値を入力するデータ入力部、演算部、及びその演算結果を表示するLCD(Liquid Crystal Display)等の表示ディスプレイを備えた関数電卓などがあって、ダイナミックグラフ等を表示している。
【0003】
ダイナミックグラフとは、関数式の中の一つの変数の値を変化させた複数のグラフ画面を用意して、その複数のグラフ画面を切り換えて表示することにより、関数グラフの変化を分かり易く示すものである。
【0004】
そこで、従来の関数電卓を用いてダイナミックグラフを表示する場合は、所望の関数式をデータ入力部から入力し、その関数式の中の一つの変数の値を変化させて演算部で演算し、その演算結果によって描画されるグラフを順次表示ディスプレイ上に表示させている。
【0005】
【発明が解決しようとする課題】
しかしながら、このような従来のグラフ表示装置にあっては、複数のグラフ画面を用意して、それらの画面を連続的に切り換えることにより、1つの関数グラフを表示することができても、複数の関数式の中の変数の値を変化させた複数のグラフを同時に表示することができないため、複数の関数グラフの動きとその関係を同一画面上で見ることができないという課題があった。
【0006】
本発明の課題は、異なる関数式データからなる複数のダイナミックグラフを同一画面上に表示して比較することができるグラフ表示装置を提供することにある。
【0007】
【課題を解決するための手段】
請求項1記載のグラフ表示装置は、
複数の関数式に対応するグラフを、その関数式に含まれる変数の値を変化させて順次切り替えながら表示するグラフ表示装置において、
前記複数の関数式に含まれる変数が同一の変数であるか否かを判別する変数判別手段と、
この変数判別手段による判別の結果、1)前記複数の関数式に含まれる変数が同一の変数であると判別された場合には、当該同一の変数の値に対応した前記複数の関数式それぞれのグラフの同時表示を、当該同一の変数の値を変化させるごとに順次に切り替えて行い、2)前記複数の関数式に含まれる変数が同一の変数ではないと判別された場合には、前記複数の関数式それぞれのグラフのうち、当該同一の変数ではない変数の中の一の変数の値の変化に伴って変化するグラフを当該一の変数の値の変化に応じて切り替えて表示していく切替表示を、前記一の変数を順次に変更していくことで前記同一の変数でない変数全てについて行う表示制御手段と、
を備えたことを特徴とする。
【0008】
請求項2記載のグラフ表示制御方法は、
複数の関数式に対応するグラフを、その関数式に含まれる変数の値を変化させて順次切り替えながら表示するための表示部を備えているグラフ表示装置に用いられるグラフ表示制御方法であって、
前記複数の関数式に含まれる変数が同一の変数であるか否かを判別する変数判別ステップと、
この変数判別ステップにおける判別の結果、1)前記複数の関数式に含まれる変数が同一の変数であると判別された場合に、前記表示部に、当該同一の変数の値に対応した前記複数の関数式それぞれのグラフの同時表示を、当該同一の変数の値を変化させるごとに順次に切り替えて行い、2)前記複数の関数式に含まれる変数が同一の変数ではないと判別された場合に、前記表示部に、前記複数の関数式それぞれのグラフのうち、当該同一の変数ではない変数の中の一の変数の値の変化に伴って変化するグラフを当該一の変数の値の変化に応じて切り替えて表示していく切替表示を、前記一の変数を順次に変更していくことで前記同一の変数でない変数全てについて行う表示制御ステップと、
を含むことを特徴とする。
【0009】
請求項1又は2記載の発明によれば、複数の関数式に含まれる変数が同一であった場合は、当該同一の変数の値に対応した複数の関数式それぞれのグラフの同時表示が、当該同一の変数の値を変化させるごとに順次に切り替えて行われる。一方、複数の関数式に含まれる変数が同一の変数ではない場合は、複数の関数式それぞれのグラフのうち、当該同一の変数ではない変数の中の一の変数の値の変化に伴って変化するグラフを当該一の変数の値の変化に応じて切り替えて表示していく切替表示が、当該一の変数を順次に変更していくことでその同一の変数でない変数全てについて行われることになる。このため、変数が同じ場合は、複数のグラフが同時に表示され、異なる場合は、それぞれの変数の組合せに従った切替表示がなされるため、変数の値の変化に対する複数のグラフの関係を容易に把握することができる。
【0013】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態を詳細に説明する。
図1〜図9は、本発明のグラフ表示装置を説明する図であり、本実施形態では、グラフ表示が可能な関数電卓を用いて、複数のダイナミックグラフを同一画面上で表示できるようにしたものである。
まず、構成を説明する。
図1は、本実施形態に係る関数電卓1の要部ブロック構成図である。
図1の関数電卓1は、表示部2、表示駆動回路3、入力部4、ROM5、記憶部(RAM)6、CPU7などにより構成されている。
【0014】
表示部2は、入力部4から入力される入力データやメニュー等の操作情報を表示したり、ダイナミックグラフを表示したりするもので、ここではLCD(Liquid Crystal Display:液晶表示装置)が用いられ、表示駆動回路3によって表示駆動される。
【0015】
入力部4は、関数電卓1において各種機能を選択するためのメニューキー11、ダイナミックグラフの表示処理を行うダイナミックキー12、ダイナミックグラフの関数式の変数データの入力処理を行うスケールキー13、入力されたデータをセットするセット(ST)キー14、及び置数やデータを入力するための置数/データ入力キー15等を有し、その各キー操作に応じた信号がCPU7に出力される。
ROM(Read Only Memory)5は、CPU7が実行する各種制御プログラムを格納するとともに、その各種制御プログラムが実行される際に処理される各種データが格納されている。
【0016】
記憶部(RAM:Random Access Memory)6は、例えば、図1に示すように、表示部2に表示する表示データを一時的に記憶する表示レジスタ16、メニューデータを記憶するメニューレジスタ17、ダイナミックグラフY1 のグラフ式を記憶するY1 グラフ式レジスタ18、ダイナミックグラフY2 のグラフ式を記憶するY2 グラフ式レジスタ19、各ダイナミックグラフの関数式データに含まれる変数データの範囲を記憶する変数スケールレジスタ20、複数のダイナミックグラフのグラフデータを記憶するグラフ記憶レジスタ21、及びデータを処理、加工するために一時的にデータを記憶したり、種々のパラメータを記憶するワークエリア22等により構成されている。
【0017】
CPU(Central Processing Unit )7は、ROM5内に格納されている各種制御プログラムに応じて関数電卓1内の各部を制御する。例えば、CPU7は、入力部4の各種キー操作によって入力される入力データや表示データを表示駆動回路3を駆動させて表示部2に表示させたり、記憶部6のY1 グラフ式レジスタ18やY2 グラフ式レジスタ19に所望の関数式データを格納したり、ダイナミックグラフのスケールを決める変数データの範囲を変数スケールレジスタ20に設定したりする。また、CPU7は、上記Y1 グラフ式レジスタ18やY2 グラフ式レジスタ19に格納された関数式に基づいて、Y1 ,Y2 のダイナミックグラフのグラフデータを演算して、グラフ記憶レジスタ21に格納する。そして、複数のダイナミックグラフを一緒に表示させる場合、CPU7は、グラフ記憶レジスタ21に格納されたY1 ,Y2 のダイナミックグラフデータを合成処理して表示レジスタ18に格納した後、表示駆動回路3を駆動して表示部2に表示させる。
【0018】
次に、本実施の形態の作用を図2〜図7に基づいて説明する。
図2は、本実施の形態の関数電卓1のメインルーチン処理を説明するフローチャートである。
まず、図2のステップS1において、図1の入力部4のメニューキー11が押下されたか否かが判断され、メニューキー11が押下された場合、CPU7は、記憶部6内のメニューレジスタ20に格納されたメニューデータを読み出し、表示レジスタ18を経由して表示部2にメニューを表示するメニュー表示処理が行われる(ステップS2)。
【0019】
次に、リターン後、再びステップS1でメニューキー11の押下が無い場合は、NOへ進んでステップS11でメニュー選択表示か現在行われているか否かが判断され、YESならばメニューの選択処理が行われる(ステップS12)。このメニュー選択処理は、例えば、オペレータが置数/データ入力キー17等を使って画面上のメニューの中から所望のメニューを選択するようにする。
【0020】
次に、その選択されたメニューを指定する場合、メニュー指定キーが押下されたか否かを判断し(ステップS13)、押下された場合は、その指定されたメニューを設定する処理を行った後に(ステップS14)、また、押下されなかった場合は、そのままリターンとなる。
【0021】
次に、再び、ステップS1に戻ってNOが選択され、更に現在メニュー選択表示が行われていない場合は、ステップS11でNOが選択されてステップS21でダイナミックグラフモードか否かが判断される。ここで、ダイナミックグラフモードでない場合は、NOが選択されて他のモード処理が行われるが、現在ダイナミックグラフモードが設定されていれば、本実施形態の特徴である複数のダイナミックグラフを表示するダイナミックグラフ処理が行われる(ステップS22)。
【0022】
図3は、図2のダイナミックグラフ処理に関するサブルーチンの動作を説明するフローチャートであり、図4は、図3のダイナミックグラフ処理におけるデータ入力表示例を示す図であり、図5は、図4に示す変数データが共通で異なる関数式データからなる2つのダイナミックグラフを変化させながら表示する例を示す図であり、図6は、それぞれ異なる変数データを含む2つの関数式データの入力例を示す図であり、図7は、図6に示すそれぞれ異なる変数データを含む2つの関数式データからなる2つのダイナミックグラフを変化させながら表示する例を示す図である。図8は、変数データが共通で異なる関数式データからなる2つの関数式データの入力例を示す図であり、図9は、図8で入力した2つの関数式データからなる2つダイナミックグラフを変化させながら表示する例を示す図である。
【0023】
まず、置数/データ入力キー17が押下されると、データを入力するために図3のステップS31で図1の入力部4の置数/データ入力キー17の押下有の判断がなされ、ステップS32に進み、入力データの表示処理がなされる。
【0024】
そして、リターン後、再びステップS31に戻って、置数/データ入力キー17の押下有と判断されなければ、NOへ進んでステップS33でセット(ST)キー14の押下の有無が判断される。セットキー14が押下されたならば、関数式の入力表示であるか否かが判断され(ステップS34)、関数式の入力表示であると判断されると(例えば、図4(a)、図6(a)、及び図8(a)に示すような状態で表示部2に表示される。)、CPU7は、入力された複数の関数式データをそれぞれY1 ,Y2 のグラフ式レジスタ18、19に記憶させて(ステップS35)リターンとなる。
【0025】
例えば、図4(a)であれば、「Y1 =ax +1」と「Y2 =ax2 」とが入力され、図6(a)であれば、「Y1 =ax 」と「Y2 =bx2 」とが入力され、図8(a)であれば、「(x,y)=(BcosT,sinT)」と「r=B」とが入力され、それぞれのレジスタに記憶される。
【0026】
次に、ステップS34で関数式の入力表示でないと判断されると、NOとなって、ステップS36で現在入力された関数式の変数データのスケールの入力表示が表示されているか否かが判断される。この変数データのスケールの入力表示は、例えば、図4(b)、図6(b),(c)、及び図8(b)に示すように表示部2に表示される。
【0027】
このスケール入力表示は、スケールキー13の押下により(ステップS61)、CPU7がグラフ式レジスタ18、19から変数を抽出する処理を行って(ステップS62)、変数の入力を可能とするレジスタ設定処理がなされて(ステップS63)、1つ目の変数スケールを入力表示することができる(ステップS64)。そして、入力されたスケールの記憶のためにSTキー14が押下されると、ステップS33により検出され、ステップ入力表示であるため、ステップS33からステップS36に進み、ステップS37により入力されたスケールが対応した変数毎に記憶される。ここで、ステップS38で他に変数有と判断された際は、ステップS39に進み、他の変数におけるスケール入力表示がなされる。
【0028】
そして、入力されたスケールは、変数スケールレジスタ21のそれぞれの変数に対応したデータ領域に記憶される。図4や図8のように、変数が1つの場合は、その変数を変数スケールレジスタ21に格納すればよいが、図6のように、他に変数がある場合は、ステップS38及びステップS39において、他の変数スケールの入力表示処理が行われる。
【0029】
以上のようにして、それぞれのデータ入力表示において置数/データ入力キー15の操作によりデータ入力処理が行われる。次に、ダイナミックキー12が押下されるとステップS41に移行し、図1の入力部4のダイナミックキー14の押下有の判断がなされ、ステップS42でスケールが入力されている関数式を読み出す。そして、CPU7は、この変数スケールに応じて異なる変数値毎にグラフデータを作成する(ステップS43)。さらに、CPU7は、作成したグラフデータを記憶部6のグラフ記憶レジスタ21に記憶させる(ステップS44)。
【0030】
上記したグラフデータの作成と記憶処理を全関数式において終了するまで繰り返し行われる(ステップS45)。
次に、ステップS46で複数の関数式の変数が同一か否かを判断して、同一であれば、CPU7は、グラフ記憶レジスタ21に記憶されている異なる関数式のグラフデータを同時に読み出して表示部2に表示させる(ステップS47)。例えば、図5(a)に示すように、2つの関数式からなるグラフを表示させる。
【0031】
さらに、CPU7は、一定時間毎に次のグラフデータを読み出して切り換え表示する(ステップS48)。例えば、図5(b)あるいは(c)のように順次グラフデータを読み出して切り換え表示が行われる。
ここで、何かキー入力があるとグラフデータの切り換え表示が終了するが、キー入力が行われない間は、上記切り換え表示が繰り返し行われる(ステップS49→ステップS48)。
【0032】
また、ステップS46において、変数データが同一でない場合、CPU7は、関数式Y1 ,Y2 の始めのグラフを表示させるとともに(ステップS50)、次のY2 グラフデータを読み出してY2 のグラフデータのみ切り換え表示が行われる(ステップS51)。
【0033】
このようにして、ここでは、まずY2 の全グラフを順次表示させるようにする(ステップS52)。そして、Y2 の全グラフが表示されると、Y1 の次のグラフデータを読み出してY1 の始めのグラフと切り換えて表示し、他のキー入力が無ければ、再び、ステップS51に戻って、Y2 の全てのグラフを切り換え表示させ、Y1 の全グラフを表示させるまで、上記切り換え表示動作が繰り返し行われる。これにより、関数式Y1 とY2 の全ての組み合わせの関係を画面上で見ることができる。例えば、上記のダイナミックグラフの表示形態は、図7の(a)(b)、(c)(d)の関係のように、一方の関数グラフを固定して、他方の関数グラフを動かすようにして切り換え表示が行われる。
【0034】
また、図8や図9に示す円と楕円の2つの関数式の場合も、上記と同様に考えることが可能である。ここでは、変数をBとして、その変数Bの範囲のスケール設定を行い、範囲設定を行ったスケールに基づいて図9(a)〜(c)のようにグラフを動かして表示させることが可能である。
【0035】
このように、本実施形態におけるグラフ表示装置は、変数データを含む関数式の変数データに代入する値の範囲を設定し、それぞれの値に応じた複数の関数データのダイナミックグラフを描画し、変数が同じ場合は、同時に表示させ、変数が異なる場合は、それぞれの変数の組み合わせを考えて切り換え表示を行って、グラフを動かして表示させることにより、複数のダイナミックグラフの関係を容易に把握することができるようになった。
【0036】
以上、本発明者によってなされた発明を好適な実施形態に基づき具体的に説明したが、本発明は上記実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。
例えば、上記した実施形態では、2つの関数式を用いて2つのダイナミックグラフを描画するようにしたが、これに限定されず、3つ以上の関数式を用いて3つ以上のダイナミックグラフを画面上に重ねて表示するようにしてもよい。
【0037】
また、上記した実施形態では、関数式の変数データの範囲を設定するのに、スタート、エンド、ピッチで設定するようにしたが、個々に変数データを設定するようにしてもよい。
【0038】
【発明の効果】
請求項1又は2記載の発明によれば、変数が同じ場合は、複数のグラフが同時に表示され、異なる場合は、それぞれの変数の組合せに従った切替表示がなされるため、変数の値の変化に対する複数のグラフの関係を容易に把握することができる。
【図面の簡単な説明】
【図1】本実施形態に係る関数電卓の要部ブロック構成図。
【図2】本実施の形態の関数電卓のメインルーチン処理を説明するフローチャート。
【図3】図2のダイナミックグラフ処理に関するサブルーチンの動作を説明するフローチャート。
【図4】図3のダイナミックグラフ処理におけるデータ入力表示例を示す図。
【図5】図4に示す変数データが共通で異なる関数式データからなる2つのダイナミックグラフを変化させながら表示する例を示す図。
【図6】それぞれ異なる変数データを含む2つの関数式データの入力例を示す図。
【図7】図6に示すそれぞれ異なる変数データを含む2つの関数式データからなる2つのダイナミックグラフを変化させながら表示する例を示す図。
【図8】変数データが共通で異なる関数式データからなる2つの関数式データの入力例を示す図。
【図9】図8で入力した2つの関数式データからなる2つダイナミックグラフを変化させながら表示する例を示す図。
【符号の説明】
1 関数電卓
2 表示部
3 表示駆動回路
4 入力部
5 ROM
6 記憶部(RAM)
7 CPU
12 ダイナミックキー
13 スケールキー
15 置数/データ入力キー
16 表示レジスタ
17 メニューレジスタ
18 Y1 グラフ式レジスタ
19 Y2 グラフ式レジスタ
20 変数スケール
21 グラフ記憶レジスタ
22 ワークエリア
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a graph display device, and more particularly, to a graph display device that displays a graph of function formula data corresponding to each value by changing variable data of function formula data including variable data.
[0002]
[Prior art]
As a conventional graph display device, for example, there is a scientific calculator equipped with a display such as a data input unit for inputting function expressions and numerical values, a calculation unit, and an LCD (Liquid Crystal Display) for displaying the calculation result. A dynamic graph is displayed.
[0003]
A dynamic graph is a graph that shows the change of a function graph in an easy-to-understand manner by preparing multiple graph screens that change the value of one variable in a function expression and switching the multiple graph screens. It is.
[0004]
Therefore, when displaying a dynamic graph using a conventional scientific calculator, a desired function formula is input from the data input unit, and the value of one variable in the function formula is changed and calculated by the calculation unit. The graph drawn by the calculation result is sequentially displayed on the display.
[0005]
[Problems to be solved by the invention]
However, in such a conventional graph display device, a plurality of graph screens are prepared, and even if a single function graph can be displayed by continuously switching these screens, Since it is not possible to simultaneously display a plurality of graphs in which the value of a variable in a function expression is changed, there has been a problem that the movements of the plurality of function graphs and their relations cannot be viewed on the same screen.
[0006]
The subject of this invention is providing the graph display apparatus which can display and compare the several dynamic graph which consists of different function type | formula data on the same screen.
[0007]
[Means for Solving the Problems]
The graph display device according to claim 1,
In a graph display device that displays graphs corresponding to a plurality of function expressions while sequentially switching by changing the values of variables included in the function expressions,
Variable determining means for determining whether or not the variables included in the plurality of functional expressions are the same variable;
As a result of the discrimination by the variable discriminating means, 1) when it is discriminated that the variables included in the plurality of function expressions are the same variable, each of the plurality of function expressions corresponding to the value of the same variable Simultaneous display of the graph is performed by sequentially switching each time the value of the same variable is changed. 2) When it is determined that the variables included in the plurality of function expressions are not the same variable, the plurality of the graphs are displayed. Among the graphs of the function formulas of, the graph that changes with the change of the value of one variable among the variables that are not the same variable is switched and displayed according to the change of the value of the one variable Display control means for performing switching display for all variables that are not the same variable by sequentially changing the one variable;
It is provided with.
[0008]
The graph display control method according to claim 2 comprises:
A graph display control method used for a graph display device including a display unit for displaying a graph corresponding to a plurality of function expressions while sequentially switching by changing a value of a variable included in the function expression,
A variable determination step for determining whether or not the variables included in the plurality of functional expressions are the same variable;
As a result of determination in this variable determination step, 1) When it is determined that the variables included in the plurality of function expressions are the same variable, the display unit displays the plurality of the plurality of variables corresponding to the value of the same variable. Simultaneous display of the graphs of the respective function expressions is performed by sequentially switching each time the value of the same variable is changed. 2) When it is determined that the variables included in the plurality of function expressions are not the same variable. In the display unit, among the graphs of each of the plurality of functional expressions, a graph that changes with a change in the value of one of the variables that is not the same variable is changed to a change in the value of the one variable. A display control step for switching all of the variables that are not the same variable by sequentially changing the one variable, and switching display to be switched according to the display.
It is characterized by including.
[0009]
According to the invention described in claim 1 or 2, when the variables included in the plurality of function expressions are the same, the simultaneous display of the graphs of the plurality of function expressions corresponding to the value of the same variable is Each time the value of the same variable is changed, it is switched sequentially. On the other hand, if the variables included in multiple function expressions are not the same variable, it changes with the change in the value of one of the variables that are not the same variable. The switching display in which the graph to be switched is displayed according to the change in the value of the one variable is performed for all variables that are not the same variable by sequentially changing the one variable. . For this reason, when the variables are the same, multiple graphs are displayed at the same time, and when they are different, the switching display according to the combination of each variable is made, so the relationship of the multiple graphs to changes in the value of the variable is easy. I can grasp it.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
1 to 9 are diagrams for explaining a graph display device of the present invention. In this embodiment, a scientific calculator capable of displaying a graph is used to display a plurality of dynamic graphs on the same screen. Is.
First, the configuration will be described.
FIG. 1 is a block diagram of a main part of a scientific calculator 1 according to this embodiment.
A scientific calculator 1 in FIG. 1 includes a display unit 2, a display drive circuit 3, an input unit 4, a ROM 5, a storage unit (RAM) 6, a CPU 7, and the like.
[0014]
The display unit 2 displays input data input from the input unit 4, operation information such as menus, and displays a dynamic graph. Here, an LCD (Liquid Crystal Display) is used. Display driving is performed by the display driving circuit 3.
[0015]
The input unit 4 is input with a menu key 11 for selecting various functions in the scientific calculator 1, a dynamic key 12 for performing dynamic graph display processing, and a scale key 13 for performing input processing of variable data of a function expression of the dynamic graph. A set (ST) key 14 for setting the data, and a number / data input key 15 for inputting the number and data, etc. are output to the CPU 7 in accordance with each key operation.
A ROM (Read Only Memory) 5 stores various control programs executed by the CPU 7 and stores various data processed when the various control programs are executed.
[0016]
For example, as shown in FIG. 1, a storage unit (RAM: Random Access Memory) 6 includes a display register 16 that temporarily stores display data to be displayed on the display unit 2, a menu register 17 that stores menu data, and a dynamic graph. A Y1 graph equation register 18 for storing the graph equation of Y1, a Y2 graph equation register 19 for storing the graph equation of the dynamic graph Y2, a variable scale register 20 for storing a range of variable data included in the function equation data of each dynamic graph, A graph storage register 21 that stores graph data of a plurality of dynamic graphs, a work area 22 that temporarily stores data for processing and processing data, and stores various parameters, and the like.
[0017]
A CPU (Central Processing Unit) 7 controls each part in the scientific calculator 1 according to various control programs stored in the ROM 5. For example, the CPU 7 drives the display drive circuit 3 to display the input data and display data input by various key operations of the input unit 4 and displays them on the display unit 2, or displays the Y1 graph type register 18 or Y2 graph of the storage unit 6. Desired function expression data is stored in the expression register 19 or a variable data range that determines the scale of the dynamic graph is set in the variable scale register 20. Further, the CPU 7 calculates the graph data of the dynamic graphs Y1 and Y2 based on the function formulas stored in the Y1 graph formula register 18 and the Y2 graph formula register 19 and stores them in the graph storage register 21. When a plurality of dynamic graphs are displayed together, the CPU 7 combines the dynamic graph data of Y1 and Y2 stored in the graph storage register 21 and stores them in the display register 18, and then drives the display drive circuit 3. And displayed on the display unit 2.
[0018]
Next, the effect | action of this Embodiment is demonstrated based on FIGS.
FIG. 2 is a flowchart for explaining a main routine process of the scientific calculator 1 according to the present embodiment.
First, in step S1 of FIG. 2, it is determined whether or not the menu key 11 of the input unit 4 of FIG. 1 is pressed. If the menu key 11 is pressed, the CPU 7 stores the menu key 20 in the storage unit 6. The stored menu data is read, and a menu display process for displaying the menu on the display unit 2 via the display register 18 is performed (step S2).
[0019]
Next, after the return, if the menu key 11 is not pressed again in step S1, the process proceeds to NO and it is determined in step S11 whether the menu selection display is currently performed or not. If YES, the menu selection process is performed. Performed (step S12). In this menu selection process, for example, the operator selects a desired menu from the menus on the screen using the number / data input key 17 or the like.
[0020]
Next, when the selected menu is designated, it is determined whether or not the menu designation key has been pressed (step S13). If the menu designation key has been pressed, the processing for setting the designated menu is performed ( Step S14) If the key is not pressed, the process returns as it is.
[0021]
Next, returning to step S1 again, NO is selected, and if the menu selection display is not currently being performed, NO is selected in step S11, and it is determined whether or not the dynamic graph mode is selected in step S21. Here, when the mode is not the dynamic graph mode, NO is selected and other mode processing is performed. However, if the dynamic graph mode is currently set, a dynamic that displays a plurality of dynamic graphs, which is a feature of the present embodiment, is displayed. Graph processing is performed (step S22).
[0022]
3 is a flowchart for explaining the operation of the subroutine related to the dynamic graph processing of FIG. 2, FIG. 4 is a diagram showing an example of data input display in the dynamic graph processing of FIG. 3, and FIG. 5 is shown in FIG. FIG. 6 is a diagram showing an example of display while changing two dynamic graphs composed of different function formula data with common variable data, and FIG. 6 is a diagram showing an input example of two function formula data each including different variable data. FIG. 7 is a diagram showing an example in which two dynamic graphs composed of two function formula data including different variable data shown in FIG. 6 are displayed while being changed. FIG. 8 is a diagram showing an input example of two function formula data composed of different function formula data having the same variable data, and FIG. 9 shows two dynamic graphs composed of the two function formula data inputted in FIG. It is a figure which shows the example displayed while changing.
[0023]
First, when the number / data input key 17 is pressed, it is determined whether or not the number / data input key 17 of the input unit 4 of FIG. 1 is pressed in step S31 of FIG. 3 in order to input data. Proceeding to S32, input data display processing is performed.
[0024]
After the return, the process returns to step S31 again. If it is not determined that the numeric / data input key 17 is pressed, the process proceeds to NO, and it is determined whether or not the set (ST) key 14 is pressed in step S33. If the set key 14 is pressed, it is determined whether or not it is a function expression input display (step S34), and if it is determined that it is a function expression input display (for example, FIG. 6 (a) and the state shown in FIG. 8 (a) are displayed on the display unit 2.) The CPU 7 converts the plurality of input function expression data into Y1, Y2 graph expression registers 18, 19 respectively. (Step S35) and return.
[0025]
For example, if FIG. 4 (a), the "Y1 = ax +1" and the "Y2 = ax 2" is input, if FIG. 6 (a), the as "Y1 = ax", "Y2 = bx 2" In FIG. 8A, “(x, y) = (BcosT, sinT)” and “r = B” are input and stored in the respective registers.
[0026]
Next, if it is determined in step S34 that the display is not an input of a function expression, NO is determined, and it is determined in step S36 whether or not an input display of the scale data of the function expression currently input is displayed. The The variable data scale input display is displayed on the display unit 2 as shown in FIGS. 4B, 6B, 6C, and 8B, for example.
[0027]
In this scale input display, when the scale key 13 is pressed (step S61), the CPU 7 performs a process of extracting variables from the graph-type registers 18 and 19 (step S62), and a register setting process that enables the input of variables is performed. As a result (step S63), the first variable scale can be input and displayed (step S64). Then, when the ST key 14 is pressed to store the input scale, it is detected in step S33, and since it is a step input display, the process proceeds from step S33 to step S36, and the scale input in step S37 corresponds. Stored for each variable. Here, when it is determined in step S38 that there are other variables, the process proceeds to step S39, and scale input display for other variables is performed.
[0028]
The input scale is stored in the data area corresponding to each variable of the variable scale register 21. As shown in FIG. 4 and FIG. 8, when there is one variable, the variable may be stored in the variable scale register 21, but when there are other variables as shown in FIG. 6, in steps S38 and S39. The input display processing of other variable scales is performed.
[0029]
As described above, the data input process is performed by operating the numeric / data input key 15 in each data input display. Next, when the dynamic key 12 is pressed, the process proceeds to step S41, where it is determined whether or not the dynamic key 14 of the input unit 4 in FIG. 1 is pressed, and in step S42, the function formula with the scale input is read. Then, the CPU 7 creates graph data for each variable value that differs according to this variable scale (step S43). Further, the CPU 7 stores the created graph data in the graph storage register 21 of the storage unit 6 (step S44).
[0030]
The creation and storage processing of the graph data described above is repeated until it is finished in all function expressions (step S45).
Next, in step S46, it is determined whether or not the variables of the plurality of function expressions are the same. If they are the same, the CPU 7 simultaneously reads and displays the graph data of the different function expressions stored in the graph storage register 21. It is displayed on part 2 (step S47). For example, as shown in FIG. 5A, a graph composed of two function expressions is displayed.
[0031]
Further, the CPU 7 reads out the next graph data at regular time intervals and displays the same (step S48). For example, as shown in FIG. 5B or FIG.
Here, when there is any key input, the graph data switching display ends, but the above switching display is repeatedly performed while no key input is performed (step S49 → step S48).
[0032]
If the variable data is not the same in step S46, the CPU 7 displays the first graph of the function expressions Y1 and Y2 (step S50), reads the next Y2 graph data, and displays only the graph data of Y2. Performed (step S51).
[0033]
In this way, first, all the graphs of Y2 are sequentially displayed (step S52). When all the graphs of Y2 are displayed, the next graph data of Y1 is read and switched to the first graph of Y1, and if there is no other key input, the process returns to step S51 again to return to Y2. The above switching display operation is repeated until all the graphs are switched and displayed until all the Y1 graphs are displayed. Thereby, the relationship of all combinations of the functional expressions Y1 and Y2 can be seen on the screen. For example, in the display form of the above dynamic graph, one function graph is fixed and the other function graph is moved as shown in the relationship of (a), (b), (c), and (d) in FIG. Switch display.
[0034]
Further, the case of the two functional expressions of circle and ellipse shown in FIGS. 8 and 9 can be considered in the same manner as described above. Here, it is possible to set the scale of the range of the variable B with the variable B and move and display the graph as shown in FIGS. 9A to 9C based on the scale for which the range is set. is there.
[0035]
As described above, the graph display device according to the present embodiment sets a range of values to be substituted into variable data of a function expression including variable data, draws a dynamic graph of a plurality of function data according to each value, If they are the same, display them at the same time, and if the variables are different, consider the combination of each variable and switch to display, moving the graph to display the relationship between multiple dynamic graphs. Can now.
[0036]
The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention. Needless to say.
For example, in the above-described embodiment, two dynamic graphs are drawn using two function expressions, but the present invention is not limited to this. Three or more dynamic graphs are displayed using three or more function expressions. You may make it display on top of each other.
[0037]
In the embodiment described above, the variable data range of the function expression is set by the start, end, and pitch. However, the variable data may be set individually.
[0038]
【The invention's effect】
According to the first or second aspect of the invention, when the variables are the same, a plurality of graphs are displayed at the same time, and when they are different, the switching display according to the combination of the respective variables is performed. It is possible to easily grasp the relationship of a plurality of graphs with respect to.
[Brief description of the drawings]
FIG. 1 is a block diagram of a main part of a scientific calculator according to the present embodiment.
FIG. 2 is a flowchart for explaining a main routine process of the scientific calculator according to the embodiment.
FIG. 3 is a flowchart for explaining the operation of a subroutine related to the dynamic graph processing of FIG. 2;
4 is a diagram showing an example of data input display in the dynamic graph processing of FIG. 3;
FIG. 5 is a diagram showing an example in which two dynamic graphs composed of different function formula data having the same variable data shown in FIG. 4 are changed and displayed.
FIG. 6 is a diagram showing an example of input of two function expression data including different variable data.
7 is a diagram showing an example in which two dynamic graphs composed of two function formula data including different variable data shown in FIG. 6 are displayed while being changed. FIG.
FIG. 8 is a diagram showing an input example of two function formula data composed of different function formula data with common variable data.
FIG. 9 is a diagram showing an example in which two dynamic graphs composed of two function formula data input in FIG. 8 are displayed while being changed.
[Explanation of symbols]
1 Scientific Calculator 2 Display 3 Display Drive Circuit 4 Input 5 ROM
6 Storage unit (RAM)
7 CPU
12 dynamic key 13 scale key 15 numeric / data input key 16 display register 17 menu register 18 Y1 graph type register 19 Y2 graph type register 20 variable scale 21 graph storage register 22 work area

Claims (2)

複数の関数式に対応するグラフを、その関数式に含まれる変数の値を変化させて順次切り替えながら表示するグラフ表示装置において、
前記複数の関数式に含まれる変数が同一の変数であるか否かを判別する変数判別手段と、
この変数判別手段による判別の結果、1)前記複数の関数式に含まれる変数が同一の変数であると判別された場合には、当該同一の変数の値に対応した前記複数の関数式それぞれのグラフの同時表示を、当該同一の変数の値を変化させるごとに順次に切り替えて行い、2)前記複数の関数式に含まれる変数が同一の変数ではないと判別された場合には、前記複数の関数式それぞれのグラフのうち、当該同一の変数ではない変数の中の一の変数の値の変化に伴って変化するグラフを当該一の変数の値の変化に応じて切り替えて表示していく切替表示を、前記一の変数を順次に変更していくことで前記同一の変数でない変数全てについて行う表示制御手段と、
を備えたことを特徴とするグラフ表示装置。
In a graph display device that displays graphs corresponding to a plurality of function expressions while sequentially switching by changing the values of variables included in the function expressions,
Variable determining means for determining whether or not the variables included in the plurality of functional expressions are the same variable;
As a result of the discrimination by the variable discriminating means, 1) when it is discriminated that the variables included in the plurality of function expressions are the same variable, each of the plurality of function expressions corresponding to the value of the same variable Simultaneous display of the graph is performed by sequentially switching each time the value of the same variable is changed. 2) When it is determined that the variables included in the plurality of function expressions are not the same variable, the plurality of the graphs are displayed. Among the graphs of the function formulas of, the graph that changes with the change of the value of one variable among the variables that are not the same variable is switched and displayed according to the change of the value of the one variable Display control means for performing switching display for all variables that are not the same variable by sequentially changing the one variable;
A graph display device comprising:
複数の関数式に対応するグラフを、その関数式に含まれる変数の値を変化させて順次切り替えながら表示するための表示部を備えているグラフ表示装置に用いられるグラフ表示制御方法であって、A graph display control method used for a graph display device including a display unit for displaying a graph corresponding to a plurality of function expressions while sequentially switching by changing a value of a variable included in the function expression,
前記複数の関数式に含まれる変数が同一の変数であるか否かを判別する変数判別ステップと、A variable determination step for determining whether or not the variables included in the plurality of functional expressions are the same variable;
この変数判別ステップにおける判別の結果、1)前記複数の関数式に含まれる変数が同一の変数であると判別された場合に、前記表示部に、当該同一の変数の値に対応した前記複数の関数式それぞれのグラフの同時表示を、当該同一の変数の値を変化させるごとに順次に切り替えて行い、2)前記複数の関数式に含まれる変数が同一の変数ではないと判別された場合に、前記表示部に、前記複数の関数式それぞれのグラフのうち、当該同一の変数ではない変数の中の一の変数の値の変化に伴って変化するグラフを当該一の変数の値の変化に応じて切り替えて表示していく切替表示を、前記一の変数を順次に変更していくことで前記同一の変数でない変数全てについて行う表示制御ステップと、As a result of the determination in this variable determination step, 1) When it is determined that the variables included in the plurality of function expressions are the same variable, the display unit displays the plurality of the variables corresponding to the value of the same variable. Simultaneous display of graphs of each function formula is performed by sequentially switching each time the value of the same variable is changed. 2) When it is determined that the variables included in the plurality of function formulas are not the same variable. In the graph of each of the plurality of functional expressions, a graph that changes with a change in the value of one of the variables that is not the same variable is displayed on the display unit as a change in the value of the one variable. A display control step for switching all of the variables that are not the same variable by sequentially changing the one variable, and switching display that is switched according to the display.
を含むグラフ表示制御方法。Graph display control method including
JP35394895A 1995-12-28 1995-12-28 Graph display device and graph display control method Expired - Fee Related JP3680400B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35394895A JP3680400B2 (en) 1995-12-28 1995-12-28 Graph display device and graph display control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35394895A JP3680400B2 (en) 1995-12-28 1995-12-28 Graph display device and graph display control method

Publications (2)

Publication Number Publication Date
JPH09185586A JPH09185586A (en) 1997-07-15
JP3680400B2 true JP3680400B2 (en) 2005-08-10

Family

ID=18434297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35394895A Expired - Fee Related JP3680400B2 (en) 1995-12-28 1995-12-28 Graph display device and graph display control method

Country Status (1)

Country Link
JP (1) JP3680400B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5104045B2 (en) * 2007-05-31 2012-12-19 カシオ計算機株式会社 Graph display device and control program thereof
JP4853578B2 (en) * 2010-04-16 2012-01-11 カシオ計算機株式会社 Graph display device and program
JP6221323B2 (en) 2013-04-22 2017-11-01 カシオ計算機株式会社 Graph display device and control program thereof
JP6244901B2 (en) 2013-12-27 2017-12-13 カシオ計算機株式会社 Graph display control device, electronic device, and program
JP6318615B2 (en) 2013-12-27 2018-05-09 カシオ計算機株式会社 Graph display control device, electronic device, and program
JP6287412B2 (en) 2014-03-19 2018-03-07 カシオ計算機株式会社 Graphic drawing apparatus, graphic drawing method and program
JP6394163B2 (en) 2014-08-07 2018-09-26 カシオ計算機株式会社 Graph display device, graph display method and program

Also Published As

Publication number Publication date
JPH09185586A (en) 1997-07-15

Similar Documents

Publication Publication Date Title
US6081819A (en) Electronic calculator with graph displaying function
JP3612811B2 (en) Graph display device
JPH02114318A (en) Menu display system
JP3680400B2 (en) Graph display device and graph display control method
US5130939A (en) Compact electronic calculator capable of displaying matrix element data under actual matrix form
JP4105303B2 (en) Display device for NC machine tools
KR101660680B1 (en) System construction assist device, method, and recording medium
JPS63228314A (en) Menu arranging method for soft key device
JPH05173977A (en) Small-sized electronic equipment with box bar drawing function
JP4089047B2 (en) Graph display device and recording medium recording graph display processing program
JP2000315195A (en) Electronic calculation device with currency conversion function and storage medium storing currency converting calculation display program
JPH02266398A (en) Scrolling controller for display screen
JPH08179749A (en) Graph display device
JPH09185359A (en) Graph display device
JPH08152991A (en) Screen switching device
JP3680399B2 (en) Graph display device
JPH11184822A (en) Graph display device/method and record medium where graph display processing program is recorded
JPH01244502A (en) Pc program display system
JPH11161613A (en) Electronic computer, computing method, and record medium storing computing process program
KR100327401B1 (en) Apparatus and method for displaying demo screen control mode of monitor
KR19980025769A (en) Optional Key Function Setting Device and Setting Method
JP3633249B2 (en) Graph display device and graph display control method
JP2831505B2 (en) Molding machine controller
JPH0523455B2 (en)
JPH0330051A (en) Document processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040629

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040706

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040906

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050426

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050509

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080527

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090527

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090527

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100527

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110527

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110527

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120527

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120527

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130527

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130527

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees