Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3972815B2 - Electronic device and program - Google Patents
[go: Go Back, main page]

JP3972815B2 - Electronic device and program - Google Patents

Electronic device and program Download PDF

Info

Publication number
JP3972815B2
JP3972815B2 JP2002379156A JP2002379156A JP3972815B2 JP 3972815 B2 JP3972815 B2 JP 3972815B2 JP 2002379156 A JP2002379156 A JP 2002379156A JP 2002379156 A JP2002379156 A JP 2002379156A JP 3972815 B2 JP3972815 B2 JP 3972815B2
Authority
JP
Japan
Prior art keywords
graph
data
display
value
undefined variable
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
JP2002379156A
Other languages
Japanese (ja)
Other versions
JP2004213139A (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 JP2002379156A priority Critical patent/JP3972815B2/en
Publication of JP2004213139A publication Critical patent/JP2004213139A/en
Application granted granted Critical
Publication of JP3972815B2 publication Critical patent/JP3972815B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Calculators And Similar Devices (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、グラフ表示機能を備えた電子機器及びプログラムに関する。
【0002】
【従来の技術】
従来、幾何図形を描画する描画機能を備えた装置が知られている。例えば、方程式計算、行列演算、複素数演算等の計算機能や、財務計算機能、統計機能等の豊富な機能を備えた関数電卓(以下、「関数電卓」という。)が知られている。この関数電卓は、例えば、計算機能を利用した各種技術計算の演算結果をグラフ化して表示することや入力された式の図形を描画することができる。したがって、教育現場において、数式等の文字データとグラフや図形の関係を勉強するため等に広く活用されている。
【0003】
また、上述したような関数電卓において、グラフを表示させる場合に、グラフを表示するための座標範囲(以下、「表示範囲」という。)を、ユーザの所望の値に設定する機能を備えたものが公知である(例えば、特許文献1参照。)。
【0004】
【特許文献1】
特開昭61−261780号公報
【0005】
【発明が解決しようとする課題】
ところで、ユーザが関数の計算を行う際には、必ずしも具体的な数値を念頭において行うわけではない。例えば、「Y=aX^2」のように、軸変数X、Y以外に特定の数値が指定されない変数(以下、「未定義変数」という。)aを含む数式を想定し、2次関数のグラフの形状をイメージして計算している。
【0006】
しかしながら、関数電卓という装置においては、未定義変数を用いた数式等が入力すると、未定義変数の具体的な値が不明であるために演算を実行できず、エラーとなってしまっていた。例えば、次の場合である。
【0007】
▲1▼未定義変数を用いて座標範囲(表示範囲)を設定した場合
従来の関数電卓において、グラフを描画する際にその座標範囲(表示範囲)を設定できる。ところが未定義変数を用いて座標範囲を設定するとエラーとなってしまっていた。
▲2▼未定義変数を含む数式(グラフ式)を入力する場合
未定義変数の具体的な値が不明であるために数値演算ができないとしてエラーとなってしまい、グラフを描画できなかった。勿論、未定義変数が取り得る数値条件を指定するといった方法によっても、グラフを描画することができなかった。また、未定義変数が含まれている為、未定義変数の値が一意に定まらず、増減表を作成するといったこともできなかった。
▲3▼未定義変数を含むテーブル条件を入力してリストデータを作成する場合
数式を入力し、更にリストデータを作成するためのテーブル条件を入力する場合に、数式に未定義変数が含まれないとしても、テーブル条件に未定義変数が含まれている場合には、リストデータを作成できなかった。
【0008】
そこで本発明は、グラフ表示機能を備えた電子機器において、未定義変数を用いた入力が為された場合であっても、グラフの描画等の実行を可能として、計算時のユーザの思考を支援し、使い勝手を向上させることを目的とする。
【0009】
【課題を解決するための手段】
上記課題を解決するために、請求項1に記載の電子機器は、グラフを表示するための座標範囲を入力する座標範囲入力手段と、この座標範囲入力手段により入力された座標範囲に未定義変数が含まれているか否かを判別する判別手段と、この判別手段により前記座標範囲に未定義変数が含まれていると判別された場合に、該未定義変数に仮値を設定して、設定した仮値を代入した座標範囲についてグラフを表示する制御を行うグラフ表示制御手段と、このグラフ表示制御手段により表示されたグラフ上に、移動操作に応じて移動するトレースポインタを表示する制御を行うトレースポインタ表示制御手段と、前記判別手段により前記座標範囲に未定義変数が含まれていると判別された場合に、前記座標範囲中の前記トレースポインタの位置を前記未定義変数を用いて演算し、座標値として表示する制御を行う座標値表示制御手段と、を備えることを特徴とする。
【0010】
また請求項2に記載の発明のように、請求項1記載の電子機器において、グラフ式を一意に特定するためのグラフ系コマンドを入力するコマンド入力手段と、このコマンド入力手段により入力されたグラフ系コマンド、及び前記座標範囲入力手段により入力された座標範囲に同一の未定義変数が含まれているか否かを判別する第2判別手段と、を更に備え、前記グラフ表示制御手段は、前記コマンド入力手段により入力されたグラフ系コマンドによって特定されたグラフ式のグラフを表示する制御を行う手段であって、前記第2判別手段により同一の未定義変数が含まれていると判別された場合に、当該グラフ式のグラフが、前記仮値を代入した座標範囲に収まるか否かを所定の収容条件に基づいて判定して、収まっていないと判定されたときに前記収容条件を満たす様に仮値を再設定して当該グラフ式のグラフを表示する制御を行う手段を有するように構成してもよい。
【0011】
また、請求項3に記載の発明のように、請求項1又は2に記載の電子機器において、スケールの1単位分の値を表すスケール値を入力するスケール値入力手段と、このスケール値入力手段により入力されたスケール値に未定義変数が含まれているか否かを判別する第3判別手段と、この第3判別手段により前記スケール値に未定義変数が含まれていると判別された場合に、当該未定義変数に仮値を設定して、設定した仮値を代入したスケール値でスケールを表示する制御を行うスケール表示制御手段と、を備えるように構成してもよい。
【0035】
【発明の実施の形態】
以下、図面を参照して、本発明の実施の形態を説明する。なお、以下においては、本発明をグラフ表示機能を有する電子機器の一種であるグラフ関数電卓に適用した場合について説明するが、本発明が適用可能なものはこれに限られない。
【0036】
図1は、本発明を適用したグラフ関数電卓(以下、単に「関数電卓」という。)1の外観例を示す図である。同図によれば、関数電卓1は、ディスプレイ2、キー群3、入力ペン4、を備えて構成されている。キー群3を構成するキーには、それぞれ固有の機能が割り当てられており、ユーザはこれらのキーを押下して関数電卓1を操作する。また、ディスプレイ2には、後述するタブレット(タッチパネル)30が一体的に配設されており、ユーザは入力ペン4を使用したディスプレイ2上のタッチ操作により関数電卓1を操作することも可能である。
【0037】
また、関数電卓1は、例えば、計算式、テーブル、リスト等を算出する計算機能を実現するための計算アプリケーションプログラム(以下、適宜「計算アプリケーション」という。)、グラフ描画機能を実現するためのグラフアプリケーションプログラム(以下、適宜「グラフアプリケーション」という。)等を搭載している。
以下、図面を参照して、関数電卓1の第1〜第9の実施の形態を説明する。
【0038】
1. 第1の実施の形態
本第1の実施の形態は、グラフアプリケーションのグラフ表示範囲の設定用画面(以下、「表示範囲設定ウィンドウRW」という。)において入力されたデータに未定義変数が含まれる場合に、この未定義変数に仮の値を代入する。また、ユーザによりキー群3等から入力されたグラフ式に未定義変数が含まれる場合に、この未定義変数に仮の値を代入する。これにより、グラフアプリケーションのグラフ表示画面(以下、「グラフウィンドウGW」という。)の表示範囲を設定して、グラフを描画する。また、トレースの実行指示が入力された場合に、グラフ上にトレースポインタを表示させて、トレース位置の座標を表示する制御を行うものである。
【0039】
1.1 内部構成
図2は、第1の実施の形態における関数電卓1の内部構成の一例を示すブロック図である。同図によれば、関数電卓1は、CPU10、入力部20、タブレット30、位置検出回路31、表示部40、表示駆動回路41、RAM50、ROM70、記憶装置90、記憶媒体100を備えて構成される。
【0040】
CPU10は、入力される指示に応じて所定のプログラムに基づいた処理を実行して、各機能部への指示やデータの転送等を行い、関数電卓1を統括的に制御する。具体的には、CPU10は、入力部20又はタブレット30から入力される操作信号に応じてROM70に格納されたプログラムを読み出し、当該プログラムに従って処理を実行する。そして、処理結果をRAM50に保存するとともに、当該処理結果を表示するための表示信号を表示駆動回路41に適宜出力して、対応する表示情報を表示部40に表示させる。
【0041】
入力部20は、数値や数式等の入力、機能選択等に必要なキーを備えた入力装置であり、押下されたキーの押下信号等をCPU10に出力する。この入力部20におけるキー入力により、例えば、各種アプリケーションの起動指示、図形描画処理の実行、数式の入力、演算処理の実行、処理の終了やモードの解除、ポインタ操作、各種選択操作や当該選択操作の確定指示等の入力手段を実現する。この入力部20は、図1に示すキー群3に相当するものである。
【0042】
また、関数電卓1は、入力装置として、タッチパネルであるタブレット30を備える。このタブレット30は、表示部40における位置を指示する指示ペン(図1に示す入力ペン4に相当)等の装置と、指示された表示部40の位置を感知する装置とが組み合わされた入力装置である。タブレット30に接続される位置検出回路31は、タブレット30により指示された位置座標を検出する。このタブレット30を使用すれば、表示部40における位置を細かく指定することができ、タブレット30を使用した表示部40のタッチ操作により、上述した入力部20における入力手段を実現することができる。
【0043】
表示駆動回路41は、CPU10から入力される表示信号に基づいて表示部40を制御して各種画面を表示させるものである。表示部40は、LCD(Liquid Crystal Display)やELD(Electro Luminescent Display)等で構成され、例えば、図4に示す表示画面を表示する。この表示部40は、図1のディスプレイ2に相当するものであり、タブレット30と一体的に形成されている。
【0044】
RAM50は、CPU10が実行する各種処理プログラムや、これらのプログラムの実行に関わるデータ等を一時的に保存する格納領域(メモリ)を備える。図3は、本実施の形態におけるRAM50の構成を示す図である。
【0045】
同図によれば、RAM50は、表示範囲設定ウィンドウRWにおいて入力された表示範囲を指定するための表示範囲設定データ51、表示範囲設定データ51に未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値である表示範囲仮代入値データ51a、グラフウィンドウGWに描画されるグラフのドットデータであるグラフデータ52、グラフを描画するためのグラフ式のデータ(グラフ式データ)52a、グラフ式データ52aに未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値であるグラフ式仮代入値データ52b、グラフ上のトレース位置の座標データである座標値データ53、の各データを格納するための領域を備える。
【0046】
図4は、ROM70の構成を示す図である。同図によれば、ROM70には、各種初期設定やハードウェアの検査、必要なプログラムのロードを行うための初期プログラムが格納される。CPU10は、関数電卓1の電源投入時においてこの初期プログラムを実行することにより、関数電卓1の動作環境を設定する。
【0047】
また、ROM70には、計算アプリケーションやグラフアプリケーション等の各種アプリケーションプログラム、各種設定処理や各種演算処理等の関数電卓1の動作に係る各種処理プログラム、関数電卓1の備える種々の機能を実現するためのプログラムやデータが格納される。特に、本実施の形態においては、第1グラフ描画処理プログラム71が格納されている。
【0048】
第1グラフ描画処理プログラム71は、第1グラフ描画処理(図5参照)を実現するためのプログラムである。CPU10がこの第1グラフ描画処理プログラム71を実行することにより、第1グラフ描画処理が実現される。
【0049】
記憶装置90は、プログラムやデータ等を記憶する記憶媒体100を有しており、この記憶媒体100は、磁気的、光学的記憶媒体、若しくは半導体メモリにより構成されている、この記憶媒体100は、記憶装置90に固定的に設けたもの、若しくは着脱自在に装着するものであり、この記憶媒体100には、関数電卓1に対応する各種処理プログラム、及び各種処理プログラムに基づいて処理されたデータ等を格納する。
【0050】
なお、この記憶媒体100に記憶するプログラムやデータ等は、通信回線(図示省略)を介して接続された他の機器から受信して記憶する構成としてもよい。また、記憶媒体100及び記憶装置90を他の装置から、通信回線を介してプログラムやデータを転送して使用するようにしてもよい。
【0051】
1.2 動作
次に、第1の実施の形態における関数電卓1の動作について説明する。
図5は、第1グラフ描画処理に係る関数電卓1の動作を説明するためのフローチャートであり、図6は、図5のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0052】
図5に示す第1グラフ描画処理において、まずCPU10は、グラフモードをOFFからONに切り替えた後(ステップS101)、グラフアプリケーションの実行を開始して表示範囲設定ウィンドウRWを表示部40に表示させる(ステップS102)。そして、ユーザは、例えばキー群3により、表示範囲設定ウィンドウRWのカーソル位置に、グラフの表示範囲を設定する数値又は未定義変数を入力する。すると、CPU10は、表示範囲を指定するデータが入力されたことを検知して(ステップS103;YES)、入力されたデータを表示範囲設定データ51としてRAM50に格納する(ステップS104)。
【0053】
図6(a)及び(b)は、この段階において表示部40に表示される表示画面の一例を示す図である。図6(a)に示す表示範囲設定ウィンドウRWにおいて、ユーザは、X座標の最小値「Xmin」、X座標の最大値「Xmax」、Y座標の最小値「Ymin」、Y座標の最大値「Ymax」の各値を設定する。ユーザがこれらの値に未定義変数を設定した例が図6(b)である。図6(b)においては、例えば「Xmin:−A」、「Xmax:A」、「Ymin:−B」、「Ymax:B」のような文字(未定義変数)により表示範囲の各値が指定されている。
【0054】
次に、CPU10は、表示範囲設定データ51に未定義変数が含まれると判別した場合(ステップS105;YES)、未定義変数に仮代入する値を算出して、算出した値を表示範囲仮代入値データ51aとしてRAM50に格納する(ステップS106)。一方、CPU10は、表示範囲設定データ51に未定義変数が含まれないと判別した場合(ステップS105;NO)、ステップS107に移行する。
【0055】
ここで、上記ステップS106において未定義変数に仮代入する値は、例えば、表示部40に前回グラフウィンドウGWを表示した際の表示範囲の値を基に算出してもよいし、ROM70にデフォルトの値を予め記憶させておき、この値を基に算出してもよい。
【0056】
次いで、ユーザによって、キー群3等からグラフ式とグラフ描画指示が入力されると、CPU10は、その入力を検知して(ステップS107;YES)、入力されたグラフ式に未定義変数が含まれるか否かを判別する(ステップS108)。CPU10は、グラフ式に未定義変数が含まれると判別した場合(ステップS108;YES)、グラフ式に仮代入する未定義変数の値を算出して、算出した値をグラフ式仮代入値データ52bとしてRAM50に格納する(ステップS109)。
【0057】
ここで、上記ステップS109において未定義変数に代入する値としては、例えば、グラフ式が2次関数や3次関数の場合には、当該関数の極大値や極小値等の特異点がステップS104〜S106で設定された表示範囲内に収まるような値を算出し、使用してもよい。また、一次関数の場合には、予めデフォルトのy切片やx切片のデータをROM70に記憶させておき、この切片をグラフが通過する値を算出して使用することとしてもよい。
【0058】
続いて、CPU10は、グラフ式のグラフデータを算出して(ステップS110)、グラフデータ52とグラフ式データ52aをRAM50に格納する(ステップS111)。次に、CPU10は、表示範囲設定データ51に基づいて表示部40にグラフウィンドウGWを表示して、グラフを描画する(ステップS112)。
【0059】
図6(c)は、この段階での表示画面の一例を示す図である。同図によれば、表示部40において、グラフウィンドウGWが表示され、このグラフウィンドウGWは、図6(b)に示す段階でユーザにより入力された設定に従って表示範囲が設定されている。即ち、X軸方向において「−A」から「A」、Y軸方向において「−B」から「B」の表示範囲がグラフウィンドウGWに表示されており、その中にグラフG1が表示されている。
【0060】
次いで、CPU10は、グラフウィンドウGWに設けられたトレースボタンTRBが選択されて、トレースの実行指示が入力されたか否かを判別する(ステップS113)。CPU10は、トレースの指示が入力されないと判別した場合(ステップS113;NO)、そのまま第1グラフ描画処理を終了する。一方、CPU10は、トレースの指示が入力されたと判別すると(ステップS113;YES)、次の処理を行う。
【0061】
CPU10は、表示範囲仮代入値データ51a、グラフ式データ52a、グラフ式仮代入値データ52b、に格納された各値と、表示画面に対するトレースポインタの相対位置に基づいて、トレースポインタの移動先の位置座標を算出する(ステップS114)。このとき、CPU10は、表示範囲設定データ51、グラフデータ52に未定義変数が含まれている場合には、この未定義変数にはある値が代入されている。したがって、この値によって定められた座標値を未定義変数に戻す計算を行い、トレースポインタの移動先の座標位置を、未定義変数を含む座標値として算出する。
【0062】
次いで、CPU10は、算出したトレースポインタの移動先の位置を座標値データ53としてRAM50に格納し(ステップS115)。また、グラフ上のトレース位置にトレースポインタH1を表示して(ステップS116)、トレース位置の座標をグラフウィンドウGW内に表示する(ステップS117)。
【0063】
図6(d)は、この段階での表示部40の表示画面の一例を示す図である。同図によれば、グラフウィンドウGWにおいて、式C1「Y2=1nX」のグラフが描画されており、トレースポインタH1の位置の座標値「X=A/5,Y=Ln(A/5)」が表示されている。この図6に示す例では、表示範囲設定データ51に未定義変数(A、B)が含まれているため、トレース時に示される座標値は、未定義変数を含んで表されることとなる。
【0064】
そして、CPU10は、ユーザによるトレースポインタの移動操作が終了するまでステップS114〜S117の処理を繰り返し(ステップS118;YES)、移動操作が終了した場合は(ステップS118;NO)、第1グラフ描画処理を終了する。
【0065】
以上説明したように、第1の実施の形態において、ユーザは、表示範囲やグラフ式を設定するデータとして、未定義変数又は数値を指定すると、グラフウィンドウGWにグラフが描画される。また、未定義変数が指定された場合であっても、トレース処理時のトレース位置の座標値が未定義変数を用いて表示される。
【0066】
このため、表示範囲やグラフ式に代入する具体的な数値が決まっていない場合でも、グラフウィンドウGWにおいてグラフの形状を目で見て確認することができ、グラフをイメージしやすくなる。
【0067】
2. 第2の実施の形態
以下、第2の実施の形態について説明する。
本第2の実施の形態は、表示範囲設定データに未定義変数が含まれる場合に、この未定義変数に仮の値を代入する。また、仮の値を代入することによって表示範囲を設定した後、描画するグラフが表示範囲内に表示できない場合に、表示範囲設定データに仮に代入した値を変更する。これにより、グラフを表示範囲内に表示する制御を行うものである。
【0068】
2.1 内部構成
本第2の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM250に置き換え、ROM70をROM270に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0069】
図7は、RAM250の構成を示す図である。同図によれば、RAM250は、表示範囲設定データ51、表示範囲設定データ51に未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値である表示範囲仮代入値データ51a、グラフデータ52、グラフを描画するためのグラフ式のデータ(グラフ式データ)52a、グラフ描画コマンドを入力するためのグラフアプリケーションの画面(以下、「コマンドデータCW」という。)において入力されるコマンドデータ54、コマンドデータ54に未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値であるコマンド仮代入値データ54a、の各データの格納領域を備える。
【0070】
図8は、ROM270の構成を示す図である。同図によれば、ROM270には、第2グラフ描画処理プログラム271が格納されている。
【0071】
第2グラフ描画処理プログラム271は、第2グラフ描画処理(図9参照)を実現するためのプログラムである。CPU10がこの第2グラフ描画処理プログラム271を実行することにより、第2グラフ描画処理が実現される。
【0072】
2.2 動作
次に、第2の実施の形態における関数電卓1の動作について説明する。
図9は、第2グラフ描画処理に係る関数電卓1の動作を説明するためのフローチャートであり、図10は、図9のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0073】
図9に示す第2グラフ描画処理において、まずCPU10は、グラフモードをOFFからONに切り替えた後(ステップS201)、グラフアプリケーションの実行を開始して表示範囲設定ウィンドウRWを表示部40に表示させる(ステップS202)。そして、ユーザは、例えばキー群3により、表示範囲設定ウィンドウRWのカーソル位置に、グラフの表示範囲を設定する数値又は未定義変数を入力する。すると、CPU10は、表示範囲を指定するデータが入力されたことを検知して(ステップS203;YES)、入力されたデータを表示範囲設定データ51としてRAM250に格納する(ステップS204)。
【0074】
図10(a)は、この段階において表示部40に表示される表示画面の一例を示す図である。図10(a)に示す表示範囲設定ウィンドウRWにおいて、ユーザは、X座標の最小値「Xmin」、X座標の最大値「Xmax」、Y座標の最小値「Ymin」、Y座標の最大値「Ymax」の各値を設定する。ユーザがこれらの値に未定義変数を設定した場合は、図示するように、例えば「Xmin:−A」、「Xmax:A」、「Ymin:−B」、「Ymax:B」のような文字(未定義変数)により値が指定される。
【0075】
次に、CPU10は、表示範囲設定データ51に未定義変数が含まれると判別した場合(ステップS205;YES)、未定義変数に仮代入する値を算出して、算出した値を表示範囲仮代入値データ51aとしてRAM250に格納する(ステップS206)。一方、CPU10は、表示範囲設定データ51に未定義変数が含まれないと判別した場合(ステップS205;NO)、ステップS207に移行する。
【0076】
ここで、上記ステップS206において未定義変数に仮代入する値としては、例えば、表示部40に前回グラフウィンドウGWを表示した際の表示範囲の値を基に算出して使用してもよいし、ROM270等にデフォルトの値を予め記憶させておき、この値を基に算出した値を使用してもよい。
【0077】
次いで、CPU10は、表示部40にコマンドウィンドウCWを表示させる(ステップS207)。ユーザは、キー群3等から、グラフを描画するためのコマンドデータを入力する。すると、CPU10は、コマンドデータが入力されたことを検知して(ステップS208;YES)、コマンドデータ54としてRAM250に格納する(ステップS209)。
【0078】
図10(b)は、この段階で表示部40に表示される表示画面の一例を示す図である。同図によれば、コマンドウィンドウCWにおいて、座標(A,5)から座標(−B,B)までの直線を描画するコマンドが入力されている。
【0079】
次に、CPU10は、表示範囲設定データの設定に使用された未定義変数と同一の未定義変数が、コマンドデータ54に含まれるか否かを判別する(ステップS210)。CPU10は、コマンドデータ54に同一の未定義変数が含まれると判別した場合(ステップS210;YES)、コマンドデータ54に対して表示範囲仮代入値データ51aが不適当であるか否かを判別する(ステップS211)。CPU10は、表示範囲仮代入値データ51aが不適当であると判別した場合(ステップS211;YES)、表示範囲仮代入値データ51aを算出しなおして更新する(ステップS212)。
【0080】
ここで、ステップS211において、表示範囲仮代入値データ51aが不適当か否かの判別方法について具体的に説明する。例えば、ステップS204において、X軸方向の表示範囲が「−A〜A」に設定され、ステップS209においてX座標「3」の位置に点を描画するように指定されたと仮定する。このとき、「A」に仮代入される表示範囲仮代入値データ51aが「0」以上「3」未満であった場合、表示部40に設定された表示範囲内において、指示された点を描画することができない。このように、コマンドデータ54によって描画指示されたグラフが、表示範囲内に描画できない場合に不適当と判別する。
【0081】
次に、CPU10は、その他の未定義変数(表示範囲設定データ51に含まれる未定義変数以外)が、コマンドデータ54に含まれるか否かを判別する(ステップS213)。CPU10は、コマンドデータ54にその他の未定義変数が含まれると判別した場合(ステップS213;YES)、この未定義変数に仮に代入する値を算出するとともに、算出した値をコマンド仮代入値データ54aとしてRAM250に格納する(ステップS215)。
【0082】
上記ステップS215においてコマンド仮代入値には、表示範囲設定データ51により設定された表示範囲にコマンドデータ54に基づくグラフを表示可能とする値が設定される。例えば、コマンドデータ54により描画指示されたグラフが2次関数や3次関数の場合には、当該関数の極大値や極小値等の特異点がステップS204〜S206で設定された表示範囲内に収まるような値を算出して、使用してもよい。また、一次関数の場合には、予めデフォルトのy切片やx切片のデータをROM270に記憶させておき、この切片をグラフが通過するような値を算出して使用することとしてもよい。
【0083】
次いで、CPU10は、コマンドデータ54により描画指示されたグラフのグラフデータ52を算出し、グラフデータ52とそのグラフ式データ52aをRAM250に格納する(ステップS215)。そして、表示範囲設定データ51に基づいてグラフウィンドウGWを表示部40に表示して、グラフを描画する(ステップS216)。
【0084】
図10(c)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、グラフウィンドウGWにおいて、図10(b)のコマンドウィンドウCWで入力された、座標(A,5)から座標(−B,B)までの直線を引くコマンドにより描画指示されたグラフG2が、表示範囲内に表示されている。
以上の処理を実行すると、CPU10は第2グラフ描画処理を終了する。
【0085】
以上説明したように、第2の実施の形態において、ユーザが表示範囲設定データやコマンドデータ54に未定義変数を指定した場合にも、グラフウィンドウGWに所望のグラフが表示される。また、表示範囲の未定義変数に仮代入された値が、コマンドデータ54に応じて自動的に変更されて、グラフが表示画面内に収まるように自動的に調節されて表示される。
【0086】
したがって、グラフの表示範囲やコマンドデータ54に未定義変数や数値を指定した場合にも、関数電卓1にグラフを表示描画させることが可能となる。このため、表示範囲やコマンドデータ54に代入する具体的な数値が決まっていない場合に、コマンドデータ54により描画指示したグラフが確実に表示範囲内に表示され、便利である。
【0087】
3. 第3の実施の形態
以下、第3の実施の形態について説明する。
本第3の実施の形態は、表示範囲設定ウィンドウRWにおいて入力されたスケール値のデータに未定義変数が含まれる場合に、この未定義変数に仮の値(以下、「スケール値仮代入値データ」という。)を代入する。また、表示範囲設定データにも未定義変数が含まれている場合には、この未定義変数に仮の値(以下、「表示範囲仮代入値データ」という。)を代入してグラフウィンドウGWの表示制御を行うが、その際に次の処理を行う。表示範囲仮代入値データ、スケール値仮代入値データ、及び予め定められたスケールのデフォルトの目盛り数のデータに基づき、決められた数の目盛りを表示部の表示範囲に表示させる制御を行うものである。
【0088】
3.1 内部構成
本第3の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM350に置き換えて、ROM70をROM370に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0089】
図11は、RAM350の構成を示す図である。同図によれば、RAM350は、表示範囲設定データ51、表示範囲設定データ51の表示範囲を設定する値に未定義変数が含まれる場合に、この未定義変数に仮に代入される値である表示範囲仮代入値データ51a、表示範囲設定データ51のスケール値を設定する値に未定義変数が含まれる場合に、この未定義変数に仮に代入される値であるスケール値仮代入値データ51b、グラフデータ52、グラフを描画するためのグラフ式データ52a、の各データの格納領域を備える。
【0090】
図12は、ROM370の構成を示す図である。同図によれば、ROM370には、スケール表示処理プログラム371とデフォルトの目盛り数のデータ(以下、「目盛り数デフォルトデータ」という。)372が格納されている。
【0091】
スケール表示処理プログラム371は、スケール表示処理(図13参照)を実現するためのプログラムである。CPU10がこのスケール表示処理プログラム371を実行することにより、スケール表示処理が実現される。
【0092】
目盛り数デフォルトデータ372は、表示範囲設定データ51に未定義変数が含まれている場合に、グラフウィンドウGW内に表示するスケールの目盛りの数として予め設定された値である。なお、目盛り数デフォルトデータ372は、ユーザにより適宜設定可能としてもよい。
【0093】
3.2 動作
次に、第3の実施の形態における関数電卓1の動作について説明する。
図13は、スケール表示処理に係る関数電卓1の動作を説明するためのフローチャートであり、図14は、図13のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0094】
まず、図14(a)を参照して、スケール値について説明する。図14(a)は、グラフウィンドウGWにスケールとグラフG3が表示された例を示す図である。同図に示すように、グラフウィンドウGWにおいて、X軸及びY軸上に一定間隔で目盛りが付されている。この目盛り1つ分の値の幅をスケール値と呼ぶ。
【0095】
図13に示すスケール表示処理において、まずCPU10は、グラフモードをOFFからONに切り替えた後(ステップS301)、グラフアプリケーションの実行を開始して表示範囲設定ウィンドウRWを表示部40に表示させる(ステップS302)。そして、ユーザは、例えばキー群3により、表示範囲設定ウィンドウRWに表示されたカーソルを移動させて、グラフの表示範囲及びスケール値の入力欄を選択して、数値又は未定義変数を入力する。すると、CPU10は、表示範囲及びスケール値を指定するデータが入力されたことを検知して(ステップS303;YES)、入力されたデータを表示範囲設定データ51としてRAM370格納する(ステップS304)。
【0096】
図14(b)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図に示す表示範囲設定ウィンドウRWにおいて、ユーザは、X座標の最小値「Xmin」、X座標の最大値「Xmax」、Y座標の最小値「Ymin」、Y座標の最大値「Ymax」により決定される表示範囲を設定するデータと、「scale」により決定されるスケール値の各データを設定する。ユーザは、例えば、これらの値に未定義変数又は数値を設定する。同図によれば、設定された値は、「Xmin:−A」、「Xmax:A」、「Ymin:−3.1」、「Ymax:3.1」となっている。
【0097】
次に、CPU10は、表示範囲設定データ51に未定義変数が含まれると判別した場合(ステップS305;YES)、ステップS306に移行する。
【0098】
ステップS306において、CPU10は、まずROM370に予め記憶された目盛り数デフォルトデータ372を読み出す。そして、目盛り数デフォルトデータ372が示す数の目盛りがグラフウィンドウGWの表示範囲内に表示されるように、表示範囲仮代入値データ51a及びスケール値仮代入値データ51bの値を算出する。
【0099】
具体的には、例えば、表示範囲のX軸方向に目盛り数「10」を表示する設定となっており、表示範囲設定データ51が「Xmax:A」、「Xmin:−A」、「Ymax:5」、「Ymin:−5」であり、スケール値「scale:B」に設定されている場合に、CPU10は、表示範囲に表示されるX軸方向の幅の値、即ち2Aにわたって、目盛り数「10」を表示するように制御する。よって、目盛り1つ分の幅、即ちスケールBの値は、「2A/10」(「A/5」)となる。したがって、未定義変数Aに「20」を仮代入した場合には、未定義変数Bに仮代入する値は、自動的に「A/5=4」となる。
このように、CPU10は、目盛り数デフォルトデータ372に基づいて、表示範囲仮代入値データ51aとスケール値仮代入値データ51bを決定する。
【0100】
なお、目盛り数デフォルトデータ372としては、グラフウィンドウGWのX軸方向及びY軸方向についてそれぞれ異なる目盛り数のデータを記憶してもよいし、同じデータとしてもよい。
【0101】
次いで、CPU10は、ステップS306において算出した表示範囲仮代入値データ51aとスケール値仮代入値データ51bを、RAM350に格納して(ステップS307)そして、CPU10は、表示範囲設定データ51に基づいて、グラフウィンドウGWを表示し、画面内にスケールを表示する(ステップS308)。
【0102】
図14(c)は、この段階での表示部40における表示画面の一例を示す図である。同図によれば、グラフウィンドウGWにおいて、X軸及びY軸上にスケールが表示されている。
以上の処理を実行すると、CPU10はスケール表示処理を終了する。
【0103】
以上説明したように、第3の実施の形態において、ユーザがグラフウィンドウGWの表示範囲やスケールの値に未定義変数を指定した場合にも、関数電卓1によりエラー処理が実行されることなく、グラフウィンドウGWにスケールが表示される。
【0104】
したがって、表示範囲のスケール値が具体的な数値であるか未定義変数であるかを問わず、グラフウィンドウGWにスケールが表示されるため、ユーザは効率良くグラフを使用した学習を行うことができる。
【0105】
4. 第4の実施の形態
以下、第4の実施の形態について説明する。
本第4の実施の形態は、数式を表示する数式ウィンドウFW、グラフを表示するグラフウィンドウGW、及びユーザに選択されたグラフのグラフ式を表示する式表示欄WWを表示部40に表示する。また、未定義変数を含むグラフ式が入力された場合に、この未定義変数に仮の値を代入することによりグラフウィンドウGWにグラフを描画する。更に、ユーザによりグラフウィンドウGW上の任意の座標が指定されると、指定された座標に応じてグラフの描画位置を変更するとともに、未定義変数に仮代入した値を変更する制御を行うものである。
【0106】
4.1内部構成
本第4の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM450に置き換えて、ROM70をROM470に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0107】
図15は、RAM450の構成を示す図である。同図によれば、RAM450は、グラフウィンドウGWにおける表示データであるグラフデータ52、グラフを描画するためのグラフ式データ52a、グラフ式データ52aに未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値であるグラフ式仮代入値データ52b、数式ウィンドウFWにおける表示データである数式データ55、描画する図形を特定するための図形特定データ60、の各データの格納領域を備える。
【0108】
図16は、ROM470の構成を示す図である。同図によれば、ROM470には、グラフ表示位置指定処理プログラム471が格納されている。
【0109】
グラフ表示位置指定処理プログラム471は、グラフ表示位置指定処理(図17参照)を実現するためのプログラムである。CPU10がこのグラフ表示位置指定処理プログラム471を実行することにより、グラフ表示位置指定処理が実現される。
【0110】
4.2 動作
次に、第4の実施の形態における関数電卓1の動作について説明する。
図17は、グラフ表示位置指定処理に係る関数電卓1の動作を説明するためのフローチャートであり、図18は、図17のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0111】
図17に示すグラフ表示位置指定処理において、ユーザは、キー群3又は入力ペン4を使用して、所望の図形の種類を指定して、この図形を特定するためのデータである数値や文字(未定義変数)等(以下「図形特定データ」という。)を入力する。すると、CPU10は、描画する図形の種類を検知するとともに(ステップS401)、図形特定データの入力を検知し(ステップS402)、図形特定データ60としてRAM450に格納する(ステップS404)。
【0112】
次いで、CPU10は、図形特定データ60に未定義変数が含まれると判別した場合(ステップS405;YES)、この未定義変数に仮に代入する値を算出して、算出した値をグラフ式仮代入値データ52bとしてRAM450に格納する(ステップS406)。
【0113】
次に、CPU10は、描画する図形のグラフデータを算出し、グラフデータ52及びグラフ式データ52aをRAM450に格納する(ステップS407)。次いで、CPU10は、グラフデータ52を表示部40に送出してグラフウィンドウGWにグラフを描画する(ステップS408)。
【0114】
図18(a)及び(b)は、この段階での表示部40における表示画面の一例を示す図である。図18(a)は、数式ウィンドウFWにグラフ式C4が表示され、グラフウィンドウGWにグラフ式C4に基づくグラフG4が既に描画されている画面例である。ユーザは、グラフウィンドウGWにおいて、入力ペン4を使用して、円の中心と半径を指定する図形特定データを指定して円描画コマンドを入力する。これにより、例えば、未定義変数「A」,「B」を含むグラフ式「(x−A)^2+(y−B)^2=4」が指定されて、グラフ式データ52aとしてRAM450に格納される。
【0115】
CPU10は、コマンドに従って図18(a)に示すグラフG5を描画して、グラフG5の中心にポインタH10を表示する。図18(b)において、ユーザは、入力ペン4を使用してグラフG5のポインタH10を移動させ、グラフG5の表示位置を変更するコマンドを入力する。これに応じて、CPU10は以下に述べるステップS410以降の処理を実行する。
【0116】
次いで、CPU10は、グラフ上の座標が指定されたことを検出した場合に(ステップS409;YES)、指定位置(座標)から未定義変数に仮代入するグラフ式仮代入値データ52bの値を再算出して、グラフ式データ52a及びグラフ式仮代入値データ52bを更新する(ステップS410)。また、CPU10は、グラフデータを再算出した後(ステップS411)、グラフの表示位置を変更する(ステップS412)。そして、表示部40の式表示欄WWにグラフ式を表示する(ステップS413)。
【0117】
図18(c)及び(d)は、この段階における表示部40の表示画面の一例を示す図である。図18(c)に示すように、ユーザにより入力ペン4を用いてグラフG5の中心H10が移動されて座標が指定された場合、CPU10はグラフG5の表示位置を変更する。その後、図18(d)に示すように、移動したグラフG5のグラフ式を式表示欄WWに表示する。式表示欄WWには、未定義変数A、Bを含むグラフG5のグラフ式C5が表示されている。
【0118】
なお、グラフウィンドウGWの表示範囲に具体的な数値が設定されている場合には、グラフG5の正確な位置を算出可能であるため、図18(d)の画面の代わりに、図19に示すように具体的な数値を代入したグラフ式C5’を式表示欄WWに表示してもよい。
【0119】
以上説明したように、第4の実施の形態において、ユーザが未定義変数を含む数式を入力すると、関数電卓1によりエラー処理が実行されることなく、表示部40にグラフが描画される。また、グラフ描画後にグラフの位置を変更する指示を入力すると、グラフの描画位置が変更される。
【0120】
したがって、未定義変数を含む数式に基づくグラフを描画するとともに、ユーザにより指定された座標位置に基づいてグラフの表示位置を変更できる。このため、ユーザがイメージする所望の位置にグラフを描画することができる。
【0121】
5. 第5の実施の形態
以下、第5の実施の形態について説明する。
本第5の実施の形態は、数式ウィンドウFWに入力された数式に基づくグラフをグラフウィンドウGWに描画する。また、数式ウィンドウFWに入力された数式に含まれた未定義変数の条件をが条件データ入力欄IAに入力されると、この条件に応じてグラフウィンドウGWに描画されたグラフの位置を変更する制御を行うものである。
【0122】
5.1 内部構成
本第5の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM550に置き換えて、ROM70をROM570に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0123】
図20は、RAM550の構成を示す図である。同図によれば、RAM550は、グラフウィンドウGWにおける表示データであるグラフデータ52と、グラフを描画するためのグラフ式データ52a、グラフ式データ52aに未定義変数が含まれる場合にこの未定義変数に仮に代入する値として算出された値であるグラフ式仮代入値データ52b、数式ウィンドウFWにおける表示データである数式データ55、条件データ入力欄IAにおける表示データである条件データ56、の各データの格納領域を備える。
【0124】
図21は、ROM570の構成を示す図である。同図によれば、ROM570には、条件設定グラフ描画処理プログラム571が格納されている。
【0125】
条件設定グラフ描画処理プログラム571は、条件設定グラフ描画処理(図22参照)を実現するためのプログラムである。CPU10がこの条件設定グラフ描画処理プログラム571を実行することにより、条件設定グラフ描画処理が実現される。
【0126】
5.2 動作
次に、第5の実施の形態における関数電卓1の動作について説明する。
図22は、条件設定グラフ描画処理に係る関数電卓1の動作を説明するためのフローチャートであり、図23は、図22のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0127】
図22に示す条件設定グラフ描画処理において、まずCPU10は、グラフモードをOFFからONに切り替える(ステップS501)。次いで、計算アプリケーション及びグラフアプリケーションの実行を開始して、表示部40に数式ウィンドウFW、グラフウィンドウGW、条件データ入力欄IAを表示させる(ステップS502)。そして、ユーザは、例えばキー群3により数式ウィンドウFWに未定義変数を含む数式を入力して、グラフ描画のコマンドを入力する。
【0128】
CPU10は、数式ウィンドウFWに未定義変数を含む数式が入力されて、描画コマンドが指定されたと判別すると(ステップS503;YES)、入力されたグラフ式を数式データ55としてRAM550に格納する(ステップS504)。
【0129】
次いで、CPU10は、ユーザにより入力された数式に基づくグラフが、グラフウィンドウGWの表示領域に収まるように、数式内の未定義変数に仮代入する値を算出し、グラフ式仮代入値データ52bとしてRAM550に格納する(ステップS505)。CPU10は、仮代入値を代入した数式からグラフデータを算出して、グラフデータ52とグラフ式データ52aをRAM550に格納する(ステップS506)。次いで、CPU10は、グラフウィンドウGWにグラフを描画する(ステップS507)。
【0130】
図23(a)及び(b)は、この段階において表示部40に表示される表示画面の遷移例を示す図である。図23(a)に示す例では、数式ウィンドウFWに数式C6「Y=X+A」が表示され、グラフウィンドウGWには数式C6のグラフ式G6が表示されている。更に、図23(b)に示す例では、数式ウィンドウFWに数式C7「Y=X+B」が追加され、これに伴ってグラフウィンドウGWに数式C7のグラフG7が表示されている。
【0131】
続いて、CPU10は、条件データ入力欄IAにおいて、数式ウィンドウFWに表示された数式に含まれる未定義変数の条件が入力された場合(ステップS509;YES)、入力された条件を条件データ56としてRAM550に格納する(ステップS510)。
【0132】
次に、CPU10は、ステップS505において数式の未定義変数に仮代入した値が、条件データ56の条件と一致するか(条件を満足するか)否かを判別する(ステップS511)。CPU10は、グラフ式仮代入値データ52bが条件データ56と一致すると判別した場合は(ステップS511;YES)、条件設定グラフ描画処理を終了する。
【0133】
一方、グラフ式仮代入値データ52bが条件データ56と一致しない場合には(ステップS511;NO)、CPU10は、条件データ56が示す条件を満たすように、グラフ式仮代入値データ51bを再計算して、グラフ式仮代入値データ51bを更新する(ステップS512)。次いで、CPU10は、更新されたグラフ式仮代入値データ51bを代入した数式データ51のグラフデータを算出して、グラフデータ52及びグラフ式データ52aを更新する(ステップS513)。そして、CPU10は、グラフウィンドウGWにおけるグラフの描画位置を更新する(ステップS514)。
【0134】
図23(c)及び(d)は、この段階において表示部40に表示される表示画面の遷移例を示す図である。図23(c)によれば、条件データ入力欄IAにおいて、ユーザにより条件J1「A>B>0」が入力されている。条件J1が入力されると、CPU10は、条件に応じてグラフG6及びG7の描画位置を変更する。本画面例では、直線を示す数式C6及びC7のy切片の値は正であり、AはBよりも大きい値をとる条件が指定されたため、図24(d)に示すようにグラフG6及びG7の配置が変更される。
以上の処理を実行すると、CPU10は条件設定グラフ描画処理を終了する。
【0135】
以上説明したように、第5の実施の形態において、ユーザが未定義変数を含む数式を指定して、この数式に基づくグラフの描画を指示すると、関数電卓1の表示部40にグラフが描画される。また、各数式に含まれる未定義変数の大小関係等を示す条件を入力すると、描画されているグラフが条件を満たしていない場合には、表示位置が変更されるといった条件に応じたグラフの変更がなされる。
【0136】
したがって、未定義変数を含む数式に基づくグラフを表示することが可能となるだけでなく、条件を指定することによりイメージどおりの位置にグラフを表示させることができる。
【0137】
6. 第6の実施の形態
以下、第6の実施の形態について説明する。
本第6の実施の形態は、数式ウィンドウFWに入力された数式に基づくグラフをグラフウィンドウGWに描画する。また、数式ウィンドウFWに入力された数式に含まれた未定義変数の条件を示すデータが条件データ入力欄IAに入力されると、この条件を満たす全ての値を数式の未定義変数に代入する。そして、これにより得られた全データをグラフウィンドウGWに描画することにより、所定の線幅を有するグラフを描画する制御を行うものである。
【0138】
6.1 内部構成
本第6の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM650に置き換えて、ROM70をROM670に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0139】
図24は、RAM650の構成を示す図である。同図によれば、RAM650は、グラフウィンドウGWにおける表示データであるグラフデータ52、グラフを描画するためのグラフ式データ52a、グラフ式に未定義変数が含まれる場合にこの未定義変数に仮に代入される値として算出された値であるグラフ式仮代入値データ52b、数式ウィンドウFWにおける表示データである数式データ55、条件データ入力欄IAにおける表示データである条件データ56、の各データの格納領域を備える。
【0140】
図25は、ROM670の構成を示す図である。同図によれば、ROM670には、条件充足グラフ全描画処理プログラム671が格納されている。
【0141】
条件充足グラフ全描画処理プログラム671は、条件充足グラフ全描画処理(図26参照)を実現するためのプログラムである。CPU10がこの条件充足グラフ全描画処理プログラム671を実行することにより、条件充足グラフ全描画処理が実現される。
【0142】
6.2 動作
次に、第6の実施の形態における関数電卓1の動作について説明する。
図26は、条件充足グラフ全描画処理に係る関数電卓1の動作を説明するためのフローチャートであり、図27は、図26のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0143】
図26に示す条件充足グラフ全描画処理において、まずCPU10は、グラフモードをOFFからONに切り替える(ステップS601)。次いで、計算アプリケーション及びグラフアプリケーションの実行を開始して、表示部40に数式ウィンドウFW、グラフウィンドウGW、条件データ入力欄IAを表示させる(ステップS602)。そして、ユーザは、例えばキー群3により数式ウィンドウFWに未定義変数を含む数式を入力して、グラフ描画のコマンドを入力する。
【0144】
CPU10は、条件データ入力欄IAにおいて未定義変数を含む数式が入力されると(ステップS603;YES)、入力された数式を数式データ55としてRAM650に格納する(ステップS604)。次に、CPU10は、数式に基づくグラフがグラフウィンドウGWの表示範囲内に収まるように、数式に含まれた未定義変数に仮代入する値を算出して、算出した値をグラフ式仮代入値データとしてRAM650に格納する(ステップS605)。
【0145】
続いて、CPU10は、仮代入値を代入した数式からグラフデータを算出して、グラフデータ52とグラフ式データ52aをRAM650に格納する(ステップS606)。次いで、CPU10は、グラフウィンドウGWにグラフを描画する(ステップS607)。
【0146】
図27(a)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、数式ウィンドウFWに数式C8「Y=X+A」が表示され、グラフウィンドウGWには数式C8のグラフG8が表示されている。
【0147】
次いで、CPU10は、条件データ入力欄IAにおいて、数式ウィンドウFWに表示された数式に含まれる未定義変数の範囲を指定する条件が入力された場合(ステップS609:YES)、入力された条件を条件データ56としてRAM650に格納する(ステップS610)。
【0148】
次いで、CPU10は、条件データ56を充足する全ての値をグラフ式仮代入値データ52bに設定して、数式データ55にこのグラフ式仮代入値データ52bを代入して、全グラフデータを算出し、グラフデータ52及びグラフ式データ52aを更新する(ステップS611)。そして、CPU10は、グラフウィンドウGWに、ステップS611において算出した全グラフデータに基づいてグラフを描画する(ステップS612)。
【0149】
図27(b)及び(c)は、この段階において表示部40に表示される表示画面の遷移例を示す図である。図27(b)において、条件データ入力欄IAに条件J2「2>A>−1」が入力されている。CPU10は、数式ウィンドウFWに表示された数式C8「Y=X+A」の未定義変数Aに条件J2により指定された範囲の数値を代入して、図27(c)に示すように、全グラフG9(グラフ式「Y=X+2」から「Y=X−1」のグラフ)をグラフウィンドウGWに表示する。
以上の処理を実行すると、CPU10は、条件充足グラフ全描画処理を終了する。
【0150】
以上説明したように、第6の実施の形態において、ユーザは、未定義変数を含む数式を指定して、グラフ描画コマンドを入力すると、数式に基づくグラフが表示部40に表示される。また、未定義変数に代入する値の範囲を指定する条件を入力すると、この条件を満たす全てのグラフがグラフウィンドウGWに表示される。
【0151】
したがって、未定義変数を含む数式を指定してグラフを表示させることが可能になるだけでなく、グラフが描画された後に未定義変数の値の範囲を条件として入力することにより、所望の条件を満たす(所定の幅を有する)全てのグラフを表示させることができる。
【0152】
なお、例えば、図27(b)における条件として「A>−1」が入力さRた場合には、数式C8のy切片が「−1」より大きい領域を塗りつぶした様な(無限の幅としての)グラフが描画される。
【0153】
7. 第7の実施の形態
以下、第7の実施の形態について説明する。
本第7の実施の形態は、計算アプリケーションのテーブルの表示範囲設定用画面(以下、「テーブル表示範囲設定ウィンドウTRW」という。)において入力された、初期値、終端値、刻み幅、等のテーブルの表示範囲を設定するデータ(以下、「テーブル表示範囲設定データ」という。)に未定義変数が含まれる場合に、初期値からn(nは正の整数)個分のデータと、終端値からn個分のデータを算出する。そして、算出したデータを、計算アプリケーションのテーブル表示用画面(以下、「テーブルウィンドウTW」という。)に表示し、値を算出していない省略部分については、省略記号を表示する制御を行うものである。
【0154】
7.1 内部構成
本第7の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM750に置き換えて、ROM70をROM770に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0155】
図28は、RAM750の構成を示す図である。同図によれば、RAM750は、テーブル表示範囲設定ウィンドウTRWにおける表示データであるテーブル表示範囲設定データ57と、テーブルウィンドウTWにおける表示データであるテーブルデータ58と、の各データの格納領域を備える。
【0156】
図29は、ROM770の構成を示す図である。同図によれば、ROM770には、テーブル表示処理プログラム771が格納されている。
【0157】
テーブル表示処理プログラム771は、テーブル表示処理(図30参照)を実現するためのプログラムである。CPU10がこのテーブル表示処理プログラム771を実行することにより、テーブル表示処理が実現される。
【0158】
7.2 動作
次に、第7の実施の形態における関数電卓1の動作について説明する。
図30は、テーブル表示処理に係る関数電卓1の動作を説明するためのフローチャートであり、図31は、図30のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0159】
図30に示すテーブル表示処理において、まずCPU10は、テーブルモードをOFFからONに切り替える(ステップS701)。次いで、計算アプリケーションの実行を開始して、表示部40にテーブル表示範囲設定ウィンドウTRWを表示させる(ステップS702)。ユーザは、テーブル表示範囲設定ウィンドウTRWにおいて、初期値(start)、終端値(end)、刻み幅(pitch)の各値を入力して設定する。
【0160】
CPU10は、テーブル表示範囲設定ウィンドウTRWにおいてユーザにより初期値、終端値、刻み幅のデータが入力されたと判別すると(ステップS703;YES)、入力されたデータをテーブル表示範囲設定データ57としてRAM750に格納する(ステップS704)。次いで、CPU10は、テーブル表示範囲設定データ57に未定義変数が含まれるか否かを判別し(ステップS705)、未定義変数が含まれていないと判別した場合には(ステップS705;NO)、テーブル表示範囲設定データ57に基づいてテーブルデータを算出し(ステップS708)、ステップS709に移行する。
【0161】
一方、CPU10は、テーブル表示範囲設定データ57に未定義変数が含まれると判別した場合には(ステップS705;NO)、初期値からn個分のデータを算出した後(ステップS706)、終端値からn個分のデータを算出する(ステップS707)。
【0162】
次に、CPU10は、ステップS706及びS707、又はS708において算出したテーブルのデータを、テーブルデータ58としてRAM750に格納する(ステップS709)。そして、テーブルデータを表示部40に送出して、テーブルウィンドウTWにテーブルを表示させる(ステップS710)。なお、CPU10は未定義変数が含まれるテーブル表示範囲設定データに基づいてテーブルデータを算出した場合には、ステップS710において、初期値及び終端値のそれぞれからn個ずつ算出した値の間の算出していない値については、省略記号SHを表示する。
【0163】
図31(a)及び(b)は、ユーザにより指定されたテーブル表示範囲設定データ57に基づいて、テーブル表示ウィンドウTWにテーブルが表示されるまでの画面遷移を示している。図31(a)に示すように、テーブル表示範囲設定ウィンドウTRWにおいて、数式C9に「(Y=)PX」、初期値に「1」、終端値に未定義変数「A」、刻み幅に未定義変数「B」が設定された場合、CPU10は、初期値「1」からn(同図では「n=3」)個分のデータを算出するとともに、終端値「A」からn個分のデータを算出する。そして、算出したデータを、図31(b)に示すテーブルウィンドウTWに表示するとともに、省略部分には省略記号SHを表示する。
【0164】
なお、図示しないが、テーブル表示範囲設定データ57に具体的な数値が設定された場合には、省略記号SHを表示せずに、全テーブルデータを算出してテーブルウィンドウTWに表示する。仮に、図31(a)に示す数式C9「Y=PX」について、初期値「1」、終端値「10」、刻み幅「2」が指定された場合、CPU10は、Xの値「1,2,5,7,9」を表示するとともに、対応するYの値「P,2P,5P,7P,9P」をテーブルウィンドウTWに表示する。
以上の処理を実行すると、CPU10はテーブル表示処理を終了する。
【0165】
以上説明したように、第7の実施の形態において、ユーザは、テーブルの表示範囲の設定データを入力すると、設定データに未定義変数が含まれる場合にも、設定データに基づくテーブルがテーブルウィンドウTWに表示される。
【0166】
したがって、テーブルの表示範囲設定データに具体的な値を設定しない場合においても、関数電卓1によりエラー処理が実行されることなく、テーブルを表示させることが可能となる。
【0167】
8. 第8の実施の形態
以下、第8の実施の形態について説明する。
本第8の実施の形態は、テーブル表示範囲設定ウィンドウTRWにおいて入力されたテーブルの表示範囲を設定するデータ(初期値、終端値、刻み幅)に未定義変数が含まれる場合に、初期値からn(nは正の整数とする。)個分のデータと、終端値からn個分のデータを算出する。そして、算出したデータを、テーブルウィンドウTWに表示し、値を算出していない省略部分については、省略記号を表示する。更に、省略部分の表示指示が入力された場合に、省略部分の値を求めるための一般式を算出して表示する制御を行うものである。
【0168】
8.1 内部構成
本第8の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM850に置き換えて、ROM70をROM870に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0169】
図32は、RAM850の構成を示す図である。同図によれば、RAM850は、テーブル表示範囲設定ウィンドウTRWにおける表示データであるテーブル表示範囲設定データ57と、テーブルウィンドウTWにおける表示データであるテーブルデータ58と、テーブルデータ58に基づくテーブルの省略部分の値を示す一般式のデータ(以下、「一般式データ」という。)58aと、の各データの格納領域を備える。
【0170】
図33は、ROM870の構成を示す図である。同図によれば、ROM870には、テーブル選択部分表示処理プログラム871が格納されている。
【0171】
テーブル選択部分表示処理プログラム871は、テーブル選択部分表示処理(図34参照)を実現するためのプログラムである。CPU10がテーブル選択部分表示処理プログラム871を実行することにより、テーブル選択部分表示処理が実現される。
【0172】
8.2 動作
次に、第8の実施の形態における関数電卓1の動作について説明する。
図34は、テーブル選択部分表示処理に係る関数電卓1の動作を説明するためのフローチャートであり、図35は、図34のフローチャートに示す動作において表示部40に表示される表示画面の遷移例を示す図である。
【0173】
図34に示すテーブル選択部分表示処理において、まずCPU10は、テーブルモードをOFFからONに切り替える(ステップS801)。次いで、計算アプリケーションの実行を開始して、表示部40にテーブル表示範囲設定ウィンドウTRWを表示させる(ステップS802)。ユーザは、テーブル表示範囲設定ウィンドウTRWにおいて、初期値(start)、終端値(end)、刻み幅(pitch)の各値を入力して設定する。
【0174】
CPU10は、テーブル表示範囲設定ウィンドウTRWにおいてユーザにより初期値、終端値、刻み幅のデータが入力されたと判別すると(ステップS803;YES)、入力されたデータをテーブル表示範囲設定データ57としてRAM850に格納する(ステップS804)。
【0175】
図35(a)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、数式C10に「Y=PX」、初期値に「1」、終端値に未定義変数「A」、刻み幅に未定義変数「B」が設定されている。
【0176】
次いで、CPU10は、テーブル表示範囲設定データ57に未定義変数が含まれるか否かを判別し(ステップS805)、未定義変数が含まれていないと判別した場合には(ステップS805;NO)、テーブル表示範囲設定データ57に基づいてテーブルデータを算出し(ステップS808)、ステップS809に移行する。
【0177】
一方、CPU10は、テーブル表示範囲設定データ57に未定義変数が含まれると判別した場合には(ステップS805;NO)、初期値からn個分のデータを算出した後(ステップS806)、終端値からn個分のデータを算出する(ステップS807)。
【0178】
次に、CPU10は、ステップS806及びS807、又はS808において算出したテーブルのデータを、テーブルデータ58としてRAM850に格納する(ステップS809)。そして、テーブルデータを表示部40に送出して、テーブルウィンドウTWにテーブルを表示させ、テーブルの内、省略して表示する部分には省略記号SHを表示する(ステップS810)。
【0179】
図35(b)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、図35(a)の画面において設定されたテーブル表示範囲設定データに基づくテーブルが表示されている。ユーザは、キー群3を操作することによってカーソル位置を移動して、テーブルの所望の値を選択する。すると、CPU10は、カーソル位置にあるデータ(以下、「トレースデータ」という。)を反転表示して、テーブルデータTWの右下部のトレースデータ表示部TDにトレースデータ「2B+1」を表示する。
【0180】
続いて、CPU10は、ユーザによりカーソルの移動(以下、「トレース」という。)が入力されたと判別した場合に(ステップS811;YES)、トレース位置が省略記号SHの部分であるか否かを更に判別する(ステップS812)。CPU10は、省略記号SHの部分がトレースされていると判別した場合は(ステップS812;YES)、省略記号SHにカーソルを移動して反転表示するとともに、省略部分のデータの一般式を算出して、一般式データ58aとしてRAM850に格納する(ステップS813)。そして、算出した一般式をトレースデータに設定し(ステップS814)、ステップS816に移行する。
【0181】
図35(c)は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、省略記号SHの部分がトレース中であり、省略記号SHが反転表示されている。また、テーブルウィンドウTWの右下部のトレースデータ表示部TDに一般式「X=t,Y=tP」が表示されている。
【0182】
一方、CPU10は、省略記号SH以外のデータがトレースされたと判別した場合には(ステップS812;NO)、トレースデータにカーソルを移動して反転表示して、トレースデータに設定し(ステップS815)、ステップS816に移行する。
【0183】
続いて、CPU10は、トレースデータをトレースデータ表示部TDに表示する(ステップS816)。次に、CPU10は、カーソルの移動を検知したか否かを判別し(ステップS817)、カーソルの移動を検知した場合は(ステップS817:YES)、ステップS812に戻る。一方、CPU10は、カーソルの移動を検知しない場合は(ステップS817;NO)、ユーザによる終了入力の有無を更に判別する(ステップS818)。CPU10は、ユーザにより終了入力がなされた場合(ステップS818;YES)、テーブル選択部分表示処理を終了し、終了入力がなされない場合は(ステップS818;NO)、他処理を実行する。
【0184】
以上説明したように、第8の実施の形態において、ユーザがテーブル表示範囲設定データ57について数値又は未定義変数を設定すると、テーブルウィンドウTWにテーブルが表示される。また、カーソルを移動して、テーブル内の省略記号SHをトレースすると、省略記号SHの部分のデータを示す一般式が表示される。
【0185】
したがって、テーブル表示範囲設定データ57に未定義変数が含まれている場合でも、所望のテーブルを表示させてデータを確認することができる。また、テーブルの省略記号SHをトレースすると、省略部分のデータを一般式によって確認することも可能となる。
【0186】
9. 第9の実施の形態
以下、第9の実施の形態について説明する。
本第9の実施の形態は、数式ウィンドウFWにおいて入力された数式に基づいて、増減表を算出し、増減表の表示用画面(以下、「増減表ウィンドウATW」という。)に表示する。数式ウィンドウFWにおいて入力された数式に未定義変数が含まれる場合には、未定義変数の値の場合分けを行う。そして、場合分けごとに増減表を算出する。また、ユーザによる表示切替の指示に応じて、増減表ウィンドウATWにおいて、各場合分けの増減表を一つずつ切り替えて表示する制御を行うものである。
【0187】
9.1 内部構成
本第9の実施の形態における関数電卓1の構成は、上記第1の実施の形態において図2に示した関数電卓1のRAM50をRAM950に置き換えて、ROM70をROM970に置き換えた構成を有する。このため、同一の機能部には同一の符号を付し、重複する説明を省略する。
【0188】
図36は、RAM950の構成を示す図である。同図によれば、数式ウィンドウFWにおける表示データである数式データ55と、増減表ウィンドウATWにおける表示データである増減表データ59と、の各データの格納領域を備える。
【0189】
図37は、ROM970の構成を示す図である。同図によれば、ROM970には、増減表表示処理プログラム971が格納されている。
【0190】
増減表表示処理プログラム971は、増減表表示処理(図38参照)を実現するためのプログラムである。CPU10が増減表表示処理プログラム971を実行することにより増減表表示処理が実現される。
【0191】
9.2 動作
次に、第9の実施の形態における関数電卓1の動作について説明する。
図38は、増減表表示処理に係る関数電卓1の動作を説明するためのフローチャートであり、図39及び図40は、図38のフローチャートに示す動作において表示部40に表示される表示画面の一例を示す図である。
【0192】
図38に示す増減表表示処理において、まずCPU10は、増減表モードをOFFからONに切り替える(ステップS901)。次いで、計算アプリケーションの実行を開始して、表示部40に数式ウィンドウFW及び増減表ウィンドウATWを表示させる(ステップS902)。ユーザは、キー群3を使用して、数式ウィンドウFXに所望の数式を入力した後、増減表作成のコマンドを入力する。
【0193】
すると、CPU10は、数式ウィンドウFWに数式が入力されて増減表作成のコマンドが入力されたことを検知すると(ステップS903;YES)、数式を数式データ55としてRAM950に格納する(ステップS904)。
【0194】
図39は、この段階において表示部40に表示される表示画面の一例を示す図である。同図によれば、表示部40には、数式ウィンドウFW及び増減表ウィンドウATWが表示されている。また、数式ウィンドウFWには、ユーザにより入力された数式C11「Y1:(X−2)(X+1)(X−A)」が表示されている。
【0195】
次に、CPU10は、数式データ55に未定義変数が含まれるか否かを判別する(ステップS905)。CPU10は、数式データ55に未定義変数が含まれると判別した場合(ステップS905;YES)、未定義変数の場合分けを実行する(ステップS906)。次に、CPU10は、場合分けごとの増減表を算出して(ステップS907)、算出した増減表のデータを増減表データ59としてRAM950に格納する(ステップS908)。次に、CPU10は、場合分けした内の1つの増減表を増減表ウィンドウATWに表示する(ステップS909)。
【0196】
ここで、ユーザは、その他の場合分けの増減表を表示させる場合には、キー群3を使用して表示切替の指示を入力する。すると、CPU10は、表示切替の指示が入力されたか否かを判別して(ステップS910)、表示切替の指示が入力されたと判別すると(ステップS910;YES)、次の場合分けの増減表を増減表ウィンドウATWに表示する(ステップS911)。一方、CPU10は、表示切替の指示が入力されないと判別すると(ステップS910;NO)、増減表表示処理を終了する。
【0197】
図40(a)、(b)、(c)は、数式ウィンドウFWに入力された数式に未定義変数が含まれており、上記ステップS910で表示切替の指示が入力された場合に、表示部40に表示される表示画面の遷移例を示す図である。例えば、図39に示したように、数式ウィンドウFWに、未定義変数Aを含む数式C11「(X−2)(X+1)(X−A)」が入力された場合、CPU10は、「A<−1」、「−1<A<2」、「A>2」の3通りの場合分け処理を実行し、各場合分けについての増減表を作成する。「A<−1」の場合の増減表を図40(a)に、「−1<A<2」の場合の増減表を図40(b)に、「A>2」の場合の増減表を図40(c)に示す。CPU10は、表示切替の指示入力を検出するごとに、図40(a)、(b)、(c)の画面を増減表ウィンドウATWに順次表示し、更に表示切替が指示されると再度(a)の増減表を表示する。
【0198】
CPU10は、上述したステップS905において、数式データ55に未定義変数が含まれないと判別した場合(ステップS905;NO)、数式データ55に基づき増減表を算出し(ステップS912)、算出した増減表のデータを増減表データ59としてRAM950に格納する(ステップS913)。次いで、CPU10は、増減表を増減表ウィンドウATWに表示して(ステップS914)、増減表表示処理を終了する。
【0199】
以上説明したように、第9の実施の形態において、ユーザが数式を入力して増減表作成を指示するコマンドを入力すると、数式に基づく増減表が表示部40に表示される。入力した数式に未定義変数が含まれる場合には、関数電卓1により未定義変数の値について場合分け処理が実行され、場合分けごとの増減表が表示される。
【0200】
したがって、未定義変数を含む数式の増減表を関数電卓1に表示させることが可能となり、ユーザは学習等に役立てることができる。
【0201】
なお、上記第1〜第9の各実施の形態における関数電卓1の細部構成、及び細部動作に関して、本発明の趣旨を逸脱することのない範囲で適宜変更可能である。
【0202】
【発明の効果】
請求項1又はに記載の発明によれば、グラフを表示するための座標範囲に未定義変数が含まれる場合に、この未定義変数に仮値を代入して座標範囲を設定し、グラフを表示するとともに、未定義変数に仮値を代入した座標範囲にグラフを表示した後、グラフ上のトレースポインタの位置に対応する座標値を演算して表示することができるので、計算時のユーザの思考を支援し、グラフ表示機能を備えた電子機器の利便性を向上させることができる。
【0203】
請求項2に記載の発明によれば、グラフ系コマンドと座標範囲に同一の未定義変数が含まれる場合に、未定義変数に代入する値を適宜再設定して、座標範囲にグラフが収まるように表示することができる。
【0204】
請求項3に記載の発明によれば、スケール値に未定義変数が含まれる場合に、この未定義変数に仮値を代入して、スケールを表示することが可能となる。
【図面の簡単な説明】
【図1】本発明を適用した関数電卓の外観例を示す図である。
【図2】図1の関数電卓の内部構成を示すブロック図である。
【図3】第1の実施の形態におけるRAMの構成を示す図である。
【図4】第1の実施の形態におけるROMの構成を示す図である。
【図5】第1グラフ描画処理に係る関数電卓の動作を説明するためのフローチャートである。
【図6】図5のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図7】第2の実施の形態におけるRAMの構成を示す図である。
【図8】第2の実施の形態におけるROMの構成を示す図である。
【図9】第2グラフ描画処理に係る関数電卓の動作を説明するためのフロチャートである。
【図10】図9のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図11】第3の実施の形態におけるRAMの構成を示す図である。
【図12】第3の実施の形態におけるROMの構成を示す図である。
【図13】スケール表示処理に係る関数電卓の動作を示すフローチャートである。
【図14】図13のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図15】第4の実施の形態におけるRAMの構成を示す図である。
【図16】第4の実施の形態におけるROMの構成を示す図である。
【図17】グラフ表示位置指定処理に係る関数電卓の動作を示すフローチャートである。
【図18】図17のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図19】図18に示す表示画面の他の表示例を示す図である。
【図20】第5の実施の形態におけるRAMの構成を示す図である。
【図21】第5の実施の形態におけるROMの構成を示す図である。
【図22】条件設定グラフ描画処理に係る関数電卓の動作を示すフローチャートである。
【図23】図22のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図24】第6の実施の形態におけるRAMの構成を示す図である。
【図25】第6の実施の形態におけるROMの構成を示す図である。
【図26】条件充足グラフ全描画処理に係る関数電卓の動作を示すフローチャートである。
【図27】図26のフローチャートに示す動作おいて、表示部に表示される表示画面の遷移例を示す図である。
【図28】第7の実施の形態におけるRAMの構成を示す図である。
【図29】第7の実施の形態におけるROMの構成を示す図である。
【図30】テーブル表示処理に係る関数電卓の動作を示すフローチャートである。
【図31】図30のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図32】第8の実施の形態におけるRAMの構成を示す図である。
【図33】8の実施の形態におけるROMの構成を示す図である。
【図34】テーブル選択部分表示処理に係る関数電卓の動作を示すフローチャートである。
【図35】図34のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【図36】第9の実施の形態におけるRAMの構成を示す図である。
【図37】第9の実施の形態におけるROMの構成を示す図である。
【図38】増減表表示処理に係る関数電卓の動作を示すフローチャートである。
【図39】図38のフローチャートに示す動作において、表示部に表示される表示画面の一例を示す図である。
【図40】図38のフローチャートに示す動作において、表示部に表示される表示画面の遷移例を示す図である。
【符号の説明】
1 関数電卓
2 ディスプレイ
3 キー群
4 入力ペン
10 CPU
20 入力部
30 タブレット
31 位置検出回路
40 表示部
41 表示駆動回路
50,250,350,450,550,650,750,850,950 RAM
51 表示範囲設定データ
51a 表示範囲仮代入値データ
51b スケール値仮代入値データ
52 グラフデータ
52a グラフ式データ
52b グラフ式仮代入値データ
53 座標値データ
54 コマンドデータ
54a コマンド仮代入値データ
55 数式データ
56 条件データ
57 テーブル表示範囲設定データ
58 テーブルデータ
58a 一般式データ
59 増減表データ
70,270,370,470,570,670,770,870,970 ROM
71 第1グラフ描画処理プログラム
271 第2グラフ描画処理プログラム
371 スケール表示処理プログラム
372 目盛り数デフォルトデータ
471 グラフ表示位置指定処理プログラム
571 条件設定グラフ描画処理プログラム
671 条件充足グラフ全描画処理プログラム
771 テーブル表示処理プログラム
871 テーブル選択部分表示処理プログラム
971 増減表表示処理プログラム
90 記憶装置
100 記憶媒体
RW 表示範囲設定ウィンドウ
GW グラフウィンドウ
CW コマンドウィンドウ
FW 数式ウィンドウ
WW 式表示欄
IA 条件データ入力欄
TRW テーブル表示範囲設定ウィンドウ
TW テーブルウィンドウ
SH 省略記号
TD トレースデータ表示部
ATW 増減表ウィンドウ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic device having a graph display function and a program.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, an apparatus having a drawing function for drawing a geometric figure is known. For example, a scientific calculator (hereinafter referred to as “functional calculator”) having abundant functions such as a calculation function such as equation calculation, matrix calculation, and complex number calculation, a financial calculation function, and a statistical function is known. For example, the scientific calculator can display calculation results of various technical calculations using a calculation function in a graph and draw a figure of an inputted formula. Therefore, it is widely used for studying the relationship between character data such as mathematical formulas and graphs and figures in educational settings.
[0003]
Further, in the scientific calculator as described above, when displaying a graph, a function for setting a coordinate range for displaying the graph (hereinafter referred to as “display range”) to a value desired by the user is provided. Is known (see, for example, Patent Document 1).
[0004]
[Patent Document 1]
JP-A-61-261780
[0005]
[Problems to be solved by the invention]
By the way, when a user calculates a function, it is not always performed with specific numerical values in mind. For example, assuming a mathematical expression including a variable (hereinafter referred to as “undefined variable”) a in which a specific numerical value is not specified other than the axis variables X and Y, such as “Y = aX ^ 2”, The calculation is based on the shape of the graph.
[0006]
However, in a device called a scientific calculator, when a mathematical expression using an undefined variable is input, the specific value of the undefined variable is unknown, so that an operation cannot be executed, resulting in an error. For example, this is the case.
[0007]
(1) When a coordinate range (display range) is set using an undefined variable
In a conventional scientific calculator, the coordinate range (display range) can be set when a graph is drawn. However, setting a coordinate range using an undefined variable resulted in an error.
(2) When entering a mathematical expression (graph expression) that includes undefined variables
Since the specific value of the undefined variable is unknown, an error occurred when numerical operation could not be performed, and the graph could not be drawn. Of course, a graph could not be drawn even by a method of specifying numerical conditions that can be taken by undefined variables. Moreover, since undefined variables are included, the values of undefined variables are not uniquely determined, and an increase / decrease table cannot be created.
(3) When creating list data by inputting table conditions including undefined variables
If you enter a formula and then enter a table condition for creating list data, even if the formula does not contain an undefined variable, if the table condition contains an undefined variable, the list data Could not be created.
[0008]
  Therefore, the present invention provides a graph drawing function even when an input using an undefined variable is made in an electronic device having a graph display function.PaintingThe purpose is to improve the usability by supporting the user's thought at the time of calculation.
[0009]
[Means for Solving the Problems]
  In order to solve the above-described problem, an electronic device according to claim 1 includes a coordinate range input unit for inputting a coordinate range for displaying a graph, and an undefined variable in the coordinate range input by the coordinate range input unit. A determination means for determining whether or not an undefined variable is included, and when the determination means determines that an undefined variable is included in the coordinate range, a temporary value is set for the undefined variable and set. Graph display control means for performing control to display a graph for the coordinate range into which the provisional value is substituted,On the graph displayed by the graph display control means, a trace pointer display control means for performing control to display a trace pointer that moves in accordance with the movement operation, and an undefined variable is included in the coordinate range by the determination means. A coordinate value display control means for performing control to calculate the position of the trace pointer in the coordinate range using the undefined variable and display it as a coordinate value when it is determined thatIt is characterized by providing.
[0010]
  Further, as in the invention according to claim 2, in the electronic device according to claim 1, a command input means for inputting a graph command for uniquely specifying a graph expression, and a graph input by the command input means A system command and a second discriminating unit that discriminates whether or not the same undefined variable is included in the coordinate range input by the coordinate range input unit, and the graph display control unit includes the command display unit A means for performing control to display a graph of a graph type specified by a graph-type command input by the input means, and when it is determined by the second determination means that the same undefined variable is included And determining whether or not the graph of the graph formula falls within the coordinate range into which the provisional value has been substituted based on a predetermined accommodation condition, May be configured to have a means for performing control to display a graph of the receiving condition is satisfied like the reset the temporary value expression the graph.
[0011]
  Further, as in the invention described in claim 3, in the electronic device described in claim 1 or 2, the scale value input means for inputting a scale value representing a value for one unit of the scale, and the scale value input means And a third determining means for determining whether or not an undefined variable is included in the scale value input by the step, and when it is determined by the third determining means that the scale value includes an undefined variable. A scale display control unit that performs control to set a temporary value to the undefined variable and display the scale with a scale value obtained by substituting the set temporary value may be provided.
[0035]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. In the following, the case where the present invention is applied to a graph scientific calculator which is a kind of electronic apparatus having a graph display function will be described, but the present invention is not limited to this.
[0036]
FIG. 1 is a diagram showing an example of the appearance of a graph scientific calculator (hereinafter simply referred to as “functional calculator”) 1 to which the present invention is applied. According to the figure, the scientific calculator 1 includes a display 2, a key group 3, and an input pen 4. Each key constituting the key group 3 is assigned a unique function, and the user operates the scientific calculator 1 by pressing these keys. Further, a tablet (touch panel) 30 to be described later is integrally provided on the display 2, and the user can also operate the scientific calculator 1 by a touch operation on the display 2 using the input pen 4. .
[0037]
The scientific calculator 1 also includes, for example, a calculation application program (hereinafter referred to as “calculation application” as appropriate) for realizing a calculation function for calculating formulas, tables, lists, and the like, and a graph for realizing a graph drawing function. An application program (hereinafter referred to as “graph application” as appropriate) is installed.
Hereinafter, first to ninth embodiments of the scientific calculator 1 will be described with reference to the drawings.
[0038]
1. First embodiment
In the first embodiment, when an undefined variable is included in data input on a graph display range setting screen (hereinafter referred to as “display range setting window RW”) of a graph application, this undefined Assign a temporary value to the variable. Further, when an undefined variable is included in the graph expression input from the key group 3 or the like by the user, a temporary value is substituted for the undefined variable. Thereby, the display range of the graph display screen of the graph application (hereinafter referred to as “graph window GW”) is set, and the graph is drawn. Further, when a trace execution instruction is input, control is performed to display the trace pointer on the graph and display the coordinates of the trace position.
[0039]
1.1 Internal configuration
FIG. 2 is a block diagram illustrating an example of an internal configuration of the scientific calculator 1 according to the first embodiment. According to the figure, the scientific calculator 1 includes a CPU 10, an input unit 20, a tablet 30, a position detection circuit 31, a display unit 40, a display drive circuit 41, a RAM 50, a ROM 70, a storage device 90, and a storage medium 100. The
[0040]
The CPU 10 executes processing based on a predetermined program in accordance with an input instruction, performs an instruction to each function unit, data transfer, and the like, and controls the scientific calculator 1 in an integrated manner. Specifically, the CPU 10 reads a program stored in the ROM 70 in response to an operation signal input from the input unit 20 or the tablet 30, and executes processing according to the program. Then, the processing result is stored in the RAM 50, and a display signal for displaying the processing result is appropriately output to the display drive circuit 41 to display the corresponding display information on the display unit 40.
[0041]
The input unit 20 is an input device having keys necessary for inputting numerical values and mathematical formulas, selecting functions, and the like, and outputs a pressed signal of a pressed key to the CPU 10. By key input in the input unit 20, for example, instructions for starting various applications, execution of graphic drawing processing, input of mathematical expressions, execution of arithmetic processing, termination of processing and cancellation of modes, pointer operations, various selection operations, and the selection operations An input means such as a confirmation instruction is realized. The input unit 20 corresponds to the key group 3 shown in FIG.
[0042]
The scientific calculator 1 includes a tablet 30 that is a touch panel as an input device. The tablet 30 is an input device in which a device such as an instruction pen (corresponding to the input pen 4 shown in FIG. 1) that indicates a position on the display unit 40 and a device that detects the position of the specified display unit 40 are combined. It is. A position detection circuit 31 connected to the tablet 30 detects position coordinates designated by the tablet 30. If this tablet 30 is used, the position in the display part 40 can be specified finely, and the input means in the input part 20 mentioned above by the touch operation of the display part 40 using the tablet 30 is realizable.
[0043]
The display drive circuit 41 controls the display unit 40 based on a display signal input from the CPU 10 to display various screens. The display unit 40 includes an LCD (Liquid Crystal Display), an ELD (Electro Luminescent Display), or the like, and displays, for example, a display screen shown in FIG. The display unit 40 corresponds to the display 2 in FIG. 1 and is formed integrally with the tablet 30.
[0044]
The RAM 50 includes a storage area (memory) that temporarily stores various processing programs executed by the CPU 10 and data related to the execution of these programs. FIG. 3 is a diagram showing a configuration of the RAM 50 in the present embodiment.
[0045]
According to the figure, the RAM 50 displays the undefined variable when the display range setting data 51 for specifying the display range input in the display range setting window RW and the display range setting data 51 includes an undefined variable. Display range temporary substitution value data 51a which is a value calculated as a value to be substituted, graph data 52 which is dot data of a graph drawn in the graph window GW, and data of a graph formula for drawing a graph (graph formula Data) 52a, graph formula temporary substitution value data 52b, which is a value calculated as a value that is temporarily substituted for this undefined variable when the graph formula data 52a includes an undefined variable, and coordinate data of the trace position on the graph The coordinate value data 53 is an area for storing each data.
[0046]
FIG. 4 is a diagram illustrating the configuration of the ROM 70. According to the figure, the ROM 70 stores initial programs for performing various initial settings, hardware inspections, and loading necessary programs. The CPU 10 sets the operating environment of the scientific calculator 1 by executing this initial program when the scientific calculator 1 is powered on.
[0047]
The ROM 70 also implements various application programs such as a calculation application and a graph application, various processing programs related to the operation of the scientific calculator 1 such as various setting processes and various arithmetic processes, and various functions provided in the scientific calculator 1. Stores programs and data. In particular, in the present embodiment, a first graph drawing processing program 71 is stored.
[0048]
The first graph drawing processing program 71 is a program for realizing the first graph drawing processing (see FIG. 5). When the CPU 10 executes the first graph drawing processing program 71, the first graph drawing processing is realized.
[0049]
The storage device 90 includes a storage medium 100 that stores programs, data, and the like. The storage medium 100 includes a magnetic or optical storage medium or a semiconductor memory. The storage device 90 is fixedly attached or detachably mounted. The storage medium 100 stores various processing programs corresponding to the scientific calculator 1, data processed based on the various processing programs, and the like. Is stored.
[0050]
Note that the program, data, and the like stored in the storage medium 100 may be received and stored from another device connected via a communication line (not shown). In addition, the storage medium 100 and the storage device 90 may be used by transferring programs and data from other devices via a communication line.
[0051]
1.2 Operation
Next, the operation of the scientific calculator 1 in the first embodiment will be described.
FIG. 5 is a flowchart for explaining the operation of the scientific calculator 1 related to the first graph drawing process, and FIG. 6 is a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0052]
In the first graph drawing process shown in FIG. 5, first, the CPU 10 switches the graph mode from OFF to ON (step S <b> 101), and then starts execution of the graph application to display the display range setting window RW on the display unit 40. (Step S102). Then, the user inputs, for example, a numerical value or an undefined variable for setting the display range of the graph at the cursor position of the display range setting window RW using the key group 3. Then, the CPU 10 detects that data specifying the display range has been input (step S103; YES), and stores the input data in the RAM 50 as the display range setting data 51 (step S104).
[0053]
6A and 6B are diagrams showing an example of a display screen displayed on the display unit 40 at this stage. In the display range setting window RW shown in FIG. 6A, the user selects the minimum value “Xmin” of the X coordinate, the maximum value “Xmax” of the X coordinate, the minimum value “Ymin” of the Y coordinate, and the maximum value “Y” of the Y coordinate. Each value of “Ymax” is set. FIG. 6B shows an example in which the user sets undefined variables for these values. In FIG. 6B, each value of the display range is indicated by characters (undefined variables) such as “Xmin: −A”, “Xmax: A”, “Ymin: −B”, and “Ymax: B”. It is specified.
[0054]
Next, when the CPU 10 determines that the display range setting data 51 includes an undefined variable (step S105; YES), the CPU 10 calculates a value to be temporarily substituted for the undefined variable, and the calculated value is temporarily substituted for the display range. The value data 51a is stored in the RAM 50 (step S106). On the other hand, if the CPU 10 determines that the undefined variable is not included in the display range setting data 51 (step S105; NO), the CPU 10 proceeds to step S107.
[0055]
Here, the value that is temporarily assigned to the undefined variable in step S <b> 106 may be calculated based on, for example, the value of the display range when the graph window GW was previously displayed on the display unit 40. A value may be stored in advance and calculated based on this value.
[0056]
Next, when a graph expression and a graph drawing instruction are input by the user from the key group 3 or the like, the CPU 10 detects the input (step S107; YES), and the input graph expression includes an undefined variable. Is determined (step S108). If the CPU 10 determines that an undefined variable is included in the graph expression (step S108; YES), the CPU 10 calculates the value of the undefined variable to be temporarily assigned to the graph expression, and uses the calculated value as the graph expression temporary assignment value data 52b. Is stored in the RAM 50 (step S109).
[0057]
Here, as a value to be assigned to the undefined variable in step S109, for example, when the graph expression is a quadratic function or a cubic function, the singular points such as the maximum value and the minimum value of the function are the steps S104 to S104. A value that falls within the display range set in S106 may be calculated and used. In the case of a linear function, default y-intercept and x-intercept data may be stored in the ROM 70 in advance, and a value that the graph passes through this intercept may be calculated and used.
[0058]
Subsequently, the CPU 10 calculates graph type graph data (step S110), and stores the graph data 52 and the graph type data 52a in the RAM 50 (step S111). Next, the CPU 10 displays the graph window GW on the display unit 40 based on the display range setting data 51, and draws the graph (step S112).
[0059]
FIG. 6C is a diagram showing an example of the display screen at this stage. According to the figure, a graph window GW is displayed on the display unit 40, and the display range of the graph window GW is set according to the setting input by the user at the stage shown in FIG. 6B. That is, the display range of “−A” to “A” in the X-axis direction and “−B” to “B” in the Y-axis direction is displayed in the graph window GW, and the graph G1 is displayed therein. .
[0060]
Next, the CPU 10 determines whether or not a trace button TRB provided in the graph window GW has been selected and a trace execution instruction has been input (step S113). If the CPU 10 determines that no trace instruction is input (step S113; NO), the first graph drawing process ends. On the other hand, if the CPU 10 determines that a trace instruction has been input (step S113; YES), the CPU 10 performs the following processing.
[0061]
The CPU 10 determines the movement destination of the trace pointer based on each value stored in the display range temporary substitution value data 51a, the graph type data 52a, the graph type temporary substitution value data 52b, and the relative position of the trace pointer with respect to the display screen. The position coordinates are calculated (step S114). At this time, when the display range setting data 51 and the graph data 52 include an undefined variable, the CPU 10 assigns a certain value to the undefined variable. Therefore, a calculation for returning the coordinate value determined by this value to the undefined variable is performed, and the coordinate position of the movement destination of the trace pointer is calculated as a coordinate value including the undefined variable.
[0062]
Next, the CPU 10 stores the calculated position of the movement destination of the trace pointer in the RAM 50 as the coordinate value data 53 (step S115). Further, the trace pointer H1 is displayed at the trace position on the graph (step S116), and the coordinates of the trace position are displayed in the graph window GW (step S117).
[0063]
FIG. 6D is a diagram illustrating an example of the display screen of the display unit 40 at this stage. According to the figure, the graph of the formula C1 “Y2 = 1nX” is drawn in the graph window GW, and the coordinate value “X = A / 5, Y = Ln (A / 5)” of the position of the trace pointer H1. Is displayed. In the example shown in FIG. 6, since the display range setting data 51 includes undefined variables (A, B), the coordinate values shown at the time of tracing are expressed including the undefined variables.
[0064]
And CPU10 repeats the process of step S114-S117 until the movement operation of the trace pointer by a user is complete | finished (step S118; YES), and when a movement operation is complete | finished (step S118; NO), a 1st graph drawing process Exit.
[0065]
As described above, in the first embodiment, when the user designates an undefined variable or numerical value as data for setting a display range or a graph expression, a graph is drawn in the graph window GW. Even if an undefined variable is specified, the coordinate value of the trace position at the time of the trace processing is displayed using the undefined variable.
[0066]
For this reason, even when specific numerical values to be substituted into the display range or the graph formula are not determined, the graph shape can be visually confirmed in the graph window GW, and the graph can be easily imaged.
[0067]
2. Second embodiment
Hereinafter, a second embodiment will be described.
In the second embodiment, when an undefined variable is included in the display range setting data, a temporary value is substituted for the undefined variable. In addition, after the display range is set by substituting a temporary value, if the graph to be drawn cannot be displayed within the display range, the value temporarily assigned to the display range setting data is changed. Thus, control for displaying the graph within the display range is performed.
[0068]
2.1 Internal configuration
The scientific calculator 1 in the second embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with the RAM 250 and the ROM 70 is replaced with the ROM 270. For this reason, the same code | symbol is attached | subjected to the same function part and the overlapping description is abbreviate | omitted.
[0069]
FIG. 7 is a diagram illustrating the configuration of the RAM 250. According to the figure, the RAM 250 displays the display range provisional substitution that is a value that is calculated as a value that is provisionally substituted for the undefined variable when the display range setting data 51 and the display range setting data 51 include an undefined variable. Value data 51a, graph data 52, graph formula data for drawing a graph (graph formula data) 52a, and a graph application screen for inputting a graph drawing command (hereinafter referred to as “command data CW”). Storage area for each data of command temporary substitution value data 54a that is a value calculated as a value that is temporarily substituted for the undefined variable when the command data 54 and the command data 54 include an undefined variable. .
[0070]
FIG. 8 is a diagram showing the configuration of the ROM 270. According to the figure, the ROM 270 stores a second graph drawing processing program 271.
[0071]
The second graph drawing processing program 271 is a program for realizing the second graph drawing processing (see FIG. 9). When the CPU 10 executes the second graph drawing processing program 271, the second graph drawing processing is realized.
[0072]
2.2 Operation
Next, the operation of the scientific calculator 1 in the second embodiment will be described.
FIG. 9 is a flowchart for explaining the operation of the scientific calculator 1 related to the second graph drawing process. FIG. 10 is a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0073]
In the second graph drawing process shown in FIG. 9, first, the CPU 10 switches the graph mode from OFF to ON (step S201), and then starts execution of the graph application to display the display range setting window RW on the display unit 40. (Step S202). Then, the user inputs a numerical value or an undefined variable for setting the display range of the graph at the cursor position of the display range setting window RW using, for example, the key group 3. Then, the CPU 10 detects that data specifying the display range has been input (step S203; YES), and stores the input data in the RAM 250 as the display range setting data 51 (step S204).
[0074]
FIG. 10A is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. In the display range setting window RW shown in FIG. 10A, the user selects the minimum value “Xmin” of the X coordinate, the maximum value “Xmax” of the X coordinate, the minimum value “Ymin” of the Y coordinate, and the maximum value “Y” of the Y coordinate. Each value of “Ymax” is set. When the user sets undefined variables in these values, for example, characters such as “Xmin: −A”, “Xmax: A”, “Ymin: −B”, “Ymax: B” are illustrated as shown in the figure. The value is specified by (undefined variable).
[0075]
Next, when the CPU 10 determines that the display range setting data 51 includes an undefined variable (step S205; YES), the CPU 10 calculates a value to be temporarily substituted for the undefined variable, and the calculated value is temporarily substituted for the display range. The value data 51a is stored in the RAM 250 (step S206). On the other hand, when the CPU 10 determines that the undefined variable is not included in the display range setting data 51 (step S205; NO), the CPU 10 proceeds to step S207.
[0076]
Here, as the value that is temporarily substituted into the undefined variable in step S206, for example, it may be calculated and used based on the value of the display range when the previous graph window GW was displayed on the display unit 40, A default value may be stored in advance in the ROM 270 or the like, and a value calculated based on this value may be used.
[0077]
Next, the CPU 10 displays a command window CW on the display unit 40 (step S207). The user inputs command data for drawing a graph from the key group 3 or the like. Then, the CPU 10 detects that command data has been input (step S208; YES), and stores the command data 54 in the RAM 250 (step S209).
[0078]
FIG. 10B is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to the figure, a command for drawing a straight line from coordinates (A, 5) to coordinates (-B, B) is input in the command window CW.
[0079]
Next, the CPU 10 determines whether or not an undefined variable identical to the undefined variable used for setting the display range setting data is included in the command data 54 (step S210). When determining that the same undefined variable is included in the command data 54 (step S210; YES), the CPU 10 determines whether or not the display range temporary substitution value data 51a is inappropriate for the command data 54. (Step S211). When the CPU 10 determines that the display range temporary substitution value data 51a is inappropriate (step S211; YES), the CPU 10 recalculates and updates the display range temporary substitution value data 51a (step S212).
[0080]
Here, in step S211, a method for determining whether or not the display range temporary substitution value data 51a is inappropriate will be described in detail. For example, it is assumed that the display range in the X-axis direction is set to “−A to A” in step S204, and that a point is designated to be drawn at the position of the X coordinate “3” in step S209. At this time, if the display range temporary substitution value data 51a provisionally substituted for “A” is “0” or more and less than “3”, the designated point is drawn within the display range set in the display unit 40. Can not do it. Thus, when the graph instructed to be drawn by the command data 54 cannot be drawn within the display range, it is determined that the graph is inappropriate.
[0081]
Next, the CPU 10 determines whether or not other undefined variables (other than undefined variables included in the display range setting data 51) are included in the command data 54 (step S213). When the CPU 10 determines that the command data 54 includes other undefined variables (step S213; YES), the CPU 10 calculates a value to be temporarily substituted for the undefined variable and uses the calculated value as the command temporary substitution value data 54a. Is stored in the RAM 250 (step S215).
[0082]
In step S 215, a value that allows a graph based on the command data 54 to be displayed in the display range set by the display range setting data 51 is set as the command temporary substitution value. For example, when the graph instructed to be drawn by the command data 54 is a quadratic function or a cubic function, singular points such as the maximum value and the minimum value of the function fall within the display range set in steps S204 to S206. Such a value may be calculated and used. In the case of a linear function, default y-intercept and x-intercept data may be stored in the ROM 270 in advance, and a value that allows the graph to pass through this intercept may be calculated and used.
[0083]
Next, the CPU 10 calculates the graph data 52 of the graph instructed to be drawn by the command data 54, and stores the graph data 52 and the graph formula data 52a in the RAM 250 (step S215). Then, the graph window GW is displayed on the display unit 40 based on the display range setting data 51, and a graph is drawn (step S216).
[0084]
FIG. 10C is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to the figure, in the graph window GW, the drawing is instructed by a command for drawing a straight line from the coordinates (A, 5) to the coordinates (−B, B) input in the command window CW of FIG. A graph G2 is displayed within the display range.
When the above processing is executed, the CPU 10 ends the second graph drawing processing.
[0085]
As described above, in the second embodiment, even when the user specifies an undefined variable in the display range setting data or the command data 54, a desired graph is displayed in the graph window GW. In addition, the value temporarily assigned to the undefined variable in the display range is automatically changed according to the command data 54, and the graph is automatically adjusted and displayed so as to fit within the display screen.
[0086]
Therefore, even when an undefined variable or a numerical value is specified in the graph display range or the command data 54, the graph can be displayed and drawn on the scientific calculator 1. For this reason, when a specific numerical value to be substituted for the display range or the command data 54 is not determined, the graph instructed to draw by the command data 54 is surely displayed within the display range, which is convenient.
[0087]
3. Third embodiment
The third embodiment will be described below.
In the third embodiment, when an undefined variable is included in the scale value data input in the display range setting window RW, a temporary value (hereinafter referred to as “scale value temporary substitution value data”) is included in the undefined variable. "). If the display range setting data includes an undefined variable, a temporary value (hereinafter referred to as “display range temporary substitution value data”) is substituted for the undefined variable to display the graph window GW. Display control is performed, and at that time, the following processing is performed. Based on the display range temporary substitution value data, the scale value temporary substitution value data, and the data of the default scale number of a predetermined scale, control is performed to display a predetermined number of scales in the display range of the display unit. is there.
[0088]
3.1 Internal configuration
The configuration of the scientific calculator 1 in the third embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with the RAM 350, and the ROM 70 is replaced with the ROM 370. For this reason, the same code | symbol is attached | subjected to the same function part and the overlapping description is abbreviate | omitted.
[0089]
FIG. 11 is a diagram illustrating the configuration of the RAM 350. According to the figure, the RAM 350 displays a display value that is temporarily assigned to the undefined variable when the display range setting data 51 and the value that sets the display range of the display range setting data 51 include an undefined variable. When an undefined variable is included in the value for setting the scale value of the range temporary substitution value data 51a and the display range setting data 51, the scale value temporary substitution value data 51b, which is a value temporarily substituted for the undefined variable, a graph Storage areas for data 52 and graph data 52a for drawing a graph are provided.
[0090]
FIG. 12 is a diagram illustrating the configuration of the ROM 370. As shown in the drawing, the ROM 370 stores a scale display processing program 371 and default scale number data (hereinafter referred to as “scale number default data”) 372.
[0091]
The scale display processing program 371 is a program for realizing scale display processing (see FIG. 13). When the CPU 10 executes the scale display processing program 371, the scale display processing is realized.
[0092]
The scale number default data 372 is a value set in advance as the number of scale marks to be displayed in the graph window GW when the display range setting data 51 includes an undefined variable. The scale number default data 372 may be set as appropriate by the user.
[0093]
3.2 Operation
Next, the operation of the scientific calculator 1 in the third embodiment will be described.
FIG. 13 is a flowchart for explaining the operation of the scientific calculator 1 related to the scale display processing, and FIG. 14 is a diagram showing a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. It is.
[0094]
First, the scale value will be described with reference to FIG. FIG. 14A is a diagram showing an example in which a scale and a graph G3 are displayed in the graph window GW. As shown in the figure, in the graph window GW, scales are added on the X axis and the Y axis at regular intervals. The width of the value for one scale is called a scale value.
[0095]
In the scale display processing shown in FIG. 13, first, the CPU 10 switches the graph mode from OFF to ON (step S301), and then starts execution of the graph application and causes the display unit 40 to display the display range setting window RW (step S301). S302). Then, the user moves the cursor displayed on the display range setting window RW using, for example, the key group 3, selects the graph display range and the scale value input field, and inputs a numerical value or an undefined variable. Then, the CPU 10 detects that data specifying the display range and the scale value has been input (step S303; YES), and stores the input data in the RAM 370 as the display range setting data 51 (step S304).
[0096]
FIG. 14B is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. In the display range setting window RW shown in the figure, the user uses the X coordinate minimum value “Xmin”, the X coordinate maximum value “Xmax”, the Y coordinate minimum value “Ymin”, and the Y coordinate maximum value “Ymax”. Data for setting a display range to be determined and data of a scale value determined by “scale” are set. The user sets undefined variables or numerical values to these values, for example. According to the figure, the set values are “Xmin: −A”, “Xmax: A”, “Ymin: −3.1”, and “Ymax: 3.1”.
[0097]
Next, when the CPU 10 determines that the display range setting data 51 includes an undefined variable (step S305; YES), the CPU 10 proceeds to step S306.
[0098]
In step S <b> 306, the CPU 10 first reads scale number default data 372 stored in advance in the ROM 370. Then, the values of the display range temporary substitution value data 51a and the scale value temporary substitution value data 51b are calculated so that the number of scales indicated by the scale number default data 372 is displayed within the display range of the graph window GW.
[0099]
Specifically, for example, the scale number “10” is displayed in the X-axis direction of the display range, and the display range setting data 51 is “Xmax: A”, “Xmin: −A”, “Ymax: 5 ”,“ Ymin: −5 ”, and when the scale value“ scale: B ”is set, the CPU 10 determines the number of scales over the value of the width in the X-axis direction displayed in the display range, that is, 2A. Control to display “10”. Accordingly, the width of one scale, that is, the value of the scale B is “2A / 10” (“A / 5”). Therefore, when “20” is temporarily assigned to the undefined variable A, the value temporarily assigned to the undefined variable B is automatically “A / 5 = 4”.
Thus, the CPU 10 determines the display range temporary substitution value data 51a and the scale value temporary substitution value data 51b based on the scale number default data 372.
[0100]
The scale number default data 372 may store data of different scale numbers for the X-axis direction and the Y-axis direction of the graph window GW, or the same data.
[0101]
Next, the CPU 10 stores the display range temporary substitution value data 51 a and the scale value temporary substitution value data 51 b calculated in step S 306 in the RAM 350 (step S 307), and the CPU 10 based on the display range setting data 51. The graph window GW is displayed, and the scale is displayed on the screen (step S308).
[0102]
FIG. 14C is a diagram showing an example of a display screen on the display unit 40 at this stage. According to the figure, scales are displayed on the X-axis and the Y-axis in the graph window GW.
When the above processing is executed, the CPU 10 ends the scale display processing.
[0103]
As described above, in the third embodiment, even when the user designates an undefined variable for the display range or scale value of the graph window GW, error processing is not executed by the scientific calculator 1, A scale is displayed in the graph window GW.
[0104]
Therefore, since the scale is displayed in the graph window GW regardless of whether the scale value of the display range is a specific numerical value or an undefined variable, the user can efficiently learn using the graph. .
[0105]
4). Fourth embodiment
Hereinafter, a fourth embodiment will be described.
In the fourth embodiment, a formula window FW that displays a formula, a graph window GW that displays a graph, and a formula display field WW that displays a graph formula of a graph selected by the user are displayed on the display unit 40. When a graph expression including an undefined variable is input, a graph is drawn in the graph window GW by substituting a temporary value for the undefined variable. Further, when arbitrary coordinates on the graph window GW are designated by the user, the graph drawing position is changed according to the designated coordinates, and the value temporarily assigned to the undefined variable is changed. is there.
[0106]
4.1 Internal configuration
The configuration of the scientific calculator 1 in the fourth embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with the RAM 450, and the ROM 70 is replaced with the ROM 470. For this reason, the same code | symbol is attached | subjected to the same function part and the overlapping description is abbreviate | omitted.
[0107]
FIG. 15 is a diagram illustrating a configuration of the RAM 450. According to the figure, the RAM 450 displays the graph data 52, which is display data in the graph window GW, the graph formula data 52a for drawing the graph, and the graph formula data 52a when the undefined variable is included in the graph formula data 52a. Storage of each data of graph type temporary substitution value data 52b which is a value calculated as a value to be substituted, formula data 55 which is display data in the formula window FW, and figure specifying data 60 for specifying a figure to be drawn Provide an area.
[0108]
FIG. 16 is a diagram showing the configuration of the ROM 470. According to the figure, the ROM 470 stores a graph display position designation processing program 471.
[0109]
The graph display position designation processing program 471 is a program for realizing a graph display position designation process (see FIG. 17). When the CPU 10 executes the graph display position designation processing program 471, the graph display position designation process is realized.
[0110]
4.2 Operation
Next, the operation of the scientific calculator 1 in the fourth embodiment will be described.
FIG. 17 is a flowchart for explaining the operation of the scientific calculator 1 related to the graph display position designation process, and FIG. 18 is a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0111]
In the graph display position designation process shown in FIG. 17, the user designates a desired figure type using the key group 3 or the input pen 4 and specifies numerical values and characters (data for specifying the figure). (Undefined variable) etc. (hereinafter referred to as “graphic specific data”). Then, the CPU 10 detects the type of figure to be drawn (step S401), detects the input of figure specifying data (step S402), and stores it in the RAM 450 as the figure specifying data 60 (step S404).
[0112]
Next, when the CPU 10 determines that an undefined variable is included in the graphic identification data 60 (step S405; YES), the CPU 10 calculates a value to be temporarily assigned to the undefined variable, and uses the calculated value as a graph-type temporary substitution value. The data 52b is stored in the RAM 450 (step S406).
[0113]
Next, the CPU 10 calculates graph data of a graphic to be drawn, and stores the graph data 52 and the graph formula data 52a in the RAM 450 (step S407). Next, the CPU 10 sends the graph data 52 to the display unit 40 and draws the graph on the graph window GW (step S408).
[0114]
FIGS. 18A and 18B are diagrams illustrating an example of a display screen on the display unit 40 at this stage. FIG. 18A is a screen example in which the graph formula C4 is displayed in the formula window FW and the graph G4 based on the graph formula C4 is already drawn in the graph window GW. In the graph window GW, the user uses the input pen 4 to specify graphic specifying data for specifying the center and radius of the circle and input a circle drawing command. Thereby, for example, the graph expression “(x−A) ^ 2 + (y−B) ^ 2 = 4” including the undefined variables “A” and “B” is designated and stored in the RAM 450 as the graph expression data 52a. Is done.
[0115]
The CPU 10 draws the graph G5 shown in FIG. 18A according to the command and displays the pointer H10 at the center of the graph G5. In FIG. 18B, the user moves the pointer H10 of the graph G5 using the input pen 4, and inputs a command for changing the display position of the graph G5. In response to this, the CPU 10 executes the processing after step S410 described below.
[0116]
Next, when the CPU 10 detects that the coordinates on the graph are designated (step S409; YES), the CPU 10 re-uses the value of the graph-type provisional substitution value data 52b that is provisionally substituted from the designated position (coordinates) to the undefined variable. The graph formula data 52a and the graph formula temporary substitution value data 52b are updated by calculation (step S410). Further, after recalculating the graph data (step S411), the CPU 10 changes the display position of the graph (step S412). And a graph type | formula is displayed on the formula display column WW of the display part 40 (step S413).
[0117]
18C and 18D are diagrams showing an example of the display screen of the display unit 40 at this stage. As shown in FIG. 18C, when the user designates the coordinates by moving the center H10 of the graph G5 using the input pen 4, the CPU 10 changes the display position of the graph G5. After that, as shown in FIG. 18D, the graph expression of the moved graph G5 is displayed in the expression display field WW. In the formula display field WW, a graph formula C5 of the graph G5 including the undefined variables A and B is displayed.
[0118]
In addition, when a specific numerical value is set in the display range of the graph window GW, an accurate position of the graph G5 can be calculated, and therefore, as shown in FIG. 19 instead of the screen of FIG. In this way, the graph expression C5 ′ into which specific numerical values are substituted may be displayed in the expression display field WW.
[0119]
As described above, in the fourth embodiment, when the user inputs a mathematical expression including an undefined variable, a graph is drawn on the display unit 40 without performing error processing by the scientific calculator 1. Further, when an instruction to change the position of the graph is input after drawing the graph, the drawing position of the graph is changed.
[0120]
Therefore, it is possible to draw a graph based on a mathematical formula including an undefined variable and change the display position of the graph based on the coordinate position specified by the user. Therefore, the graph can be drawn at a desired position imaged by the user.
[0121]
5). Fifth embodiment
The fifth embodiment will be described below.
In the fifth embodiment, a graph based on the mathematical formula input to the mathematical formula window FW is drawn in the graph window GW. When the condition of the undefined variable included in the mathematical expression input to the mathematical formula window FW is input to the condition data input field IA, the position of the graph drawn in the graph window GW is changed according to this condition. Control is performed.
[0122]
5.1 Internal configuration
The configuration of the scientific calculator 1 in the fifth embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with the RAM 550, and the ROM 70 is replaced with the ROM 570. For this reason, the same code | symbol is attached | subjected to the same function part and the overlapping description is abbreviate | omitted.
[0123]
FIG. 20 is a diagram showing the configuration of the RAM 550. According to the figure, the RAM 550 displays the undefined variable when the graph data 52 that is the display data in the graph window GW, the graph formula data 52a for drawing the graph, and the graph formula data 52a include an undefined variable. Graph type provisional substitution value data 52b which is a value calculated as a value to be temporarily substituted into the formula data 55, which is display data in the formula window FW, and condition data 56 which is display data in the condition data input field IA. A storage area is provided.
[0124]
FIG. 21 is a diagram showing the configuration of the ROM 570. According to the figure, the ROM 570 stores a condition setting graph drawing processing program 571.
[0125]
The condition setting graph drawing processing program 571 is a program for realizing the condition setting graph drawing processing (see FIG. 22). When the CPU 10 executes the condition setting graph drawing processing program 571, the condition setting graph drawing processing is realized.
[0126]
5.2 Operation
Next, the operation of the scientific calculator 1 in the fifth embodiment will be described.
FIG. 22 is a flowchart for explaining the operation of the scientific calculator 1 related to the condition setting graph drawing process. FIG. 23 is a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0127]
In the condition setting graph drawing process shown in FIG. 22, first, the CPU 10 switches the graph mode from OFF to ON (step S501). Next, execution of the calculation application and the graph application is started, and the mathematical expression window FW, the graph window GW, and the condition data input field IA are displayed on the display unit 40 (step S502). Then, for example, the user inputs a mathematical formula including an undefined variable in the mathematical formula window FW using the key group 3 and inputs a graph drawing command.
[0128]
When the CPU 10 determines that a mathematical expression including an undefined variable is input to the mathematical formula window FW and a drawing command is designated (step S503; YES), the CPU 10 stores the input graph formula in the RAM 550 as mathematical formula data 55 (step S504). ).
[0129]
Next, the CPU 10 calculates a value to be temporarily substituted into an undefined variable in the formula so that the graph based on the formula inputted by the user fits in the display area of the graph window GW, and as the graph formula temporary substitution value data 52b. The data is stored in the RAM 550 (step S505). CPU10 calculates graph data from the numerical formula which substituted the temporary substitution value, and stores the graph data 52 and the graph formula data 52a in RAM550 (step S506). Next, the CPU 10 draws a graph in the graph window GW (step S507).
[0130]
FIGS. 23A and 23B are diagrams showing an example of transition of the display screen displayed on the display unit 40 at this stage. In the example shown in FIG. 23A, the formula C6 “Y = X + A” is displayed in the formula window FW, and the graph formula G6 of the formula C6 is displayed in the graph window GW. Further, in the example shown in FIG. 23B, the formula C7 “Y = X + B” is added to the formula window FW, and the graph G7 of the formula C7 is displayed in the graph window GW accordingly.
[0131]
Subsequently, when the condition of the undefined variable included in the formula displayed in the formula window FW is input in the condition data input field IA (step S509; YES), the CPU 10 sets the input condition as the condition data 56. The data is stored in the RAM 550 (step S510).
[0132]
Next, the CPU 10 determines whether or not the value temporarily assigned to the undefined variable in the mathematical expression in step S505 matches the condition of the condition data 56 (whether the condition is satisfied) (step S511). If the CPU 10 determines that the graph-type temporary substitution value data 52b matches the condition data 56 (step S511; YES), the condition setting graph drawing process ends.
[0133]
On the other hand, if the graph formula temporary substitution value data 52b does not match the condition data 56 (step S511; NO), the CPU 10 recalculates the graph formula temporary substitution value data 51b so as to satisfy the condition indicated by the condition data 56. Then, the graph type temporary substitution value data 51b is updated (step S512). Next, the CPU 10 calculates the graph data of the formula data 51 into which the updated graph formula temporary substitution value data 51b is substituted, and updates the graph data 52 and the graph formula data 52a (step S513). Then, the CPU 10 updates the graph drawing position in the graph window GW (step S514).
[0134]
FIGS. 23C and 23D are diagrams showing a transition example of the display screen displayed on the display unit 40 at this stage. According to FIG. 23C, the condition J1 “A> B> 0” is input by the user in the condition data input field IA. When the condition J1 is input, the CPU 10 changes the drawing positions of the graphs G6 and G7 according to the condition. In this screen example, the values of the y-intercepts of the mathematical formulas C6 and C7 indicating the straight line are positive, and the condition that A is larger than B is specified. Therefore, as shown in FIG. The arrangement of is changed.
When the above processing is executed, the CPU 10 ends the condition setting graph drawing processing.
[0135]
As described above, in the fifth embodiment, when a user designates a mathematical expression including an undefined variable and instructs to draw a graph based on this mathematical expression, the graph is drawn on the display unit 40 of the scientific calculator 1. The In addition, if you enter a condition that indicates the magnitude relationship of undefined variables included in each formula, the graph will be changed according to the condition such as the display position will be changed if the drawn graph does not satisfy the condition. Is made.
[0136]
Therefore, it is possible not only to display a graph based on a mathematical expression including an undefined variable, but also to display a graph at a position as imaged by specifying a condition.
[0137]
6). Sixth embodiment
Hereinafter, a sixth embodiment will be described.
In the sixth embodiment, a graph based on the mathematical formula input to the mathematical formula window FW is drawn in the graph window GW. In addition, when data indicating the condition of the undefined variable included in the formula input in the formula window FW is input to the condition data input field IA, all values satisfying this condition are substituted into the undefined variable of the formula. . And all the data obtained by this are drawn on the graph window GW, and the control which draws the graph which has predetermined | prescribed line | wire width is performed.
[0138]
6.1 Internal configuration
The configuration of the scientific calculator 1 in the sixth embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with the RAM 650, and the ROM 70 is replaced with the ROM 670. For this reason, the same code | symbol is attached | subjected to the same function part and the overlapping description is abbreviate | omitted.
[0139]
FIG. 24 is a diagram showing the configuration of the RAM 650. According to the figure, the RAM 650 temporarily substitutes the undefined variable when the graph data 52 which is the display data in the graph window GW, the graph formula data 52a for drawing the graph, and the graph formula includes the undefined variable. Storage area of each data of graph type temporary substitution value data 52b which is a value calculated as a calculated value, formula data 55 which is display data in the formula window FW, and condition data 56 which is display data in the condition data input field IA Is provided.
[0140]
FIG. 25 is a diagram showing the configuration of the ROM 670. According to the figure, the ROM 670 stores a condition satisfaction graph full drawing processing program 671.
[0141]
The condition satisfaction graph all drawing processing program 671 is a program for realizing the condition satisfaction graph all drawing processing (see FIG. 26). When the CPU 10 executes the condition satisfaction graph all drawing processing program 671, the condition satisfaction graph all drawing processing is realized.
[0142]
6.2 Operation
Next, the operation of the scientific calculator 1 in the sixth embodiment will be described.
FIG. 26 is a flowchart for explaining the operation of the scientific calculator 1 related to the condition satisfaction graph all drawing process, and FIG. 27 is a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0143]
In the condition satisfaction graph all drawing process shown in FIG. 26, first, the CPU 10 switches the graph mode from OFF to ON (step S601). Next, the execution of the calculation application and the graph application is started, and the mathematical expression window FW, the graph window GW, and the condition data input field IA are displayed on the display unit 40 (step S602). Then, for example, the user inputs a mathematical formula including an undefined variable in the mathematical formula window FW using the key group 3 and inputs a graph drawing command.
[0144]
When a mathematical expression including an undefined variable is input in the condition data input field IA (step S603; YES), the CPU 10 stores the input mathematical expression in the RAM 650 as mathematical expression data 55 (step S604). Next, the CPU 10 calculates a value to be temporarily substituted into an undefined variable included in the formula so that the graph based on the formula falls within the display range of the graph window GW, and the calculated value is a graph formula temporary substitution value. The data is stored in the RAM 650 (step S605).
[0145]
Subsequently, the CPU 10 calculates graph data from the mathematical formula substituted with the provisional substitution value, and stores the graph data 52 and the graph formula data 52a in the RAM 650 (step S606). Next, the CPU 10 draws a graph in the graph window GW (step S607).
[0146]
FIG. 27A is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to the figure, the formula C8 “Y = X + A” is displayed in the formula window FW, and the graph G8 of the formula C8 is displayed in the graph window GW.
[0147]
Next, when the condition designating the range of the undefined variable included in the formula displayed in the formula window FW is input in the condition data input field IA (step S609: YES), the CPU 10 sets the input condition as the condition. The data 56 is stored in the RAM 650 (step S610).
[0148]
Next, the CPU 10 sets all values satisfying the condition data 56 in the graph-type temporary substitution value data 52b, and substitutes the graph-type temporary substitution value data 52b into the formula data 55 to calculate all graph data. The graph data 52 and the graph formula data 52a are updated (step S611). Then, the CPU 10 draws a graph on the graph window GW based on the entire graph data calculated in step S611 (step S612).
[0149]
FIGS. 27B and 27C are diagrams showing a transition example of the display screen displayed on the display unit 40 at this stage. In FIG. 27B, the condition J2 “2> A> −1” is entered in the condition data input field IA. The CPU 10 substitutes the numerical value in the range specified by the condition J2 for the undefined variable A of the mathematical formula C8 “Y = X + A” displayed in the mathematical formula window FW, and as shown in FIG. (Graph from “Y = X + 2” to “Y = X−1”) is displayed in the graph window GW.
When the above processing is executed, the CPU 10 ends the condition satisfaction graph all drawing processing.
[0150]
As described above, in the sixth embodiment, when a user specifies a mathematical expression including an undefined variable and inputs a graph drawing command, a graph based on the mathematical expression is displayed on the display unit 40. When a condition for designating a range of values to be assigned to undefined variables is input, all graphs satisfying this condition are displayed in the graph window GW.
[0151]
Therefore, it is possible not only to display a graph by specifying a mathematical expression including an undefined variable, but also to input a range of undefined variable values as a condition after the graph is drawn. All the graphs that satisfy (having a predetermined width) can be displayed.
[0152]
For example, when “A> −1” is input R as the condition in FIG. 27B, an area where the y-intercept of Expression C8 is larger than “−1” is filled (with an infinite width). The graph is drawn.
[0153]
7. Seventh embodiment
The seventh embodiment will be described below.
In the seventh embodiment, a table of initial values, end values, step sizes, etc., which is input on a display range setting screen (hereinafter referred to as “table display range setting window TRW”) of a calculation application table. When an undefined variable is included in the data for setting the display range (hereinafter referred to as “table display range setting data”), the data for n (n is a positive integer) from the initial value and the end value Calculate n pieces of data. The calculated data is displayed on a table display screen (hereinafter referred to as “table window TW”) of the calculation application, and an abbreviation symbol is displayed for the omitted portion for which no value is calculated. is there.
[0154]
7.1 Internal configuration
The configuration of the scientific calculator 1 in the seventh embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with a RAM 750, and the ROM 70 is replaced with a ROM 770. For this reason, the same code | symbol is attached | subjected to the same function part and the overlapping description is abbreviate | omitted.
[0155]
FIG. 28 is a diagram showing the configuration of the RAM 750. As shown in the figure, the RAM 750 includes storage areas for data of table display range setting data 57 that is display data in the table display range setting window TRW and table data 58 that is display data in the table window TW.
[0156]
FIG. 29 is a diagram showing the configuration of the ROM 770. According to the figure, the ROM 770 stores a table display processing program 771.
[0157]
The table display processing program 771 is a program for realizing table display processing (see FIG. 30). When the CPU 10 executes the table display processing program 771, table display processing is realized.
[0158]
7.2 Operation
Next, the operation of the scientific calculator 1 in the seventh embodiment will be described.
FIG. 30 is a flowchart for explaining the operation of the scientific calculator 1 according to the table display process, and FIG. 31 is a diagram showing a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. It is.
[0159]
In the table display process shown in FIG. 30, the CPU 10 first switches the table mode from OFF to ON (step S701). Next, the execution of the calculation application is started, and the table display range setting window TRW is displayed on the display unit 40 (step S702). The user inputs and sets the initial value (start), end value (end), and step size (pitch) in the table display range setting window TRW.
[0160]
When the CPU 10 determines that the initial value, end value, and step size data have been input by the user in the table display range setting window TRW (step S703; YES), the input data is stored in the RAM 750 as the table display range setting data 57. (Step S704). Next, the CPU 10 determines whether or not an undefined variable is included in the table display range setting data 57 (step S705). If it is determined that an undefined variable is not included (step S705; NO), The table data is calculated based on the table display range setting data 57 (step S708), and the process proceeds to step S709.
[0161]
On the other hand, when the CPU 10 determines that the table display range setting data 57 includes an undefined variable (step S705; NO), the CPU 10 calculates n pieces of data from the initial value (step S706), and then the termination value. N pieces of data are calculated from (step S707).
[0162]
Next, the CPU 10 stores the table data calculated in steps S706 and S707 or S708 in the RAM 750 as the table data 58 (step S709). Then, the table data is sent to the display unit 40, and the table is displayed on the table window TW (step S710). When the CPU 10 calculates the table data based on the table display range setting data including the undefined variable, in step S710, the CPU calculates between n values calculated from the initial value and the terminal value. Ellipses SH are displayed for values that are not present.
[0163]
FIGS. 31A and 31B show screen transitions until a table is displayed in the table display window TW based on the table display range setting data 57 specified by the user. As shown in FIG. 31 (a), in the table display range setting window TRW, “(Y =) PX” in the formula C9, “1” in the initial value, undefined variable “A” in the end value, and undefined in the step size. When the definition variable “B” is set, the CPU 10 calculates n data (“n = 3” in the figure) from the initial value “1” and n data from the end value “A”. Calculate the data. Then, the calculated data is displayed in the table window TW shown in FIG. 31B, and an abbreviation symbol SH is displayed in the omitted portion.
[0164]
Although not shown, when specific numerical values are set in the table display range setting data 57, all table data is calculated and displayed on the table window TW without displaying the ellipsis SH. If the initial value “1”, the end value “10”, and the step size “2” are designated for the formula C9 “Y = PX” shown in FIG. 31A, the CPU 10 determines that the X value “1,” 2, 5, 7, 9 "and a corresponding Y value" P, 2P, 5P, 7P, 9P "is displayed in the table window TW.
When the above processing is executed, the CPU 10 ends the table display processing.
[0165]
As described above, in the seventh embodiment, when the user inputs the setting data for the table display range, the table based on the setting data is displayed in the table window TW even if the setting data includes an undefined variable. Is displayed.
[0166]
Therefore, even when a specific value is not set in the display range setting data of the table, it is possible to display the table without executing error processing by the scientific calculator 1.
[0167]
8). Eighth embodiment
The eighth embodiment will be described below.
In the eighth embodiment, when an undefined variable is included in data (initial value, terminal value, step size) for setting the table display range input in the table display range setting window TRW, n (n is a positive integer) data and n data are calculated from the end value. Then, the calculated data is displayed in the table window TW, and an ellipsis is displayed for an abbreviated portion for which no value is calculated. Further, when a display instruction for the omitted portion is input, control is performed to calculate and display a general formula for obtaining the value of the omitted portion.
[0168]
8.1 Internal configuration
The configuration of the scientific calculator 1 in the eighth embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with the RAM 850, and the ROM 70 is replaced with the ROM 870. For this reason, the same code | symbol is attached | subjected to the same function part and the overlapping description is abbreviate | omitted.
[0169]
FIG. 32 is a diagram showing the configuration of the RAM 850. According to the figure, the RAM 850 includes table display range setting data 57 that is display data in the table display range setting window TRW, table data 58 that is display data in the table window TW, and a table omission portion based on the table data 58. And a data storage area for general data (hereinafter referred to as “general data”) 58a.
[0170]
FIG. 33 is a diagram showing the configuration of the ROM 870. According to the figure, the ROM 870 stores a table selection part display processing program 871.
[0171]
The table selection portion display processing program 871 is a program for realizing the table selection portion display processing (see FIG. 34). When the CPU 10 executes the table selection part display processing program 871, the table selection part display process is realized.
[0172]
8.2 Operation
Next, the operation of the scientific calculator 1 in the eighth embodiment will be described.
FIG. 34 is a flowchart for explaining the operation of the scientific calculator 1 related to the table selection partial display processing, and FIG. 35 is a transition example of the display screen displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0173]
In the table selection partial display process shown in FIG. 34, first, the CPU 10 switches the table mode from OFF to ON (step S801). Next, the execution of the calculation application is started, and the table display range setting window TRW is displayed on the display unit 40 (step S802). In the table display range setting window TRW, the user inputs and sets the initial value (start), end value (end), and step size (pitch).
[0174]
When the CPU 10 determines that the initial value, end value, and step size data are input by the user in the table display range setting window TRW (step S803; YES), the input data is stored in the RAM 850 as the table display range setting data 57. (Step S804).
[0175]
FIG. 35A is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to the figure, “Y = PX” is set in the formula C10, “1” is set as the initial value, the undefined variable “A” is set as the end value, and the undefined variable “B” is set as the step size.
[0176]
Next, the CPU 10 determines whether or not an undefined variable is included in the table display range setting data 57 (step S805). If it is determined that an undefined variable is not included (step S805; NO), The table data is calculated based on the table display range setting data 57 (step S808), and the process proceeds to step S809.
[0177]
On the other hand, if the CPU 10 determines that the table display range setting data 57 includes an undefined variable (step S805; NO), after calculating n data from the initial value (step S806), the termination value N pieces of data are calculated (step S807).
[0178]
Next, the CPU 10 stores the table data calculated in steps S806 and S807 or S808 in the RAM 850 as the table data 58 (step S809). Then, the table data is sent to the display unit 40, the table is displayed in the table window TW, and the abbreviation symbol SH is displayed in the portion of the table that is omitted and displayed (step S810).
[0179]
FIG. 35B is a diagram illustrating an example of a display screen displayed on the display unit 40 at this stage. According to the figure, a table based on the table display range setting data set on the screen of FIG. 35A is displayed. The user moves the cursor position by operating the key group 3, and selects a desired value in the table. Then, the CPU 10 reverse-displays data at the cursor position (hereinafter referred to as “trace data”), and displays the trace data “2B + 1” on the trace data display section TD at the lower right of the table data TW.
[0180]
Subsequently, when the CPU 10 determines that a cursor movement (hereinafter referred to as “trace”) is input by the user (step S811; YES), the CPU 10 further determines whether or not the trace position is a portion of the ellipsis SH. A determination is made (step S812). If the CPU 10 determines that the portion of the ellipsis SH has been traced (step S812; YES), the CPU 10 moves the cursor to the ellipsis SH and highlights it, and calculates a general expression for the data of the omitted portion. Then, it is stored in the RAM 850 as general formula data 58a (step S813). Then, the calculated general formula is set in the trace data (step S814), and the process proceeds to step S816.
[0181]
FIG. 35C is a diagram showing an example of a display screen displayed on the display unit 40 at this stage. According to the figure, the portion of the ellipsis SH is being traced, and the ellipsis SH is highlighted. The general formula “X = t, Y = tP” is displayed in the trace data display part TD at the lower right of the table window TW.
[0182]
On the other hand, if the CPU 10 determines that data other than the ellipsis SH has been traced (step S812; NO), it moves the cursor to the trace data, highlights it, and sets the trace data (step S815). The process proceeds to step S816.
[0183]
Subsequently, the CPU 10 displays the trace data on the trace data display unit TD (step S816). Next, the CPU 10 determines whether or not the movement of the cursor is detected (step S817). If the movement of the cursor is detected (step S817: YES), the CPU 10 returns to step S812. On the other hand, when the movement of the cursor is not detected (step S817; NO), the CPU 10 further determines whether or not there is an end input by the user (step S818). CPU10 complete | finishes a table selection part display process, when an end input is made by the user (step S818; YES), and when an end input is not made (step S818; NO), it performs another process.
[0184]
As described above, in the eighth embodiment, when the user sets a numerical value or an undefined variable for the table display range setting data 57, a table is displayed in the table window TW. When the cursor is moved and the ellipsis SH in the table is traced, a general formula indicating the data of the ellipsis SH is displayed.
[0185]
Therefore, even when an undefined variable is included in the table display range setting data 57, the desired table can be displayed and the data can be confirmed. Further, when the ellipsis SH in the table is traced, the data of the omitted part can be confirmed by a general formula.
[0186]
9. Ninth embodiment
The ninth embodiment will be described below.
In the ninth embodiment, an increase / decrease table is calculated on the basis of the mathematical formula input in the mathematical formula window FW, and is displayed on the increase / decrease table display screen (hereinafter referred to as “increase / decrease table window ATW”). When an undefined variable is included in the mathematical formula input in the mathematical formula window FW, the value of the undefined variable is classified. Then, an increase / decrease table is calculated for each case classification. Further, in accordance with a display switching instruction from the user, control is performed to switch and display the increase / decrease table for each case one by one in the increase / decrease table window ATW.
[0187]
9.1 Internal configuration
The configuration of the scientific calculator 1 in the ninth embodiment has a configuration in which the RAM 50 of the scientific calculator 1 shown in FIG. 2 in the first embodiment is replaced with the RAM 950, and the ROM 70 is replaced with the ROM 970. For this reason, the same code | symbol is attached | subjected to the same function part and the overlapping description is abbreviate | omitted.
[0188]
FIG. 36 is a diagram showing the configuration of the RAM 950. According to the figure, there is a storage area for each data of formula data 55 that is display data in the formula window FW and increase / decrease table data 59 that is display data in the increase / decrease table window ATW.
[0189]
FIG. 37 is a diagram showing the configuration of the ROM 970. According to the figure, the ROM 970 stores an increase / decrease table display processing program 971.
[0190]
The increase / decrease table display processing program 971 is a program for realizing the increase / decrease table display processing (see FIG. 38). The CPU 10 executes the increase / decrease table display processing program 971, thereby realizing the increase / decrease table display processing.
[0191]
9.2 Operation
Next, the operation of the scientific calculator 1 in the ninth embodiment will be described.
FIG. 38 is a flowchart for explaining the operation of the scientific calculator 1 related to the increase / decrease table display processing. FIGS. 39 and 40 are examples of display screens displayed on the display unit 40 in the operation shown in the flowchart of FIG. FIG.
[0192]
In the increase / decrease table display process shown in FIG. 38, first, the CPU 10 switches the increase / decrease table mode from OFF to ON (step S901). Next, the execution of the calculation application is started, and the mathematical expression window FW and the increase / decrease table window ATW are displayed on the display unit 40 (step S902). The user uses the key group 3 to input a desired mathematical formula in the mathematical formula window FX and then inputs a command for creating an increase / decrease table.
[0193]
Then, when the CPU 10 detects that a mathematical formula has been entered in the mathematical formula window FW and a command for creating an increase / decrease table has been entered (step S903; YES), the CPU 10 stores the mathematical formula as mathematical formula data 55 in the RAM 950 (step S904).
[0194]
FIG. 39 is a diagram showing an example of a display screen displayed on the display unit 40 at this stage. According to the figure, the display unit 40 displays a mathematical expression window FW and an increase / decrease table window ATW. The mathematical formula window FW displays a mathematical formula C11 “Y1: (X−2) (X + 1) (X−A)” input by the user.
[0195]
Next, the CPU 10 determines whether or not an undefined variable is included in the mathematical formula data 55 (step S905). When the CPU 10 determines that the undefined variable is included in the mathematical formula data 55 (step S905; YES), the CPU 10 executes the case classification of the undefined variable (step S906). Next, the CPU 10 calculates an increase / decrease table for each case (step S907), and stores the calculated increase / decrease table data in the RAM 950 as the increase / decrease table data 59 (step S908). Next, the CPU 10 displays one increase / decrease table among the divided cases in the increase / decrease table window ATW (step S909).
[0196]
Here, the user inputs an instruction to switch display using the key group 3 when displaying the increase / decrease table according to other cases. Then, the CPU 10 determines whether or not a display switching instruction has been input (step S910). If the CPU 10 determines that a display switching instruction has been input (step S910; YES), the CPU 10 increases or decreases the increase / decrease table for the next case. The information is displayed on the front window ATW (step S911). On the other hand, when the CPU 10 determines that the display switching instruction is not input (step S910; NO), the CPU 10 ends the increase / decrease table display process.
[0197]
40 (a), (b), and (c) show the display unit when an undefined variable is included in the mathematical formula input to the mathematical formula window FW and a display switching instruction is inputted in step S910. FIG. 14 is a diagram showing a transition example of a display screen displayed on 40. For example, as shown in FIG. 39, when a mathematical formula C11 “(X−2) (X + 1) (X−A)” including an undefined variable A is input to the mathematical formula window FW, the CPU 10 determines that “A < −1 ”,“ −1 <A <2 ”, and“ A> 2 ”are executed, and an increase / decrease table for each case is created. FIG. 40A shows an increase / decrease table in the case of “A <−1”, FIG. 40B shows an increase / decrease table in the case of “−1 <A <2”, and an increase / decrease table in the case of “A> 2”. Is shown in FIG. Each time the CPU 10 detects a display switching instruction input, the CPU 10 sequentially displays the screens of FIGS. 40A, 40B, and 40C in the increase / decrease table window ATW. ) Increase / decrease table.
[0198]
If the CPU 10 determines that the undefined variable is not included in the formula data 55 in step S905 described above (step S905; NO), the CPU 10 calculates an increase / decrease table based on the formula data 55 (step S912), and the calculated increase / decrease table. Is stored in the RAM 950 as the increase / decrease table data 59 (step S913). Next, the CPU 10 displays the increase / decrease table in the increase / decrease table window ATW (step S914), and ends the increase / decrease table display process.
[0199]
As described above, in the ninth embodiment, when the user inputs a formula and inputs a command for instructing creation of the increase / decrease table, the increase / decrease table based on the formula is displayed on the display unit 40. When an undefined variable is included in the input mathematical formula, the scientific calculator 1 executes case classification processing for the value of the undefined variable, and an increase / decrease table for each case classification is displayed.
[0200]
Therefore, an increase / decrease table of mathematical formulas including undefined variables can be displayed on the scientific calculator 1, and the user can use it for learning and the like.
[0201]
The detailed configuration and detailed operation of the scientific calculator 1 in each of the first to ninth embodiments can be changed as appropriate without departing from the spirit of the present invention.
[0202]
【The invention's effect】
  Claim 1 or4According to the invention described in the above, when an undefined variable is included in the coordinate range for displaying the graph, the coordinate range is set by substituting a temporary value for the undefined variable, and the graph is displayed.In addition, after displaying the graph in the coordinate range where the temporary value is assigned to the undefined variable, the coordinate value corresponding to the position of the trace pointer on the graph can be calculated and displayed.It is possible to support the user's thought at the time of calculation and improve the convenience of the electronic device having the graph display function.
[0203]
  According to invention of Claim 2,When the same undefined variable is included in the graph command and the coordinate range, the value to be assigned to the undefined variable can be reset as appropriate so that the graph fits in the coordinate range.
[0204]
  According to invention of Claim 3,When an undefined variable is included in the scale value, a scale can be displayed by substituting a temporary value for the undefined variable.
[Brief description of the drawings]
FIG. 1 is a diagram showing an example of the appearance of a scientific calculator to which the present invention is applied.
FIG. 2 is a block diagram showing an internal configuration of the scientific calculator of FIG.
FIG. 3 is a diagram illustrating a configuration of a RAM according to the first embodiment.
FIG. 4 is a diagram showing a configuration of a ROM in the first embodiment.
FIG. 5 is a flowchart for explaining the operation of the scientific calculator related to the first graph drawing process;
6 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG.
FIG. 7 is a diagram illustrating a configuration of a RAM according to a second embodiment.
FIG. 8 is a diagram illustrating a configuration of a ROM in a second embodiment.
FIG. 9 is a flowchart for explaining the operation of the scientific calculator related to the second graph drawing process;
10 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG.
FIG. 11 is a diagram illustrating a configuration of a RAM according to a third embodiment.
FIG. 12 is a diagram illustrating a configuration of a ROM according to a third embodiment.
FIG. 13 is a flowchart showing the operation of the scientific calculator related to the scale display process.
14 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG.
FIG. 15 is a diagram illustrating a configuration of a RAM according to a fourth embodiment.
FIG. 16 is a diagram showing a configuration of a ROM in the fourth embodiment.
FIG. 17 is a flowchart showing the operation of the scientific calculator related to the graph display position specifying process.
18 is a diagram showing a transition example of the display screen displayed on the display unit in the operation shown in the flowchart of FIG.
FIG. 19 is a diagram showing another display example of the display screen shown in FIG.
FIG. 20 is a diagram illustrating a configuration of a RAM according to a fifth embodiment.
FIG. 21 is a diagram illustrating a configuration of a ROM in a fifth embodiment.
FIG. 22 is a flowchart showing the operation of the scientific calculator related to the condition setting graph drawing process.
23 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG.
FIG. 24 is a diagram illustrating a configuration of a RAM according to a sixth embodiment.
FIG. 25 is a diagram showing a configuration of a ROM in the sixth embodiment.
FIG. 26 is a flowchart illustrating an operation of a scientific calculator related to a condition satisfaction graph full drawing process.
27 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG.
FIG. 28 is a diagram illustrating a configuration of a RAM according to a seventh embodiment.
FIG. 29 is a diagram showing a configuration of a ROM in a seventh embodiment.
FIG. 30 is a flowchart showing an operation of a scientific calculator related to table display processing.
FIG. 31 is a diagram showing a transition example of the display screen displayed on the display unit in the operation shown in the flowchart of FIG. 30;
FIG. 32 is a diagram illustrating a configuration of a RAM according to an eighth embodiment.
FIG. 33 is a diagram showing a structure of a ROM in the eighth embodiment.
FIG. 34 is a flowchart showing the operation of a scientific calculator related to table selection partial display processing.
35 is a diagram showing a transition example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG. 34. FIG.
FIG. 36 is a diagram illustrating a configuration of a RAM according to a ninth embodiment.
FIG. 37 is a diagram showing a configuration of a ROM in a ninth embodiment.
FIG. 38 is a flowchart showing the operation of the scientific calculator related to the increase / decrease table display process.
FIG. 39 is a diagram showing an example of a display screen displayed on the display unit in the operation shown in the flowchart of FIG.
40 is a diagram showing a transition example of the display screen displayed on the display unit in the operation shown in the flowchart of FIG. 38. FIG.
[Explanation of symbols]
1 Scientific calculator
2 display
3 key group
4 Input pen
10 CPU
20 Input section
30 tablets
31 Position detection circuit
40 display section
41 Display drive circuit
50, 250, 350, 450, 550, 650, 750, 850, 950 RAM
51 Display range setting data
51a Display range temporary substitution value data
51b Scale value temporary substitution value data
52 Graph data
52a Graph data
52b Graphical temporary substitution data
53 Coordinate value data
54 Command data
54a Command temporary substitution value data
55 Formula data
56 Condition data
57 Table display range setting data
58 Table data
58a General formula data
59 Increase / decrease table data
70, 270, 370, 470, 570, 670, 770, 870, 970 ROM
71 First graph drawing processing program
271 Second graph drawing processing program
371 Scale display processing program
372 Scale default data
471 Graph display position specification processing program
571 Condition setting graph drawing processing program
671 Condition Satisfaction Graph All Drawing Processing Program
771 Table display processing program
871 Table selection part display processing program
971 Increase / decrease table display processing program
90 storage device
100 storage media
RW display range setting window
GW graph window
CW command window
FW formula window
WW type display column
IA condition data input field
TRW table display range setting window
TW table window
SH ellipsis
TD Trace data display section
ATW increase / decrease table window

Claims (4)

グラフを表示するための座標範囲を入力する座標範囲入力手段と、
この座標範囲入力手段により入力された座標範囲に未定義変数が含まれているか否かを判別する判別手段と、
この判別手段により前記座標範囲に未定義変数が含まれていると判別された場合に、当該未定義変数に仮値を設定して、設定した仮値を代入した座標範囲についてグラフを表示する制御を行うグラフ表示制御手段と、
このグラフ表示制御手段により表示されたグラフ上に、移動操作に応じて移動するトレースポインタを表示する制御を行うトレースポインタ表示制御手段と、
前記判別手段により前記座標範囲に未定義変数が含まれていると判別された場合に、前記座標範囲中の前記トレースポインタの位置を前記未定義変数を用いて演算し、座標値として表示する制御を行う座標値表示制御手段と、
を備えることを特徴とするグラフ表示機能付き電子機器。
A coordinate range input means for inputting a coordinate range for displaying a graph;
Determining means for determining whether or not an undefined variable is included in the coordinate range input by the coordinate range input means;
Control by which a temporary value is set for the undefined variable and a graph is displayed for the coordinate range to which the set temporary value is substituted when it is determined by the determining means that the coordinate range includes an undefined variable. Graph display control means for performing
On the graph displayed by the graph display control means, trace pointer display control means for performing control to display a trace pointer that moves in accordance with the movement operation;
Control for calculating the position of the trace pointer in the coordinate range using the undefined variable and displaying it as a coordinate value when it is determined by the determining means that the coordinate range includes an undefined variable Coordinate value display control means for performing,
An electronic device with a graph display function, comprising:
グラフ式を一意に特定するためのグラフ系コマンドを入力するコマンド入力手段と、
このコマンド入力手段により入力されたグラフ系コマンド、及び前記座標範囲入力手段により入力された座標範囲に同一の未定義変数が含まれているか否かを判別する第2判別手段と、
を更に備え、
前記グラフ表示制御手段は、前記コマンド入力手段により入力されたグラフ系コマンドによって特定されたグラフ式のグラフを表示する制御を行う手段であって、前記第2判別手段により同一の未定義変数が含まれていると判別された場合に、当該グラフ式のグラフが、前記仮値を代入した座標範囲に収まるか否かを所定の収容条件に基づいて判定して、収まっていないと判定されたときに前記収容条件を満たす様に仮値を再設定して当該グラフ式のグラフを表示する制御を行う手段を有する、ことを特徴とする請求項記載の電子機器。
Command input means for inputting a graph command for uniquely specifying a graph expression;
A second discriminating unit that discriminates whether or not the same undefined variable is included in the graph range command input by the command input unit and the coordinate range input by the coordinate range input unit;
Further comprising
The graph display control unit is a unit that performs control to display a graph of a graph type specified by a graph command input by the command input unit, and includes the same undefined variable by the second determination unit. When it is determined that the graph is within the coordinate range to which the provisional value is assigned, based on a predetermined accommodation condition the electronic apparatus according to claim 1, wherein said housing has a means for controlling the condition is satisfied like the reset the temporary value to display a graph of the graph formula, it is characterized in.
スケールの1単位分の値を表すスケール値を入力するスケール値入力手段と、
このスケール値入力手段により入力されたスケール値に未定義変数が含まれているか否かを判別する第3判別手段と、
この第3判別手段により前記スケール値に未定義変数が含まれていると判別された場合に、当該未定義変数に仮値を設定して、設定した仮値を代入したスケール値でスケールを表示する制御を行うスケール表示制御手段と、
を備えることを特徴とする請求項1又は2に記載の電子機器。
A scale value input means for inputting a scale value representing a value for one unit of the scale;
Third determination means for determining whether or not an undefined variable is included in the scale value input by the scale value input means;
If it is determined by the third determining means that the scale value contains an undefined variable, a temporary value is set for the undefined variable, and the scale is displayed with the scale value substituted with the set temporary value. Scale display control means for performing control, and
The electronic device according to claim 1 or 2, characterized in that it comprises a.
コンピュータに、
グラフを表示するための座標範囲を入力する座標範囲入力機能と、
この座標範囲入力機能により入力された座標範囲に未定義変数が含まれているか否かを判別する判別機能と、
この判別機能により前記座標範囲に未定義変数が含まれていると判別された場合に、当該未定義変数に仮値を設定して、設定した仮値を代入した座標範囲についてグラフを表示する制御を行うグラフ表示制御機能と、
このグラフ表示制御機能により表示されたグラフ上に、移動操作に応じて移動するトレースポインタを表示する制御を行うトレースポインタ表示制御機能と、
前記判別機能により前記座標範囲に未定義変数が含まれていると判別された場合に、前記座標範囲中の前記トレースポインタの位置を前記未定義変数を用いて演算し、座標値として表示する制御を行う座標値表示制御機能と、
を実現させるためのプログラム。
On the computer,
A coordinate range input function for inputting a coordinate range for displaying a graph;
A determination function for determining whether or not an undefined variable is included in the coordinate range input by the coordinate range input function;
Control that displays a graph for the coordinate range in which a temporary value is set for the undefined variable and the set temporary value is substituted when it is determined by the determination function that the coordinate range includes an undefined variable. A graph display control function for performing
A trace pointer display control function for performing control to display a trace pointer that moves in accordance with the movement operation on the graph displayed by the graph display control function;
Control for calculating the position of the trace pointer in the coordinate range using the undefined variable and displaying it as a coordinate value when it is determined by the determination function that the coordinate range includes an undefined variable Coordinate value display control function to perform
A program to realize
JP2002379156A 2002-12-27 2002-12-27 Electronic device and program Expired - Fee Related JP3972815B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002379156A JP3972815B2 (en) 2002-12-27 2002-12-27 Electronic device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002379156A JP3972815B2 (en) 2002-12-27 2002-12-27 Electronic device and program

Publications (2)

Publication Number Publication Date
JP2004213139A JP2004213139A (en) 2004-07-29
JP3972815B2 true JP3972815B2 (en) 2007-09-05

Family

ID=32815738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002379156A Expired - Fee Related JP3972815B2 (en) 2002-12-27 2002-12-27 Electronic device and program

Country Status (1)

Country Link
JP (1) JP3972815B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613754B2 (en) * 2005-04-15 2009-11-03 Microsoft Corporation Contemporaneous symbolic and numeric presentation

Also Published As

Publication number Publication date
JP2004213139A (en) 2004-07-29

Similar Documents

Publication Publication Date Title
US7289120B2 (en) Graphic display control apparatus and program
CN101840389B (en) Electronic computer and method of controlling the same
EP0034506A2 (en) Image display system
EP1986089A2 (en) Mobile communication terminal for controlling display information
EP2237230B1 (en) Graph display control apparatus and graph display control method
JP2000155745A (en) Electronic devices and storage media
JP3972815B2 (en) Electronic device and program
US20090058858A1 (en) Electronic apparatus having graph display function
JP4174893B2 (en) Graph display control device and storage medium
JP4244434B2 (en) Inequality processing apparatus and storage medium
JP2005071147A (en) Graph display control device and program
WO2017199997A1 (en) Map display system and map display program
JP3969306B2 (en) Graph display control device and program
JP4168977B2 (en) Graph display control device and graph display control program
JP4811177B2 (en) Graph display device and graph display processing program
JP4325591B2 (en) Graph display device and graph display processing program
US20250131621A1 (en) Graph display device, display control method, and program
JP2004126665A (en) Formula display control device and program
JP2000132516A (en) Computing device and storage medium
JP2000200339A (en) Group diagram display control device and storage medium
JP3711417B2 (en) Graph display device and graph display method
JP2001092789A (en) Computing device and storage medium
KR100772505B1 (en) Input device and method using touch screen
JPH02250178A (en) Graphic generator
JPH0991008A (en) Input device for programmable controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050831

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070123

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: 20070522

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070604

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3972815

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100622

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110622

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110622

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120622

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120622

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130622

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees