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

Graph display control device and graph display control method

Info

Publication number
JP2797096B2
JP2797096B2 JP60098925A JP9892585A JP2797096B2 JP 2797096 B2 JP2797096 B2 JP 2797096B2 JP 60098925 A JP60098925 A JP 60098925A JP 9892585 A JP9892585 A JP 9892585A JP 2797096 B2 JP2797096 B2 JP 2797096B2
Authority
JP
Japan
Prior art keywords
graph
data
display
function formula
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60098925A
Other languages
Japanese (ja)
Other versions
JPS61256380A (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 JP60098925A priority Critical patent/JP2797096B2/en
Publication of JPS61256380A publication Critical patent/JPS61256380A/en
Application granted granted Critical
Publication of JP2797096B2 publication Critical patent/JP2797096B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] 発明は、表示画面上に双曲線、放物線、正弦曲線、直
線等のグラフを表示するグラフ表示制御装置及びグラフ
表示制御方法に関するものである。 [従来技術] 従来、このようなグラフ表示制御装置としては、パー
ソナルコンピュータ等においてグラフを描くプログラム
を作成してデータを入力することによりディスプレイ上
にグラフを描かせるものが実現化されている。 [従来技術の問題点] しかしながら、このようなものではわざわざグラフを
描くためのプログラムを作成しなくてはならず、たいへ
ん面倒であった。 [発明の目的] そこで、本発明の目的は、簡単なキー操作でグラフを
自動的に表示でき、しかも複数のグラフを同一画面上に
同時に表示可能なグラフ表示制御装置及びグラフ表示制
御方法を提供することすることにある。 [発明の要点] この目的を達成するため、本発明は、入力された関数
式データのグラフを構成する座標データをいちいち手動
入力することなく自動的に算出し、その算出した座標デ
ータに対応する各点を順次表示させるとともに、新たに
関数式データが入力されたときは、新たな関数式データ
に対応する座標データを自動的に算出し、その算出した
座標データに対応する各点を新たなグラフとして既に表
示されているグラフに重ねて順次表示させるようにした
ことを要点とするものである。 [実施例の構成]4 以下本発明の一実施例につき図面を参照して詳述す
る。第1図はグラフ表示機能を備えた小型電子式計算機
の全体回路図を示すもので、図中1はキー入力部であっ
て、このキー入力部1にはエグゼ(EXE)キー2、レン
ジ(Range)キー3、グラフ(Graph)キー4の他、置数
アルファベットキー5、ファンションキー6が設けられ
ている。 エグゼキー2は、データ算出のための数値計算や後述
するグラフ表示の範囲の決定を行なわせるキーであり、
レンジキー3は、表示画面上に描かれるグラフの表示範
囲を設定するレンジモードに切り換えるキーであり、グ
ラフキー4は、表示画面上にグラフを表示するグフモー
ドに切り換え、グラフ式を設定するキーであり、置数ア
ルファベットキー5は、グラフを描く関数や上記グラフ
の表示範囲を決定するレンジデータを入力するのに用い
られ、ファンクションキー6は演算処理にあたっての各
種モードを設定するのに用いられる。このキー入力部1
より入力されたデータは、制御部7を通じて記憶部8に
プリセットされる。 記憶部8には、データ記憶部9、前回プロット、今回
プロット、Xmin、Xmax、Xscale、Ymin、Ymax、Yscale
メモリ、Yメモリの各レジスタ10〜19、演算バッファ
20、演算データ記憶部21が設けられている。 データ記憶部9には、演算前のデータが記憶され、演
算データ記憶部21には、演算後の結果データが記憶され
ている。 上記レジスタ10〜19、演算バッファ20は、グラフを描
くためのものであり、このグラフは与えられる数式より
順次算出されたX軸及びY軸の原点を基準とした真正座
標データ(X,Y)を、表示画面上の左下隅の基準点を基
準とした表示座標データ(x,y)に変換して描かれる。
前回プロット、今回プロットは、xの値を1、2、3・
・・と順次インクリメントして対応するyの値を求めて
グラフを描いていくにあたって、前回求められた表示座
標地点(x0,y0)と、今回求めた表示座標データ(x,y)
とを示し、Xメモリ、Yメモリは、数式から算出した上
記真正座標データ(X,Y)を示し、演算バッファ20に
は、この真正座標データ(X,Y)を変換した上記表示座
標データ(x,y)がプリセットされる。Xmin、Xman、X
scale、Ymin、Ymax、Yscaleは、上記表示画面上のグラ
フの表示範囲を示すレンジデータを示すもので、Xmin
Xmaxは、X軸の表示画面上の左端、右端の行におけるX
の値を示し、Ymin、Ymaxは、同じくY軸の表示画面上の
下端、上端の列におけるYの値を示し、Xscale、Yscale
は、X軸、Y軸の表示画面上の目盛幅を示している。 上記キー入力部1より入力された数式データF(X)
は、制御部7によって数式バッファ22にプリセットさ
れ、この数式に基いて演算部23で上述したグラフ演算が
行なわれ上記記憶部8の前回プロット、今回プロット、
メモリ、Yメモリの各レジスタ10、11、18、19や演算
バッファ20にその結果データがプリセットされるととも
に、前回プロット、今回プロットの座標データ及びこの
前回プロットと今回プロットを結ぶ各座標データからな
るグラフ表示用データが演算部23から表示バッファ部24
のグラフ表示バッファ25に順次プリセットされていく。
また上記数式バッファ22内の数式データF(X)は、演
算部23を通じて表示バッファ部24内のテキスト表示バッ
ファ26にプリセットされる。この表示バッファ部24内の
グラフ表示用データ及び数式データF(X)は、制御部
7からの切り換え信号によっていずれかが選択され表示
部27に表示される。この表示部27は例えば96×64のビッ
トマトリックス表示方式の液晶表示装置であり、上記グ
ラフィック表示バッファ25及びテキスト表示バッファ26
は、上記表示部27に対応して96×64ビットのドットエリ
アを有し、表示を行なうドットエリアに「1」を立て
る。表示バッファ部24へのこれらデータのプリセット
は、制御部7によって歩進されるデータ記憶部9内のア
ドレスデータに基いて行なわれ、このアドレスデータは
表示バッファ部24のアドレスデコーダ28でデコードされ
て各バッファ25、26に対するアドレス指定が行なわれて
いく。 [実施例の動作] 次に本実施例の動作につき、第2図を参照して説明す
る。 グラフ表示を行なうには、まずレンジキー3を操作し
てレンジモードとし、グラフの表示範囲を示すレンジデ
ータXmin、Xman、Xscale、Ymin、Ymax、Yscaleを置数ア
ルファベットキー5で入力する。すると制御部7は、こ
れらレンジデータを記憶部8の各レジスタ12〜17にプリ
セットし(ステップA1)、演算バッファ20の表示x座標
として「1」をセットし(ステップA2)、グラフキー4
の操作があるまで待機する(ステップA3)。そして制御
部7は、キー入力部1より数式データF(X)例えばX2
の入力があると、その数式データF(X)=X2を数式バ
ッファ22にプリセットし(ステップA4)、上記表示部27
の左下隅を基準とする表示x座標「1」を X=(Xman−Xmin)(x−1)/(M−1)+Xmin に代入して原点を基準とする真正X座標に変換して(ス
テップA5)、このXの値をXメモリレジスタ18にプリセ
ットする(ステップA6)。ここでMは表示部27のX軸の
ドット数である「96」の値をとる。 次いで、制御部7は数式データF(X)=X2に上記変
換した真正X座標を代入して対応する真正Y座標を求め
(ステップA7)、このYの値をYメモリレジスタ19にプ
リセットするとともに(ステップA8)、 y=(Y−Ymin)(N−1)/(Ymax−Ymin)+1 に代入して表示y座標に逆変換して(ステップA9)、こ
のyの値を上記演算バッファ20内のxの値と共に、表示
座標データ(x,y)として今回プロットレジスタ11にプ
リセットする(ステップA10)。ここでNは表示部27の
Y軸のドット数である「64」の値をとる。 そして、制御部7は上記表示座標データ(x,y)を表
示バッファ部24のグラフィック表示バッファ25にプリセ
ットし(ステップA11)、表示x座標が「1」でなけれ
ば前回プロットデータであることを判別して、前回プロ
ットと今回プロットを結ぶ各座標データ(p,q)を求め
て、この各座標データ(p,q)もグラフィック表示バッ
ファ25にプリセットし(ステップA12〜A14)、表示部27
にグラフ表示させる(ステップA15)。この場合、前回
プロットの表示座標データが(15,4)、今回プロットの
表示座標データが(16,8)であれば、(15,5)(15,6)
(16,7)の各座標地点が座標データ(p,q)として求め
られ、これらの各座標地点も表示される。もし表示x座
標が「1」であれば、表示座標はまだ1つしかプロット
されておらず前回プロットデータのないことを判別し
て、上記ステップA13、A14の処理は行なわない。 次いで、表示x座標が「M=96」に達していなけれ
ば、制御部7は全表示画面についてプロットが終了して
いないことを判別して(ステップA16)、今回プロット
の表示座標データ(x,y)を前回プロットの表示座標デ
ータ(x0,y0)として前回プロットレジスタ10にプリセ
ットし(ステップA17、A18)、このx0をインクリメント
した値を新たな表示x座標として(ステップA19)、上
記ステップA5〜A10の数式からの表示座標データの算
出、ステップA11〜A15のグラフ表示を繰り返していく。 そして、表示x座標が「M=96」に達すれば、制御部
7は全表示画面についてプロットが終了したことを判別
して(ステップA16)、再度表示x座標として「1」を
セットし(ステップA2)、グラフキー4の操作があるま
で待機する(ステップA3)。ここで数式データF(X)
例えば2X+4の入力があると、その数式データF(X)
=2X+4についても同様のグラフ表示処理が繰り返さ
れ、グラフィック表示バッファ25にF(X)=2X+4の
グラフ表示用データが重ねてプリセットされていき、F
(X)=X2、F(X)=2X+4の両グラフが同時に表示
されていく。 こうして表示部27で2つのグラフを同時に見ることが
できる。 [実施例の効果] 本実施例では、入力された関数式データのグラフを構
成する座標データをいちいち手動入力することなく自動
的に算出し、その算出した座標データに対応する各点を
順次表示させるとともに、新たに関数式データが入力さ
れたときは、新たな関数式データに対応する座標データ
を自動的に算出し、その算出した座標データに対応する
各点を新たなグラフとして既に表示されているグラフに
重ねて順次表示させる。また、前回プロットと今回プロ
ットとを結ぶようにしてグラフを描いたので、なめらか
なグラフを描くことができ、グラフ演算処理も少なくて
すむ。 なお、表示部27に表示するグラフは、予め計算機に組
みこまれているsinx、tanhx等の関数や、統計等による
データを基にして作成される折れ線、棒グラフ等や、こ
れらのデータを基にして算出される回帰線、正規分布等
でもよく、またグラフを描く演算では原点を基準とする
真正座標データを直接求めてこれを近似プロットするよ
うにしてもよい。上記回帰線のグラフを描く場合には、
順次データを入力してグラフ表示用データに変換して表
示部27に表示させ、隣接する表示点間を結ぶようにして
グラフ表示を行なわせることになるう。そして、この回
帰線の回帰式は、例えば回帰線のグラフ表示用データに
基いて定数項及び係数がまず求められ、Y=AX+Bとい
うようにして求められる。 [発明の効果] 以上述べたように、本発明は、入力された関数式デー
タのグラフを構成する座標データをいちいち手動入力す
ることなく自動的に算出し、その算出した座標データに
対応する各点を順次表示させる。そして、新たに関数式
データが入力されたときは、新たな関数式データに対応
する座標データを自動的に算出し、その算出した座標デ
ータに対応する各点を新たなグラフとして既に表示され
ているグラフに重ねて順次表示させる。したがって、表
示画面上に複数のグラフを自動的に表示させることがで
き、複数のグラフで囲まれる面積を積分して求めたり、
実験データのグラフと理論上のグラフとの差を調べたり
する等、複数のグラフを表示させるのが必要な場合に大
変便利であり、最初に表示したグラフをわざわざ書き移
す必要がなくなる等の効果を奏する。
Description: TECHNICAL FIELD [0001] The present invention relates to a graph display control device and a graph display control method for displaying a graph such as a hyperbola, parabola, sine curve, or straight line on a display screen. [Prior Art] Conventionally, as such a graph display control device, a device that creates a graph drawing program in a personal computer or the like and inputs data to draw a graph on a display has been realized. [Problems of the Related Art] However, in such a case, a program for drawing a graph had to be created, which was very troublesome. [Object of the Invention] Accordingly, an object of the present invention is to provide a graph display control device and a graph display control method capable of automatically displaying a graph with a simple key operation and simultaneously displaying a plurality of graphs on the same screen. Is to do. [Summary of the Invention] In order to achieve this object, the present invention automatically calculates coordinate data constituting a graph of input function formula data without manually inputting the graph, and corresponds to the calculated coordinate data. Each point is sequentially displayed, and when new function formula data is input, coordinate data corresponding to the new function formula data is automatically calculated, and each point corresponding to the calculated coordinate data is set as a new point. The main point is that the graphs are sequentially displayed so as to be superimposed on the graph already displayed as the graph. [Configuration of Embodiment] 4 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 shows an overall circuit diagram of a small-sized electronic computer having a graph display function. In the figure, reference numeral 1 denotes a key input unit, and the key input unit 1 has an EXE (EXE) key 2 and a range ( In addition to a Range key 3 and a Graph key 4, a numeric keypad 5 and a function key 6 are provided. Exe key 2 is a key for performing numerical calculations for calculating data and determining a range of a graph display described later.
The range key 3 is a key for switching to a range mode for setting a display range of a graph drawn on the display screen, and the graph key 4 is a key for switching to a Guff mode for displaying a graph on the display screen and setting a graph formula. The numeric keypad 5 is used for inputting a function for drawing a graph or range data for determining the display range of the graph, and the function key 6 is used for setting various modes in the arithmetic processing. This key input unit 1
The input data is preset in the storage unit 8 through the control unit 7. The storage unit 8 includes a data storage unit 9, a previous plot, a current plot, X min , X max , X scale , Y min , Y max , Y scale ,
X memory , Y memory registers 10 to 19, operation buffer
20, an operation data storage unit 21 is provided. The data storage unit 9 stores data before the operation, and the operation data storage unit 21 stores the result data after the operation. The registers 10 to 19 and the operation buffer 20 are for drawing a graph, and the graph is genuine coordinate data (X, Y) based on the origins of the X-axis and the Y-axis sequentially calculated from given equations. Is converted to display coordinate data (x, y) based on a reference point at the lower left corner on the display screen.
In the previous plot and the current plot, the value of x was 1, 2, 3,
When drawing a graph by sequentially incrementing to obtain the corresponding value of y, the display coordinate point (x 0 , y 0 ) previously obtained and the display coordinate data (x, y) obtained this time
The X memory and the Y memory indicate the genuine coordinate data (X, Y) calculated from the mathematical formula, and the arithmetic buffer 20 stores the display coordinate data (X, Y) converted from the genuine coordinate data (X, Y). x, y) are preset. X min , X man , X
scale, Y min, Y max, Y scale is intended to indicate the range data indicating the display range of the graph on the display screen, X min,
X max is X in the leftmost and rightmost rows on the X-axis display screen.
, And Y min and Y max indicate the values of Y in the lower and upper columns of the Y-axis display screen, respectively, and X scale and Y scale
Indicates the scale width on the X-axis and Y-axis display screens. Formula data F (X) input from the key input unit 1
Are preset in the formula buffer 22 by the control unit 7, and the above-described graph calculation is performed by the calculation unit 23 based on the formula, and the previous plot, the current plot,
The result data is preset in the registers 10, 11, 18, and 19 of the X memory and the Y memory and the operation buffer 20, and the coordinate data of the previous plot, the current plot and the coordinate data connecting the previous plot and the current plot are obtained. The graph display data from the calculation unit 23 to the display buffer unit 24
Are sequentially preset in the graph display buffer 25.
The mathematical expression data F (X) in the mathematical expression buffer 22 is preset in the text display buffer 26 in the display buffer unit 24 through the arithmetic unit 23. Either the graph display data or the formula data F (X) in the display buffer unit 24 is selected by the switching signal from the control unit 7 and displayed on the display unit 27. The display unit 27 is, for example, a liquid crystal display device of a 96 × 64 bit matrix display system, and includes the graphic display buffer 25 and the text display buffer 26.
Has a dot area of 96 × 64 bits corresponding to the display unit 27, and sets “1” in the dot area to be displayed. The presetting of these data in the display buffer unit 24 is performed based on the address data in the data storage unit 9 stepped by the control unit 7, and this address data is decoded by the address decoder 28 of the display buffer unit 24. Address designation for each of the buffers 25 and 26 is performed. [Operation of Embodiment] Next, the operation of this embodiment will be described with reference to FIG. To display the graph, first, the range key 3 is operated to set the range mode, and the range data X min , X man , X scale , Y min , Y max , and Y scale indicating the display range of the graph are set to the numeral alphabet key 5. To enter. Then, the control unit 7 presets these range data in the registers 12 to 17 of the storage unit 8 (step A1), sets "1" as the display x coordinate of the operation buffer 20 (step A2), and sets the graph key 4
Wait until there is an operation (step A3). Then, the control unit 7 uses the key input unit 1 to input mathematical data F (X) such as X 2
If there is input, to preset the formula data F (X) = X 2 in the formula buffer 22 (step A4), the display unit 27
Is substituted into X = (X man −X min ) (x−1) / (M−1) + X min with respect to the lower left corner of, and converted to the true X coordinate with respect to the origin. Then, the value of X is preset in the X memory register 18 (step A6). Here, M takes a value of "96" which is the number of dots on the X-axis of the display unit 27. Then, the control unit 7 obtains the true Y coordinate corresponding to substituting the true X coordinates the conversion in Equation data F (X) = X 2 (step A7), to preset the value of the Y to Y memory register 19 (Step A8), y = (Y−Y min ) (N−1) / (Y max− Y min ) +1 and inversely converted to the display y coordinate (Step A 9). Along with the value of x in the operation buffer 20, it is preset in the plot register 11 this time as display coordinate data (x, y) (step A10). Here, N takes a value of “64” which is the number of dots on the Y axis of the display unit 27. Then, the control section 7 presets the display coordinate data (x, y) in the graphic display buffer 25 of the display buffer section 24 (step A11), and if the display x coordinate is not "1", it indicates that it is the previous plot data. The coordinate data (p, q) connecting the previous plot and the current plot is determined, and the respective coordinate data (p, q) are also preset in the graphic display buffer 25 (steps A12 to A14), and the display unit 27 is determined.
(Step A15). In this case, if the display coordinate data of the previous plot is (15,4) and the display coordinate data of the current plot is (16,8), (15,5) (15,6)
Each coordinate point of (16, 7) is obtained as coordinate data (p, q), and each of these coordinate points is also displayed. If the display x coordinate is "1", it is determined that only one display coordinate has been plotted and there is no previous plot data, and the processing of the above steps A13 and A14 is not performed. Next, if the display x coordinate has not reached “M = 96”, the control unit 7 determines that plotting has not been completed for all display screens (step A16), and the display coordinate data (x, the y) is preset in the previous plot register 10 as the display coordinate data of the previous plot (x 0, y 0) (step A17, A18), a value obtained by incrementing the x 0 as a new display x coordinate (step A19), The calculation of the display coordinate data from the mathematical expressions in steps A5 to A10 and the graph display in steps A11 to A15 are repeated. If the display x-coordinate reaches “M = 96”, the controller 7 determines that plotting has been completed for all display screens (step A16), and sets “1” again as the display x-coordinate (step A16). A2), and wait until there is an operation on the graph key 4 (step A3). Here, the formula data F (X)
For example, if there is an input of 2X + 4, the formula data F (X)
= 2X + 4, the same graph display processing is repeated, and the graph display data of F (X) = 2X + 4 is overlaid on the graphic display buffer 25 and preset.
Both graphs of (X) = X 2 and F (X) = 2X + 4 are simultaneously displayed. Thus, the two graphs can be simultaneously viewed on the display unit 27. [Effect of Embodiment] In this embodiment, coordinate data constituting a graph of input function formula data is automatically calculated without manually inputting each point, and each point corresponding to the calculated coordinate data is sequentially displayed. At the same time, when new function formula data is input, coordinate data corresponding to the new function formula data is automatically calculated, and each point corresponding to the calculated coordinate data is already displayed as a new graph. And superimpose it on the displayed graph. Further, since the graph is drawn so as to connect the previous plot and the current plot, a smooth graph can be drawn, and the graph calculation processing can be reduced. The graph displayed on the display unit 27 is based on functions such as sinx, tanhx, and the like, which are incorporated in the computer in advance, line graphs, bar graphs, and the like created based on data based on statistics and the like. A regression line, a normal distribution, or the like calculated by calculation may be used. In a graph drawing operation, true coordinate data based on the origin may be directly obtained and approximated. To draw the above regression line graph,
Data is sequentially input, converted into graph display data, displayed on the display unit 27, and a graph is displayed by connecting adjacent display points. In the regression equation of the regression line, a constant term and a coefficient are first obtained based on, for example, graph display data of the regression line, and Y = AX + B. [Effect of the Invention] As described above, according to the present invention, coordinate data constituting a graph of input function formula data is automatically calculated without manually inputting each time, and each of the coordinate data corresponding to the calculated coordinate data is calculated. Display points sequentially. Then, when new function formula data is input, coordinate data corresponding to the new function formula data is automatically calculated, and each point corresponding to the calculated coordinate data is already displayed as a new graph. And superimpose them sequentially on the graph. Therefore, a plurality of graphs can be automatically displayed on the display screen, and an area surrounded by the plurality of graphs can be integrated and obtained,
This is very convenient when it is necessary to display multiple graphs, such as when examining the difference between a graph of experimental data and a theoretical graph, and there is no need to transfer the first displayed graph. To play.

【図面の簡単な説明】 第1図は、グラフ表示機能を備えた小型電子式計算機の
全体回路図、第2図は、複数のグラフを重ねて表示する
処理のフローチャートの図である。 1:キー入力部、4:グラフキー、7:制御部、8:記憶部、1
0:前回プロットレジスタ、11:今回プロットレジスタ、1
8:Xメモリレジスタ、19:Yメモリレジスタ、20:演算バッ
ファ、22:数式バッファ、23:演算部、24:表示バッファ
部、25:グラフ表示バッファ、27:表示部。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an overall circuit diagram of a small electronic computer having a graph display function, and FIG. 2 is a flowchart of a process of displaying a plurality of graphs in a superimposed manner. 1: Key input section, 4: Graph key, 7: Control section, 8: Storage section, 1
0: previous plot register, 11: current plot register, 1
8: X memory register, 19: Y memory register, 20: operation buffer, 22: equation buffer, 23: operation unit, 24: display buffer unit, 25: graph display buffer, 27: display unit.

フロントページの続き (56)参考文献 特開 昭52−116050(JP,A) 特開 昭53−116051(JP,A) 特開 昭54−51752(JP,A) 特開 昭58−5784(JP,A) 特開 昭59−18994(JP,A) (58)調査した分野(Int.Cl.6,DB名) G09G 5/36 G06F 15/02 315 G06F 3/153 320 G06F 3/147Continuation of the front page (56) References JP-A-52-116050 (JP, A) JP-A-53-116051 (JP, A) JP-A-54-51752 (JP, A) JP-A-58-5784 (JP) , A) JP-A-59-18994 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G09G 5/36 G06F 15/02 315 G06F 3/153 320 G06F 3/147

Claims (1)

(57)【特許請求の範囲】 1.グラフを表示するためのドットマトリクス領域を有
する表示手段と、 関数式データを記憶する関数式データ記憶手段と、 この関数式データ記憶手段に記憶された関数式データに
基づいて作成されるグラフの表示範囲であるXmin、Xma
x、Ymin、Ymaxを記憶する範囲データ記憶手段と、 上記表示手段のドットマトリクス領域のX方向の画素数
と上記範囲データ記憶手段に記憶されたXmin、Xmaxとか
ら上記ドットマトリクス領域のX方向の各画素の値を順
次算出する画素値算出手段と、 この画素値算出手段によってX方向の各画素の値が算出
される毎に、該算出された値を上記関数式データ記憶手
段に記憶された関数式データに代入することでY値を求
め、当該関数式データのグラフを構成する座標データ
(X、Y)を算出する座標データ算出手段と、 この座標データ算出手段により算出された座標データ
(X、Y)に対応する上記ドットマトリクス領域内の点
を点灯表示するように制御して第1のグラフを作成する
第1のグラフ表示制御手段と、 上記関数式データ記憶手段に新たに関数式データが記憶
された際に、この新たに記憶された関数式データのグラ
フに対応する上記ドットマトリクス領域の各点を点灯表
示するように制御して第2のグラフを、上記第1のグラ
フ表示制御手段にて既に表示制御されている第1のグラ
フに併せて表示させるように制御する第2のグラフ表示
制御手段と、 を備えたことを特徴とするグラフ表示制御装置。 2.表示部であるドットマトリクス領域にグラフを表示
させるグラフ表示制御方法において、 関数式データを記憶する関数式データ記憶ステップと、 この関数式データ記憶ステップで記憶された関数式デー
タに基づいて作成されるグラフの表示範囲であるXmin、
Xmax、Ymin、Ymaxを記憶する範囲データ記憶ステップ
と、 上記ドットマトリクス領域のX方向の画素数と上記範囲
データ記憶ステップで記憶されたXmin、Xmaxとから上記
ドットマトリクス領域のX方向の各画素の値を順次算出
する画素値算出ステップと、 この画素値算出ステップによってX方向の各画素の値が
算出される毎に、該算出された値を上記関数式データ記
憶ステップで記憶された関数式データに代入することで
Y値を求め、当該関数式データのグラフを構成する座標
データ(X、Y)を算出する座標データ算出ステップ
と、 この座標データ算出ステップにより算出された座標デー
タ(X、Y)に対応する上記ドットマトリクス領域内の
点を点灯表示するように制御して第1のグラフを作成す
る第1のグラフ表示制御ステップと、 上記関数式データ記憶ステップにより新たに関数式デー
タが記憶された際に、この新たに記憶された関数式デー
タのグラフに対応する上記ドットマトリクス領域の各点
を点灯表示するように制御して第2のグラフを、上記第
1のグラフ表示制御ステップにて既に表示制御されてい
る第1のグラフに併せて表示させるように制御する第2
のグラフ表示制御ステップと、 を備えたことを特徴とするグラフ表示制御方法。
(57) [Claims] Display means having a dot matrix area for displaying a graph; function expression data storage means for storing function expression data; display of a graph created based on the function expression data stored in the function expression data storage means Range Xmin, Xma
a range data storage unit for storing x, Ymin, and Ymax; and a number of pixels in the X direction of the dot matrix region of the display unit and Xmin and Xmax stored in the range data storage unit. A pixel value calculating means for sequentially calculating the value of each pixel; and each time the value of each pixel in the X direction is calculated by the pixel value calculating means, the calculated value is stored in the function formula data storage means. Coordinate data calculating means for obtaining the Y value by substituting into the function formula data and calculating coordinate data (X, Y) constituting a graph of the function formula data; and coordinate data calculated by the coordinate data calculating means ( X, Y), a first graph display control means for controlling the points in the dot matrix area to be lit and displayed to create a first graph, and a new function expression data storage means. When the function formula data is stored, each point of the dot matrix area corresponding to the graph of the newly stored function formula data is controlled to be lit and displayed, and the second graph is changed to the first graph. And a second graph display control means for controlling the display so as to be displayed together with the first graph which is already display-controlled by the graph display control means. 2. In a graph display control method for displaying a graph in a dot matrix area serving as a display unit, a function formula data storing step of storing function formula data is created based on the function formula data stored in the function formula data storing step. Xmin, the display range of the graph,
A range data storing step of storing Xmax, Ymin, and Ymax; and a number of pixels in the X direction of the dot matrix area and Xmin and Xmax stored in the range data storing step. A pixel value calculating step of sequentially calculating a value; and each time the value of each pixel in the X direction is calculated by the pixel value calculating step, the calculated value is stored in the function formula data storing step. To obtain coordinate values (X, Y) for calculating coordinate data (X, Y) constituting a graph of the function formula data; and coordinate data (X, Y) calculated in the coordinate data calculation step. A) a first graph display control step of controlling a point in the dot matrix area corresponding to the above to be lit and displayed to create a first graph; When the function data is newly stored in the formula data storing step, each point of the dot matrix region corresponding to the graph of the newly stored function formula data is controlled to be lit and displayed, and the second function formula data is stored. A second control for displaying a graph together with the first graph already display-controlled in the first graph display control step;
A graph display control method, comprising the steps of:
JP60098925A 1985-05-10 1985-05-10 Graph display control device and graph display control method Expired - Lifetime JP2797096B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60098925A JP2797096B2 (en) 1985-05-10 1985-05-10 Graph display control device and graph display control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60098925A JP2797096B2 (en) 1985-05-10 1985-05-10 Graph display control device and graph display control method

Publications (2)

Publication Number Publication Date
JPS61256380A JPS61256380A (en) 1986-11-13
JP2797096B2 true JP2797096B2 (en) 1998-09-17

Family

ID=14232701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60098925A Expired - Lifetime JP2797096B2 (en) 1985-05-10 1985-05-10 Graph display control device and graph display control method

Country Status (1)

Country Link
JP (1) JP2797096B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2959960B2 (en) * 1994-06-08 1999-10-06 シャープ株式会社 Information processing device with multiple graph display function

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5827542B2 (en) * 1976-03-25 1983-06-10 シャープ株式会社 Small calculator with graph display
JPS5918994A (en) * 1982-07-23 1984-01-31 三洋電機株式会社 Memory scope

Also Published As

Publication number Publication date
JPS61256380A (en) 1986-11-13

Similar Documents

Publication Publication Date Title
JP2959960B2 (en) Information processing device with multiple graph display function
JP2797096B2 (en) Graph display control device and graph display control method
JPH0934411A (en) Image display device and liquid crystal display controller
JPH07152917A (en) Graph display device
JP3228952B2 (en) Information processing device and display control circuit
JP3045905B2 (en) Character drawing device
JPS6327727B2 (en)
JP3503758B2 (en) Graph display control device and graph display control method
JP3309115B2 (en) Graph display control device and graph display control method
JPH05298058A (en) Graphic data processor
JPH06168335A (en) Device and method for plotting graphic
JP2781773B2 (en) LCD touch panel device
JP2846708B2 (en) I / O device
JPS6341977A (en) Table form data display system
JPH083809B2 (en) Small electronic device with graph display function
JPS63615A (en) Electronic equipment
JPH09179991A (en) Graph display device
JP2000098996A (en) Image display device
JPH0773008A (en) Method and device for indicating scroll direction
JPH04215121A (en) Display data generating device
JPS6337415A (en) Redisplaying/reinputting system for input data
JPS60257496A (en) Display
JPH01314321A (en) Touch panel input device
JPH11249783A (en) Information display device
JPH06175798A (en) Variable picture display control system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term