JPS61267856A - Graph display device - Google Patents

Graph display device

Info

Publication number
JPS61267856A
JPS61267856A JP60110918A JP11091885A JPS61267856A JP S61267856 A JPS61267856 A JP S61267856A JP 60110918 A JP60110918 A JP 60110918A JP 11091885 A JP11091885 A JP 11091885A JP S61267856 A JPS61267856 A JP S61267856A
Authority
JP
Japan
Prior art keywords
memory
data
graph
key
contents
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.)
Pending
Application number
JP60110918A
Other languages
Japanese (ja)
Inventor
Kazuyoshi Watanabe
渡辺 一嘉
Hiroyuki Yoshino
大之 吉野
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 JP60110918A priority Critical patent/JPS61267856A/en
Publication of JPS61267856A publication Critical patent/JPS61267856A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To perform the graph display with a simple key operation by deciding a memory in response to the input data from an X-axis range and the number of memories set previously and producing a bar graph or broken line graph with reference to said memory. CONSTITUTION:A control part 20 gives the arithmetic data to an arithmetic circuit 21 in response to the operation of a key at a key input part 10 and also gives the address data and a read/write command to a memory part 24. The part 24 contains an SD memory 31 for single variable statistics, an LR memory 32 for double variable statistics, a range memory 33 storing the range designation data, an X memory 34 storing the X-axis data, a Y memory 35 storing the Y-axis data, a normal distribution memory 36 and an arithmetic memory 37. The circuit 21 decides a memory corresponding to the input data from a X-axis range and the number of memories set previously and refers to this memory to produce a bar graph or a broken line graph.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、簡単なキー操作で指定データをグラフ化して
表示するグラフ表示装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a graph display device that graphs and displays designated data using simple key operations.

〔従来技術とその問題点〕[Prior art and its problems]

従来、例工ば/9−ソナルコンピュータポケットコンビ
、−夕等の小型電子式計算機において、RASI Cの
プログラムを作成し、データを入力することによってグ
ラフを表示できるようにしたものがある。
BACKGROUND ART Conventionally, there are small electronic calculators such as those manufactured by Koba/9-Sonal Computer Pocket Combi, etc., which are capable of displaying graphs by creating a RASI C program and inputting data.

しかし、上記従来のグラフ表示機能を持つ小型電子式計
算機におhては、グラフ専用のプログラムを組む必要が
あシ、このためプログラムに慣れてhない人はグラフ作
成が容易にできず、また、慣れている人であっても入力
操作が非常に面倒であった。
However, with the above-mentioned conventional small electronic calculators that have a graph display function, it is necessary to set up a dedicated graph program, which makes it difficult for people who are not accustomed to programming to create graphs. The input operations were extremely troublesome even for experienced users.

〔発明の目的〕[Purpose of the invention]

本発明は上記の点に鑑みてなされたもので、統計データ
あるhは予めメモリに記憶した内容を簡単なキー操作で
例えば棒グラフ化あるいは折線グラフ化することができ
るグラフ表示装置を提供することを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide a graph display device that can convert statistical data stored in a memory in advance into a bar graph or a line graph with a simple key operation. purpose.

〔発明の要点〕[Key points of the invention]

本発明は、予め設定されたX軸範囲及びメモリ数によシ
、入力されたデータに対応するメモリヲ決定し、その内
容をデータ数分だけ増減し、棒グラフあるい鉱折線グラ
フの作成にあたっては、その対応するメモリを参照して
行なうようにしたものである。
The present invention determines the memory corresponding to the input data according to the preset X-axis range and the number of memories, increases or decreases the contents by the number of data, and when creating a bar graph or a line graph, This is done by referring to the corresponding memory.

〔発明の実施例〕[Embodiments of the invention]

以下図面を参照して本発明の一実施例を説明する。第1
図において10はキー人力部で、テンキー11、関数キ
ー12、Graphキー13、グラフ表示を折線で行な
わせるためのLineキー14、レンジデータを入力す
るためのレンジキー15.1変数統計用SDメモリを指
定するSDキー16.2変数統計用LRメモリt−指定
するLRキー17、データ入力を指定するDTキー18
、実行キー(WE ) 19を備えている。そして、上
記中−人力部10からの入力データは、制御部20へ送
られる。この制御部20#i、各種制御プログラムを記
憶しておシ、上記キー人力部10Vcサンプリング信号
を与えると共に、演算回路21、数式バッファ22、表
示バッファ23に制御指令を与える。また、上記制御部
20は、キー人力部10のキー操作に応じて演算回路Z
JK演算データを与えると共に、RAM等によシ構成さ
れる記憶部241/Cアドレスデータ及び読出し/書込
み指令を与える。そして、上記演算回路21は、データ
バスDBを介して上記数式バッファ22及び記憶部24
に接続される。上記数式バッファ22は、入カパツファ
を兼ねておシ、キー人力データを一時記憶するようにな
っている。また、演算回路21は、アドレス指定部25
を備え、このアドレス指定部25によシ表示バッファ2
3のアドレスを指定してデータを出力する。この表示バ
ッファ23は、テキスト表示バッファ23a及びグラフ
ィック表示バッファ23bからな)、演算回路21によ
って書込まれたデータを表示部26VC出力し、テキス
ト表示エリアj5゛a、グラフ表示エリア26bVcそ
れぞれ表示する。このグラフ表示エリア26bは、第2
図に示すようKYY軸方向セグメント数がM例えば96
、X軸方向のセグメント数がN例えば64の構成となっ
ておシ、X軸方向では左端が最小値Xnxin、右端が
最大値Xmax s Y軸方向では最下端が最小値Ym
lns最上端が最大値ymaxとして設定され、入力デ
ータ(x、y)に対し、(x、y)データによシ座標位
置が表示される。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, reference numeral 10 indicates a key input section, including a numeric keypad 11, a function key 12, a graph key 13, a line key 14 for displaying graphs using broken lines, a range key 15 for inputting range data, and an SD memory for variable statistics. SD key 16.2 to specify variable statistics LR memory t - LR key 17 to specify, DT key 18 to specify data input
, an execution key (WE) 19. Input data from the human resources department 10 is sent to the control section 20. This control section 20#i stores various control programs and provides the key human power section 10Vc sampling signal, as well as control commands to the arithmetic circuit 21, formula buffer 22, and display buffer 23. Further, the control section 20 controls the calculation circuit Z in response to key operations of the key human power section 10.
In addition to providing JK calculation data, the storage section 241/C address data and read/write commands constituted by a RAM or the like are provided. The arithmetic circuit 21 is connected to the formula buffer 22 and the storage section 24 via the data bus DB.
connected to. The formula buffer 22 serves as an input buffer and temporarily stores key manual data. Further, the arithmetic circuit 21 includes an address specifying section 25
The display buffer 2 is provided with a
Specify address 3 and output the data. The display buffer 23 outputs the data written by the arithmetic circuit 21 (from the text display buffer 23a and the graphic display buffer 23b) to the display section 26VC, and displays the data in the text display area j5'a and the graph display area 26bVc, respectively. This graph display area 26b is
As shown in the figure, the number of segments in the KYY axis direction is M, for example 96.
, the number of segments in the X-axis direction is N, for example 64, and in the X-axis direction, the left end is the minimum value Xnxin, the right end is the maximum value Xmax s, and in the Y-axis direction, the lowest end is the minimum value Ym
The top end of lns is set as the maximum value ymax, and the coordinate position of the input data (x, y) is displayed based on the (x, y) data.

しかして、上記記憶部24には、1変数統計用SDメモ
リ31,2変数統計用LRメモリ32、レンジデータX
rQins Xz@z 、 Ymins YmgzsX
軸セグメント数’M、Y軸セグメント数N等のレンジ指
定データを記憶するレンジメモリ33、X軸データを記
憶するXメモリ34、Y軸データを記憶するYメモリ3
5、正規分布作成用データΣX 、Σx、Hを記憶する
正規分布メモリ36、xQ s X 、yOs 7 s
 m 、α、β、T、 を等の演算用メモリ31が設け
られている。
The storage unit 24 includes an SD memory 31 for one-variable statistics, an LR memory 32 for two-variable statistics, and a range data
rQins Xz@z, Ymins YmgzsX
A range memory 33 that stores range specification data such as the number of axis segments 'M and the number of Y-axis segments N, an X memory 34 that stores X-axis data, and a Y memory 3 that stores Y-axis data.
5. Normal distribution memory 36 for storing normal distribution creation data ΣX, Σx, H, xQ s X , yOs 7 s
A memory 31 for calculations such as m, α, β, T, etc. is provided.

次に上記実施例の動作を説明する。グラフを作成する場
合には、第3図のフローチャートに示す手順に従ってグ
ラフ作成のためのキー操作を行なう。まず、第3図のス
テップAJKおりて、テンキー11及びレンジキー15
によシ、Xmax 、Xm1n s Ymax 、Ym
inのレンジ指定を行なう。そして、1変数のグラフを
作成する場合にfixテッfAxを経てステップA3に
進−+、グラフ作成に使用するメモリ本数を指定入力す
る・このメモリ本数指定データは、制御部2゜の制御に
よシ記憶部24のmメモリ忙書込まれる。その後、ステ
ラ7’A4に示すようにSDキー16、LR+−171
1Cよシ、80%−)’あるいはLRモードを指定する
。2変数グラフを作成する場合は、ステップA3に示す
メモリ本数指定操作を行なうことなく、上記ステップA
4のモード指定操作を行なう。次いでステップA5に示
すようにDTキー18の操作にょジグラフデータの入力
を行ない、その後、ステップA6Vc示すグラフ指定を
行なう、上記ステップA5のデータ入力及びステップA
6のグラフ指定釦ついては、以下にその詳細を説明する
Next, the operation of the above embodiment will be explained. When creating a graph, key operations for creating the graph are performed according to the procedure shown in the flowchart of FIG. First, go to step AJK in FIG.
Yoshi, Xmax, Xm1ns Ymax, Ym
Specify the range of in. Then, when creating a graph of one variable, proceed to step A3 via fixtefAx and specify and input the number of memories to be used for graph creation.This memory number designation data is controlled by the control unit 2°. The m memory of the storage unit 24 is busy being written. After that, as shown in Stella 7'A4, SD key 16, LR+-171
1C, 80%-)' or LR mode. When creating a two-variable graph, do not perform the memory count specification operation shown in step A3, but proceed in step A above.
Perform the mode specification operation in step 4. Next, as shown in step A5, input the graph data by operating the DT key 18, and then specify the graph shown in step A6Vc.
The details of the graph designation button 6 will be explained below.

上記ステラfA5において、DTキー18の操作によシ
入力されるグラフデータは、所定の処理(詳細は後述す
る)を経て記憶部24におけるSDメモリ31ある−は
I、Rメモリ32に書込まれる。今、例えば第4図(a
)に示す1変数統計用データにつbてグラフを作成する
ものとすれば、まず、第4図(b)に示すようにSDキ
ー16の操作によ、9SDモードを指定した後、テンキ
ー11により数値データを入力し、次いでDTキー18
を操作する。上記テンキー11によ多入力されたデータ
は、一旦、数式バッファ22に保持され、その後、DT
キー18の操作によシ、第5図に示すフローチャートに
従って処理される。以下、同様にテンキー11とDTキ
ー18の組合わせ操作によシ、制御部2Qの制御に従っ
て入力データが処理され、その処理結果がSDメモリ3
1に順次書込まれる。
In the above-mentioned Stella fA5, the graph data input by operating the DT key 18 is written to the SD memory 31 and I, R memory 32 in the storage unit 24 through a predetermined process (details will be described later). . Now, for example, in Figure 4 (a
), first, as shown in FIG. 4(b), specify the 9SD mode by operating the SD key 16, and then press the numeric keypad 11. Enter numerical data using , then press DT key 18.
operate. The data entered into the numeric keypad 11 is temporarily held in the formula buffer 22, and then
When the key 18 is operated, processing is performed according to the flowchart shown in FIG. Thereafter, the input data is similarly processed by the combined operation of the numeric keypad 11 and the DT key 18 under the control of the control unit 2Q, and the processing results are stored in the SD memory 3.
1 sequentially.

また、LRメモリ32に2変数統計用データを記憶する
場合には、第4図(e)に示すようにLRキー17の操
作によpLRモードを指定した後、テンキー11によυ
2つの数値データを「、」で区切りて入力し、次いでD
Tキー18を操作する。以下、同様にテンキー1ノとD
Tキー18の組合わせ操作によシ、制御部20の制御に
従って2変数統計用データがLRメモリ32に順次書込
まれる。
In addition, when storing two-variable statistical data in the LR memory 32, after specifying the pLR mode by operating the LR key 17, as shown in FIG.
Input two numerical data separated by ",", then D
Operate T key 18. Below, in the same way, numeric key 1 and D
By operating the T key 18 in combination, two-variable statistical data is sequentially written into the LR memory 32 under the control of the control unit 20.

以下、第5図のフロイヤートに従って入力データの処理
及びSDメモリ31あるいはLRメモリ32へのデータ
書込み動作について説明する。制御部20は、まず、第
5図ステップBIにおいて、SDキー16の操作によシ
SDモードが指定されているか否かを判断し、SDモー
ドが指定されている場合は、ステップB2に進んで数式
バッファ22に保持されている数値データ(入力データ
)t−演算回路21を介して記憶部24に読出し、Xメ
モリ5411c11F′込む。次いでステップB3にお
いて、上記Xメモリ34に記憶させた値Xを正規分布メ
モリ36のΣXメモリに累計すると共!/cX2t−Σ
Xメモリに累計し、データ数記憶用のnメモリの内容を
「+1」する、そして、ステップB4に進み、Xメそす
の内容とXm&!メモリの内容を比較し、X<Xmax
の条件を満足しているか否かを判断する。このステップ
B4において、上記の条件を満足していないと判断され
た場合はそのまま処理を終了するが、上記の条件を満足
してbればステップB5に進んでX≧Xm1nの条件を
満足するか否かを判断する。このステップB5において
、上記の条件を満足していないと判断された場合は直ち
に処理を終了するが、上記の条件を満足していると判断
された場合はステップB6に進む。
The processing of input data and the data writing operation to the SD memory 31 or the LR memory 32 will be described below according to the Freudian diagram in FIG. First, in step BI of FIG. 5, the control unit 20 determines whether or not the SD mode is designated by the operation of the SD key 16. If the SD mode is designated, the control section 20 proceeds to step B2. Numerical data (input data) held in the formula buffer 22 is read out to the storage unit 24 via the t-arithmetic circuit 21 and loaded into the X memory 5411c11F'. Next, in step B3, the value X stored in the X memory 34 is accumulated in the ΣX memory of the normal distribution memory 36! /cX2t-Σ
The total is accumulated in the X memory, and the contents of the n memory for storing the number of data are incremented by "+1".Then, the process proceeds to step B4, and the contents of the X meso and Xm&! Compare the memory contents, X<Xmax
Determine whether the conditions are satisfied. In this step B4, if it is determined that the above conditions are not satisfied, the process is directly terminated, but if the above conditions are satisfied b, the process proceeds to step B5 and the condition of X≧Xm1n is satisfied. Decide whether or not. In this step B5, if it is determined that the above conditions are not satisfied, the process is immediately terminated, but if it is determined that the above conditions are satisfied, the process proceeds to step B6.

すなわち、上記ステラfB41.B5によシ、入力r−
夕がグラフ化が可能な範囲にあるか否かを判断し、グラ
フ化が可能な場合のみステップB6に進み、演算回路2
1によシ、 Xmax −Xm1n の演算を行なってSDメモリsx!IC対するアドレス
データを求め、それを整数化して演算用メモリ37内の
αメモリに書込む。その後、ステップB7に示すように
αメモリの内容によりアドレス指定されるSDメモリ3
1の内容を「+1」して入力データに対する処理を終了
する。以下、DTキー18が操作される毎に上記の動作
が繰返され、SDメモリ31に入力データの分布状態が
書込まれる。
That is, the Stella fB41. B5 input, input r-
It is determined whether or not the current value is within a range where graphing is possible, and only if graphing is possible, the process proceeds to step B6, where the arithmetic circuit 2
1, perform the calculation Xmax - Xm1n and save the SD memory sx! Address data for the IC is obtained, converted into an integer, and written into the α memory in the calculation memory 37. Thereafter, as shown in step B7, the SD memory 3 is addressed by the contents of the α memory.
The contents of 1 are incremented by "+1" and the processing for the input data is ended. Thereafter, the above operation is repeated every time the DT key 18 is operated, and the distribution state of the input data is written in the SD memory 31.

また、上記ステップB1において、SDモードが指定さ
れていないと判断された場合はステップB8に進み、L
Rキー11の操作によ、9LRモードが指定されている
か否かを判断する。LRモードが指定されていない場合
はそのまま処理を終了するがLRモードが指定されて込
ればステップB9に進み、数式バッファ22内に保持さ
れている2つの数値データt−Xメモリ34、Yメモリ
35にそれぞれ書込む。次いでステップBIOに進み、
Xメモリ34に書込んだ内容XがXm1n≦X<Xrl
l。の条件を満足するか否かを判断し、条件を満足して
いなければ処理を終了するが、条件t−清足していれば
ステップBllに進tr。このステップBllではYメ
モリ35に書込んだ内容YがYmlユ≦Y<Yrll。
Furthermore, if it is determined in step B1 that the SD mode is not specified, the process proceeds to step B8, and L
By operating the R key 11, it is determined whether the 9LR mode is designated. If the LR mode is not specified, the process ends, but if the LR mode is specified, the process proceeds to step B9, and the two numerical data held in the formula buffer 22 are stored in the t-X memory 34 and the Y memory. 35 respectively. Then proceed to step BIO,
The content X written in the X memory 34 is Xm1n≦X<Xrl
l. It is determined whether or not the condition t is satisfied, and if the condition is not satisfied, the process is terminated, but if the condition is satisfied, the process proceeds to step Bll tr. In this step Bll, the content Y written in the Y memory 35 is YmlY≦Y<Yrll.

の条件を満足するか否かを判断し、満足しなければその
まま処理を終了する。すなわち、上記ステップBxo、
BIIIICよシ、入力データがグラフ化可能の範囲に
あるか否かを判断し、グラフ化が可能であればステップ
BllからステップBJjに進む。このステップB12
では、上記Xメモリ34に保持しているデータをLRメ
モリ32のXエリアに書込み、Yメモリ35に保持して
匹るデータをLRメモリ32のyエリアに書込んで処理
を終了する。
It is determined whether or not the condition is satisfied, and if the condition is not satisfied, the process is immediately terminated. That is, the above step Bxo,
BIIIC determines whether the input data is within a range that can be graphed, and if graphing is possible, the process advances from step Bll to step BJj. This step B12
Now, the data held in the X memory 34 is written to the X area of the LR memory 32, the corresponding data held in the Y memory 35 is written to the Y area of the LR memory 32, and the process is completed.

しかして、上記SDメモリ31に記憶させたデータを基
に、(&)棒グラフ、(b)SD折線グラフ、(cl正
規分布グラフを作成する場合は、第4図(b)に示すよ
うKSDモードにおいて、 (a)、 Graph EXE (b)、 Graph Line EXE(c)、 G
raph Line I EXEのキー操作を行なう。
Therefore, when creating a (&) bar graph, (b) SD line graph, and (cl normal distribution graph) based on the data stored in the SD memory 31, the KSD mode is used as shown in FIG. 4(b). In (a), Graph EXE (b), Graph Line EXE (c), G
raph Line I Perform EXE key operations.

また、LR折線グラフを作成する場合は、第4図(e)
K示すようにLRモードにおいて、Graph  EX
E のキー操作を行なう。
In addition, when creating an LR line graph, see Figure 4 (e).
In LR mode as shown in K, Graph EX
Operate the E key.

上記のグラフ指定操作によシ、その指定内容忙応じたグ
ラフが作成されるもので、以下その詳細について第6図
の70−チャー)K従って説明する。すなわち、制御部
20は、実行キー19が操作されると第6図のステップ
C1に示すようにSD、LRのグラフモードが指定され
でいるか否かを判断し、グラフモードが指定されていな
ければ、ステップ02IC進んでその他の処理を実行す
る。SDtたはI、Rモードが指定されていれば、ステ
ップC1からステップC3に進んで数式バッファ22t
lC対する数式判断指令を出力し、まず、ステップC4
においてGraph指定が行なわれているか否かを判断
する。
A graph corresponding to the specified contents is created by the above-mentioned graph designation operation, and its details will be explained below using 70-Chart 70 in FIG. 6. That is, when the execution key 19 is operated, the control unit 20 determines whether or not the SD and LR graph modes have been designated, as shown in step C1 in FIG. , and proceeds to step 02IC to execute other processing. If SDt or I,R mode is specified, the process advances from step C1 to step C3 and the formula buffer 22t is
A formula judgment command for IC is output, and first, step C4
It is determined whether Graph designation is performed in .

Graph指定が行なわれていなければ、上記ステラf
C2の処理を実行するが、Graph指定有り指定台は
、ステップC5に進んでLin・指定が行なわれている
か否かの判断を行なう。Line指定有)の場合はステ
ップC6Vc進み、詳細を後述する棒グラフ化処理を実
行する。Line指定が無い場合は、ステップC7に進
んでSD奇モード指定されているか否かを判断し、SD
奇モード指定されてbなければステップC8に進み、詳
細を後述するLR折線グラフ化処理を実行する。
If Graph specification is not done, the above Stella f
The process of C2 is executed, but for a designated table with Graph designation, the process proceeds to step C5, where it is determined whether or not Lin designation has been performed. If the line is specified (with Line designation), the process advances to step C6Vc, and bar graphing processing, which will be described in detail later, is executed. If there is no Line designation, the process advances to step C7, where it is determined whether or not the SD odd mode is designated, and the SD
If the odd mode is not specified (b), the process proceeds to step C8, and LR line graphing processing, which will be described in detail later, is executed.

また、上記ステップCFにおいて、SD奇モードはない
と判断された場合はステラfC9に進み、Lin・1指
定であるか否かを判断し、L1n@1指定でなければス
テップCIOに進んで詳細を後述する8D折線グラフ化
処理を実行する。また、ステップC9でLinel指定
が行なわれて込ると判断された場合はステップC1lに
進み、正規分布グラフ化処理を実行する。
In addition, in step CF, if it is determined that there is no SD odd mode, proceed to Stellar fC9, determine whether Lin・1 is specified, and if L1n@1 is not specified, proceed to step CIO to check the details. 8D line graphing processing, which will be described later, is executed. Further, if it is determined in step C9 that Line is specified, the process proceeds to step C1l and normal distribution graphing processing is executed.

次に上記ステラfC6の棒グラフ化処理の詳細について
第7図の70−チャートに従って説明する。この場合、
レンジ指定は、 r xrn、、:158゜Xm1n 
: 134 sY2@z : 8 mYf!li!lニ
ー2 sメモリ使用本数m二8」に設定されてhるもの
とする。し!1′−して、上記棒グラフ化処理を行なう
場合には、愛ず、第7図(&)のステラfD111cお
いて、演算・目メモリ37のαメそすkCrlJ 、x
Oメモリに°月、Yメモリ35に「0」ヲセットする。
Next, the details of the bar graphing process of Stella fC6 will be explained according to chart 70 in FIG. in this case,
The range specification is r xrn, :158°Xm1n
: 134 sY2@z : 8 mYf! li! It is assumed that the number of memory units used is set to ``l knee 2 s memory usage number m 2 8''. death! 1'-, and when performing the above bar graphing process, in the Stella fD111c of FIG.
Set ° month in O memory and "0" in Y memory 35.

次い!ステップD2に示すように演算回路21によシ、 の整数化を行なって演算用メモリ37のy。メモリに書
込む。その後、ステラfD3においてαメモリの内容に
よってアドレス指定されるSDメモリ31の内容をYメ
モリ35に転送した後、ステップD4に示すように の演算によりyデータを求め、その整数化を行なって演
算用メモリ37内のyメモリに書込む。
Next! As shown in step D2, the arithmetic circuit 21 converts y into an integer and stores y in the arithmetic memory 37. Write to memory. After that, in the Stella fD3, after transferring the contents of the SD memory 31 that is addressed by the contents of the α memory to the Y memory 35, the y data is obtained by the operation shown in step D4, and the y data is converted into an integer and used for calculation. Write to y memory in memory 37.

次いでステップD5に示すように α (N−1)・− の演算によ〕Xデータを求め、その整数化を行なって演
算用メモリ37内のXメモリに書込む。
Next, as shown in step D5, X data is obtained by calculating α (N-1).--, converted into an integer, and written into the X memory in the calculation memory 37.

更にステップD6に示すようK。Furthermore, K as shown in step D6.

(xo* yO) −()CO、y )、(x(1,y
)−(:c、y)、 (x、 y ) −(x、 )’Q )の各2点間にお
けるLin・処理、すなわち表示画面上の各2点間を結
ぶ直線をグラフ表示化する処理、を行ない、・その処理
結果をグラフィック表示バッフ723bに書込み、第7
図(b)に示すようにグラフ表示エリア26bに表示す
る。その後、ステップD7に進んでαメモリの内容を「
+1」すると共に、LRメモリ32における上記Xエリ
アの内容を演算用メモリ37のX。
(xo* yO) −()CO, y ), (x(1, y
) - (:c, y), (x, y) - (x, )'Q) Lin processing between each two points, that is, processing to graphically display the straight line connecting each two points on the display screen , write the processing result to the graphic display buffer 723b, and write the processing result to the seventh
It is displayed in the graph display area 26b as shown in Figure (b). After that, proceed to step D7 and save the contents of the α memory as "
+1'' and the contents of the X area in the LR memory 32 are converted to X in the calculation memory 37.

に転送する。次いでステップD8に進んでαメモリの内
容がmメモリの内容、つまシ、予め設定されたメモリ使
用本数mよシ大きくなりたか否かを判断し、大きくなけ
ればステップD3に戻って同様の動作を繰返して行なう
。そして、ステラfD7でαメモリの内容が「+1」さ
れた結果、αメモリの内容がmメそりの内容より大きく
なれば、予め設定された本数のメモリデータに対する棒
グラフ化処理が終了し、第7図(b)に示すようにグラ
フ表示エリア26bに8本の棒グラフが表示される。
Transfer to. Next, the process proceeds to step D8, and it is determined whether or not the contents of the α memory have become larger than the contents of the m memory, the preset memory usage number m, and if not, the process returns to step D3 and the same operation is performed. Do it repeatedly. Then, as a result of adding 1 to the contents of the α memory in the Stella fD7, if the contents of the α memory become larger than the contents of the m memory, the bar graphing process for the preset number of memory data ends, and the seventh As shown in Figure (b), eight bar graphs are displayed in the graph display area 26b.

次に上記第6図におけるステップC8のLR折線グラフ
化処理について、第8図のフローチャートを参照して説
明する。この場合、レンジ指定は、 r Xrn@z 
: 16 s Xm1H” Oa Ym&x ” ”Y
rnin : −2JK設定されているものとする。ま
ず、第8図(&)のステップE1に示すように入力デー
タの総数を演算用メモリ37におけるTメモリに書込む
。次いでステラfE2に示すように入力データのXの小
さい順に順位を決定し、ステップE3において最小のX
及び対応するYを指定する。そして、ステップE4に示
すように の演算によ)Xデータを求め、その整数化を行なって演
算用メモリ31内のXメモリに書込むと共に、ステップ
E5に示すように の演算によF)yデータを求め、その整数化を行なって
演算用メモリ37内のyメモリに書込む。
Next, the LR line graphing process in step C8 in FIG. 6 will be described with reference to the flowchart in FIG. 8. In this case, the range specification is r Xrn@z
: 16 s Xm1H" Oa Ym&x ""Y
rnin: -2JK is assumed to be set. First, as shown in step E1 of FIG. 8(&), the total number of input data is written into the T memory in the calculation memory 37. Next, as shown in Stella fE2, the input data is ranked in descending order of X, and in step E3, the minimum
and the corresponding Y. Then, by calculating as shown in step E4, obtain F) The data is obtained, converted into an integer, and written into the y memory in the calculation memory 37.

次にステップE6において演算用メモリ37のtメモリ
に「1」を書込んだ後、ステラ7”E7に進んで次に小
さいX及び対応するYの入力データを指定する。そして
、ステップE8に示すように の演算によF)xデータを求め、その整数化を行なって
演算用メモリ37内のXメモリに書込むと共に、ステラ
fE9に示すようK の演算によりyデータを求め、その整数化を行なって演
算用メモリ37内のyメモリに書込む。
Next, in step E6, after writing "1" into the t memory of the calculation memory 37, the program proceeds to Stella 7''E7, where the input data of the next smallest X and corresponding Y is specified.Then, as shown in step E8, F) Obtain the x data by the calculation as follows, convert it into an integer, and write it to the and writes it into the y memory in the calculation memory 37.

その後、ステラ7″E10に示すように(KO、yO)
 −(x m y ) のLin・処理を行ない、その処理結果をグラフィック
表示バッファ21bに書込んで第8図(b)に示すよう
にLR折線表示を行なう。次にステッ7’lK示すよう
に演算用メモリ37の1.7メモリの内容’j” Xo
 # I。メモリにそれぞれ転送した後、ステップE1
2においてtメモリの内容ir+I Jする。そして、
ステラ7’E 13に示す演算用メモリ371Cおける
tメモリの内容がTメモリの内容よシ大きくなったか否
か、つまフ、入力データの総数についてグラフ化処理を
終了したか否かを判断し、終了していなければステラ7
’E7に戻る。以下、同様の動作を繰返し、入力データ
を順次処理して第8図(b)に示すように折線グラフを
表示する。そして、ステラfE12によ、6tメモリの
内容が「+1」されてtメモリの内容がTメモリの内容
よシ大きくなれば、ステラfE13の判断結果がYES
となシ、LR折線グラフ化処理を終了する。
Then, as shown in Stella 7″E10 (KO, yO)
-(x m y ) Lin processing is performed, and the processing result is written into the graphic display buffer 21b to display the LR broken line as shown in FIG. 8(b). Next, as shown in step 7'lK, the contents of the 1.7 memory of the calculation memory 37 'j'
#I. After each transfer to memory, step E1
2, the contents of t memory are ir+I J. and,
It is determined whether the contents of the t memory in the calculation memory 371C shown in Stella 7'E 13 have become larger than the contents of the T memory, and whether the graphing process has been completed for the total number of input data. Stella 7 if not finished
'Go back to E7. Thereafter, similar operations are repeated to sequentially process input data and display a line graph as shown in FIG. 8(b). Then, if the content of the 6t memory is increased by "+1" by the Stella fE12 and the content of the t memory becomes larger than the content of the T memory, the judgment result of the Stella fE13 is YES.
Then, the LR line graphing process ends.

次に第6図におけるステップCIOのSD折線グラフ化
処理の詳細について第9図の70−チャートに従って説
明する。この場合、レンジ指定は、r X@@z : 
158 +Xm1n : 134 sYmax ”8 
* Ymln : −2eメモリ使用本数m:8」に設
定されているものとする。まず、第9図(1)のステッ
プF1に示すように演算用メそす37のαメモリKr1
Jiセツトし、次いでステラ7”F2においてrN−1
/2mJの演算を行なりてその演算結果を演算用メモリ
37のβメモリ及びXメモリに書込む、そして、ステッ
プF3において、上記αメモリの内容に従りてアドレス
指定されるSDメモリ31の記憶データをYメモリ35
に読出した後、ステップF4に示すように の演算によF)yデータを求め、その整数化を行なりて
演算用メモリ37内のyメモリに書込む。
Next, the details of the SD line graphing process of step CIO in FIG. 6 will be explained according to chart 70 in FIG. 9. In this case, the range specification is rX@@z:
158 +Xm1n: 134 sYmax ”8
*Ymln: -2e Memory usage number m: It is assumed that it is set to 8. First, as shown in step F1 of FIG. 9(1), the α memory Kr1 of the calculation memory 37 is
Ji set, then rN-1 in Stella 7”F2
/2mJ is calculated and the result of the calculation is written to the β memory and the Data Y memory 35
After reading out the data, F) y data is obtained by calculation as shown in step F4, converted into an integer, and written into the y memory in the calculation memory 37.

次いでステップF5に示すように演算用メモリ37内の
Xメそす、yメモリの内容fx。メモリ・yoメモリに
それぞれ転送する。そして、ステップF6に示すように の演算によ〕Xデータを求め、その整数化を行なってX
メモリに書込む0次にステラ7”F7に示すようにαメ
そりの内容をr+IJした後、ステラfFBにおいてα
メモリの内容に従ってSDメモリ31のアドレスを指定
してその記憶データを読出し、Yメモリ35に書込む。
Next, as shown in step F5, the contents fx of the X memory and the Y memory in the calculation memory 37 are obtained. Transfer to memory and yo memory respectively. Then, calculate the X data by the calculation shown in step F6, convert it into an integer, and
After writing the contents of the α mesori to r+IJ as shown in Stella 7”F7, write α in Stella fFB.
The address of the SD memory 31 is designated according to the contents of the memory, and the stored data is read out and written to the Y memory 35.

次いでステップF9において の演算を行なって1データを求め、その整数化を行なり
てyメモリに書込む。その後、ステップFIOに示すよ
うK (XO@ y□ ) −(x e y )のLln・処
理を行ない、その処理結果をグラフィック表示バッファ
23bK書込んで第9図(b)に示すようにグラフ表示
エリア26bVC表示する。
Next, the calculation in step F9 is performed to obtain one data, which is converted into an integer and written into the y memory. After that, as shown in step FIO, Lln processing of K (XO@y□) - (x ey) is performed, and the processing results are written to the graphic display buffer 23bK and displayed graphically as shown in FIG. 9(b). Display area 26bVC.

その後、ステップI!lllIC>い【αメモリの内容
がmメモリの内容に等しくなったか否かを判断し、等し
くなければステップF511CMvて同様の処理を繰返
す。上記ステッ7#F5以下の処理を繰返すことによ)
折線グラフが順次表示され、ステップF7においてその
都度αメモリの内容が置火「+1」される、そして、α
メモリ ・の内容がmメモリの内容に等しくなると、ス
テラfF 11の判断結果がYESとなシ、SD折線グ
ラフ化処理を終了する。
After that, step I! IllIC>I [Determine whether the contents of the α memory are equal to the contents of the m memory or not. If they are not equal, go to step F511CMv and repeat the same process. By repeating the process from step 7 #F5 above)
The line graph is displayed sequentially, and in step F7, the contents of the α memory are incremented by “+1” each time, and α
When the contents of the memory 1 become equal to the contents of the m memory, the determination result of the Stellar fF 11 becomes YES, and the SD line graphing process ends.

なお、上記実施例では、S、Dメモリ31、LRメモリ
32f!:統計専用メモリとして設けたが、統計用に限
定せず、直接データの書込みを可能にすれば、任意の棒
グラフあるいは折線グラフを作成することができる。
In the above embodiment, the S and D memories 31 and the LR memory 32f! :Although it is provided as a statistics-only memory, it is not limited to statistics, and if data can be written directly, any bar graph or line graph can be created.

〔発明の効果〕〔Effect of the invention〕

以“上詳記したように本発明によれば、予め設定したX
軸範囲及びメモリ数によル、入力されたデータに対応す
るメモリを決定し、その内容をデータ数分だけ増減し、
棒グラフあるいは折線グラフの作成にあたっては、その
対応するメモリを参照して行なうようにしたので、統計
データあるいは予めメモリに記憶した内容を簡単なキー
操作で例えば棒グラフ化あるいは折線グラフ化すること
ができるグラフ表示装置を提供し得るものである。
As described in detail above, according to the present invention, the preset
Based on the axis range and number of memories, determine the memory corresponding to the input data, increase or decrease its contents by the number of data,
When creating a bar graph or a line graph, the corresponding memory is referenced, so statistical data or content stored in memory in advance can be converted into a bar graph or a line graph with a simple key operation. A display device can be provided.

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

図面は本発明の一実施例を示すもので、第1図は回路構
成を示すブロック図、第2図はグラフ表示画面の構成例
を示す図、第3図はグラフ作成時のキー人力操作例を示
すフローチャート、第4図(1)は統計用データの入力
例を示す図、第4図(b)は1変数統計用デ一タ入力時
のキー操作例及びグラフ種類指定例を示す図、第4図(
e)は2変数統計用デ一タ入力時のキー操作例及びグラ
フ種類指定例を示す図、第5図はキー人力された統計用
データに対する処理動作を示すフローチャート、第6図
はグラフ作成動作を示すフローチャート、第7図(a)
、伽)は第6図における棒グラフ化処理の詳細を示すフ
ローチャート及びグラフ表示例を示す図、第8図(a)
 、 (b)は第6図におけるLR折線グラフ化処理の
詳細を示すフローチャート及びグラフ表示例を示す図、
第9図(a) 、 Cb)は第6図におけるSD折線グ
ラフ化処理の詳細を示すフローチャート及びグラフ表示
例を示す図で6る。 10・・・キー人力部、11・・・テンキー、13・・
・Graphキー、14 = Lineキー、15−・
・レンジキー、16・・・SDキー、12・・−LRキ
ー、18・・・DTキー、19・・・実行キー、20・
・・制御部、21・・・演算回路、22・・・数式バッ
ファ、23・・・表示バッファ、24・・・記憶部、2
5・・・アドレス指定部、26・・・表示部、26&・
・・テキスト表示エリア、26b・・・グラフ表示エリ
ア、31・・−8Dメモリ、32・・・LRメモリ、3
3・・・レンジメモリ、34・−Xメモリ、35・・・
Yメモリ、36・・・正規分布メモリ、37・・・演算
用メモリ。 出願人代理人  弁理士 鈴 江 武 彦第5図 第2図 化7°メンμmけ刷 第3図 一ノ                       
         −ノ第 7 (b) 医 (b) 第 (b)
The drawings show one embodiment of the present invention. Fig. 1 is a block diagram showing the circuit configuration, Fig. 2 is a diagram showing an example of the structure of a graph display screen, and Fig. 3 is an example of manual key operation when creating a graph. FIG. 4(1) is a diagram showing an example of inputting statistical data, FIG. 4(b) is a diagram showing an example of key operation and graph type specification when inputting statistical data for one variable, Figure 4 (
e) is a diagram showing an example of key operations and an example of graph type specification when inputting two-variable statistical data, Figure 5 is a flowchart showing processing operations for statistical data entered manually, and Figure 6 is a graph creation operation. Flowchart showing FIG. 7(a)
, 伽) is a flowchart showing the details of the bar graphing process in FIG. 6 and a diagram showing an example of graph display, and FIG. 8(a)
, (b) is a flowchart showing details of the LR line graphing process in FIG. 6 and a diagram showing an example of graph display,
9(a) and Cb) are flowcharts showing details of the SD line graphing process in FIG. 6, and diagrams showing examples of graph display. 10... Key human power department, 11... Numeric keypad, 13...
・Graph key, 14 = Line key, 15-・
・Range key, 16...SD key, 12...-LR key, 18...DT key, 19...Execution key, 20...
...Control unit, 21...Arithmetic circuit, 22...Math buffer, 23...Display buffer, 24...Storage unit, 2
5...Address designation section, 26...Display section, 26 &...
...Text display area, 26b...Graph display area, 31...-8D memory, 32...LR memory, 3
3...Range memory, 34-X memory, 35...
Y memory, 36... Normal distribution memory, 37... Memory for calculation. Applicant's Representative Patent Attorney Takehiko Suzue Figure 5 Figure 2 Diagram 7° Menu Print Figure 3 Ichino
- No. 7 (b) Medical (b) No. (b)

Claims (1)

【特許請求の範囲】[Claims] 数値データを入力する手段と、棒グラフ、折線グラフ等
のグラフの種類を指定する手段と、グラフデータを表示
する表示部と、この表示部に対してグラフ化可能な数値
の範囲データを記憶するメモリと、上記入力数値データ
または入力数値の累計値の上記画面に対応する位置を上
記メモリに基づいて決定し、上記指定されたグラフの種
類に従って上記表示部に表示する手段とを具備したこと
を特徴とするグラフ表示装置。
A means for inputting numerical data, a means for specifying the type of graph such as a bar graph or a line graph, a display section for displaying graph data, and a memory for storing numerical range data that can be graphed for this display section. and means for determining the position corresponding to the screen of the input numerical data or the cumulative value of the input numerical values based on the memory, and displaying it on the display section according to the specified graph type. Graph display device.
JP60110918A 1985-05-23 1985-05-23 Graph display device Pending JPS61267856A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60110918A JPS61267856A (en) 1985-05-23 1985-05-23 Graph display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60110918A JPS61267856A (en) 1985-05-23 1985-05-23 Graph display device

Publications (1)

Publication Number Publication Date
JPS61267856A true JPS61267856A (en) 1986-11-27

Family

ID=14547929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60110918A Pending JPS61267856A (en) 1985-05-23 1985-05-23 Graph display device

Country Status (1)

Country Link
JP (1) JPS61267856A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01138152U (en) * 1988-03-17 1989-09-21
US5734382A (en) * 1991-12-25 1998-03-31 Sharp Kabushiki Kaisha Portable electronic equipment having function of drawing box chart
JP2010164597A (en) * 2009-01-13 2010-07-29 Renesas Electronics Corp Histogram display circuit and histogram display method
JP2014207612A (en) * 2013-04-15 2014-10-30 株式会社Nttぷらら Content server device, content providing apparatus, content providing system, content providing method, and content providing program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5947638A (en) * 1982-09-08 1984-03-17 Sharp Corp Chart producing device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5947638A (en) * 1982-09-08 1984-03-17 Sharp Corp Chart producing device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01138152U (en) * 1988-03-17 1989-09-21
US5734382A (en) * 1991-12-25 1998-03-31 Sharp Kabushiki Kaisha Portable electronic equipment having function of drawing box chart
JP2010164597A (en) * 2009-01-13 2010-07-29 Renesas Electronics Corp Histogram display circuit and histogram display method
JP2014207612A (en) * 2013-04-15 2014-10-30 株式会社Nttぷらら Content server device, content providing apparatus, content providing system, content providing method, and content providing program

Similar Documents

Publication Publication Date Title
JPS61276053A (en) Electronic calculator equipped with graph-display function
JPH01211067A (en) Document editing device
JPS60204002A (en) Mimic fuzzy estimating operating system of fuzzy control device
JPH03206552A (en) Display processing system
JPS61267856A (en) Graph display device
JPS6049425A (en) Display system for sentence processor
JPS6239452B2 (en)
JPH03268185A (en) Table calculation method and system
JPS61267857A (en) Graph display device
JP2659907B2 (en) Document processing device
JPS61275959A (en) Electronic calculator with graphic display function
JP2672940B2 (en) Document processing device
JPH0361212B2 (en)
JPH0496097A (en) Scrolling control system
JPS6258379A (en) Adverse simulation device for graph transformation
JPH067393Y2 (en) Electronics
JPS5854416A (en) Operating method of computer
JPH01280866A (en) Japanese word processing system
JPS5947680A (en) Electronic graph producer
JPH0638250B2 (en) Small electronic calculator with graph display function
Allen Requirements for a Research-Oriented IC Design System
JPH04174056A (en) Document processor
JPS6228244U (en)
JPH0844802A (en) Device and system for displaying graph of calculation table
JPH0217503A (en) Programmable controller