JPH05324845A - Graph generating device - Google Patents

Graph generating device

Info

Publication number
JPH05324845A
JPH05324845A JP13313992A JP13313992A JPH05324845A JP H05324845 A JPH05324845 A JP H05324845A JP 13313992 A JP13313992 A JP 13313992A JP 13313992 A JP13313992 A JP 13313992A JP H05324845 A JPH05324845 A JP H05324845A
Authority
JP
Japan
Prior art keywords
data
graph
scale
optimization
output
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.)
Withdrawn
Application number
JP13313992A
Other languages
Japanese (ja)
Inventor
Yasuhisa Nakamura
泰久 中村
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.)
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe Ltd
Original Assignee
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe 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 KOBE NIPPON DENKI SOFTWARE KK, NEC Software Kobe Ltd filed Critical KOBE NIPPON DENKI SOFTWARE KK
Priority to JP13313992A priority Critical patent/JPH05324845A/en
Publication of JPH05324845A publication Critical patent/JPH05324845A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To output a graph on which variation of data can be recognized most easily by checking the variance state of the data and optimizing a scale when the graph is displayed. CONSTITUTION:The data are obtained from an input device 1 through a graph data input means 3 under the control of a control part 10 and an optimization checking means 4 checks the necessity of optimization; when the optimization is necessary, a scale information generating means 5 generates scale information required for the optimization and a data converting means 7 converts the data according to the scale information. Then, a graph image generating means 8 generate a graph image according to the converted data and the scale- optimized graph is displayed on an output device 2 through a graph image output means 9.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、グラフ生成装置に関
し、特に、電子計算機によるグラフ出力を行なうグラフ
生成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graph generating device, and more particularly to a graph generating device for outputting a graph by an electronic computer.

【0002】[0002]

【従来の技術】従来の技術について図7に示す例を参照
しながら説明する。
2. Description of the Related Art A conventional technique will be described with reference to the example shown in FIG.

【0003】たとえば、図7(a) に示すような、A〜F
店におけるビールの販売本数の入力データをスケールの
最適化処理を行わずにグラフ出力を行うと、グラフの表
示スケールはデータの最大値と0をもとに設定されるた
め、スケールは0から60000まで10000刻みと
なる(図7(b) :従来のグラフ)。この場合のようにデ
ータにばらつきがあまりない場合には、グラフに表示さ
れる各店のビールの本数の変動が小さくなり視覚的に認
識できなくなる。
For example, as shown in FIG.
When the input data of the number of beer sold in the store is output as a graph without performing the scale optimization process, the display scale of the graph is set based on the maximum value of data and 0, so the scale is 0 to 60,000. Up to 10000 steps (Fig. 7 (b): conventional graph). When there is not much variation in the data as in this case, the variation in the number of beers at each store displayed in the graph becomes small and it becomes impossible to visually recognize it.

【0004】[0004]

【発明が解決しようとする課題】上述したような入力デ
ータをグラフで表示する場合のように、あまりばらつき
のない入力データをグラフとして表示すると、データの
変動が視覚的に認識できない。
When input data having little variation is displayed as a graph as in the case of displaying the input data as a graph as described above, the fluctuation of the data cannot be visually recognized.

【0005】[0005]

【課題を解決するための手段】本発明のグラフ生成装置
は、利用者がグラフを出力するためのもととなるデータ
を入力する入力装置と、グラフを出力する出力装置と、
データ入力を制御し、グラフ出力に必要なデータのみの
取得を行うグラフデータ入力手段と、入力されたデータ
をもとにスケールの最適化処理の発生のチェックを行う
最適化チェック手段と、スケールの最適化処理の発生時
に最適化スケール情報の生成を行うスケール情報生成手
段と、最適化されたスケール情報を記憶する内部記憶装
置と、前記内部記憶装置に記憶されているスケール情報
をもとにデータの変換を行うデータ変換手段と、変換さ
れたデータをもとにグラフイメージの生成を行うグラフ
イメージ生成手段と、前記出力装置にグラフイメージを
出力するための制御を行うグラフイメージ出力手段と、
グラフ出力に関する作業の流れの制御を行う制御部を備
え、グラフに表示するデータ群が特異な値であり視覚的
にスケールの最適化処理をしたほうが良いと判断される
時に、スケールを最適化して表示することを特徴とす
る。
A graph generation device of the present invention includes an input device for inputting data which is a basis for a user to output a graph, and an output device for outputting a graph.
Graph data input means that controls data input and acquires only the data necessary for graph output, optimization check means that checks the occurrence of scale optimization processing based on the input data, and scale Scale information generating means for generating optimized scale information when an optimization process occurs, an internal storage device for storing optimized scale information, and data based on the scale information stored in the internal storage device. Data conversion means for converting the data, graph image generation means for generating a graph image based on the converted data, graph image output means for controlling the output device to output a graph image,
It has a control unit that controls the work flow related to graph output, optimizes the scale when it is judged that the data group displayed in the graph has a unique value and it is better to perform the scale optimization process visually. It is characterized by displaying.

【0006】[0006]

【実施例】次に、本発明について図面を参照して説明す
る。図1は、本発明の一実施例を示す構成図である。こ
の実施例は、利用者がデータを入力する入力装置1とグ
ラフを出力する出力装置2の2つの外部装置と、スケー
ル最適化グラフ生成装置11で構成する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. This embodiment comprises two external devices, an input device 1 for a user to input data and an output device 2 for outputting a graph, and a scale optimization graph generation device 11.

【0007】利用者からグラフ出力の指示を受ければ、
スケール最適化グラフ生成装置11の制御部10が、グ
ラフデータ入力手段3を呼び出し、利用者が入力装置1
から入力したデータの中からグラフ出力に必要となるデ
ータの抽出を行い、抽出されたデータを最適化チェック
手段4に渡し、データの妥当チェックおよびデータのば
らつきチェックを行い、スケール最適化処理が必要であ
るか否かを判断する。次に、制御部10はスケール最適
化処理が必要でなければ入力データをそのままグラフイ
メージ生成手段8に渡し、スケール最適化処理が必要で
あればスケール情報生成手段5を呼び出しスケール最適
化に必要なスケール情報を生成し内部記憶装置6に書き
込む作業を行い、続いてデータ変換手段7を呼び出し内
部記憶装置6の情報をもとにデータの変換作業を行い、
変換したデータをグラフイメージ生成装置8に渡す。グ
ラフイメージ生成装置8ではデータをもとに出力装置2
でグラフを出力するためのコードでグラフイメージを生
成する。
If the user receives a graph output instruction,
The control unit 10 of the scale optimization graph generation device 11 calls the graph data input means 3, and the user inputs the input device 1
Data required for graph output is extracted from the data input from, and the extracted data is passed to the optimization checking means 4, data validity check and data variation check are performed, and scale optimization processing is required. Or not. Next, the control unit 10 passes the input data as it is to the graph image generating unit 8 if the scale optimizing process is not necessary, and calls the scale information generating unit 5 if the scale optimizing process is necessary and requires it for the scale optimizing. The scale information is generated and written in the internal storage device 6, and then the data conversion means 7 is called to perform the data conversion work based on the information in the internal storage device 6,
The converted data is passed to the graph image generation device 8. In the graph image generation device 8, the output device 2 is based on the data.
Generate a graph image with the code to output the graph with.

【0008】最後に、制御部10はグラフ出力手段9を
呼び出し、グラフイメージ生成手段8で生成されたグラ
フイメージをもとに出力装置2にグラフを実際に出力す
る。
Finally, the control section 10 calls the graph output means 9 and actually outputs the graph to the output device 2 based on the graph image generated by the graph image generation means 8.

【0009】図2は、制御部10の流れ図であり、これ
について説明する。まず、グラフデータ入力手段(ステ
ップ21)を用いてグラフ出力するためのデータを取得
し、そのデータを降順にソート(ステップ22)する。
このデータをもとにスケール最適化処理の必要性チェッ
ク(ステップ23)を行い、スケール最適化処理の必要
性の有無により処理の流れが変わり(ステップ24)、
スケール最適化処理が必要であればスケール情報生成手
段(ステップ25)、データ変換手段(ステップ2
6)、グラフイメージ生成手段(ステップ27)の順に
処理し、スケール最適化処理が必要なければグラフイメ
ージ生成手段(ステップ28)のみを実行する。この時
点で出力するグラフイメージの作成は終了しているため
グラフ出力手段(ステップ29)を実行し終了する。
FIG. 2 is a flowchart of the control unit 10, which will be described. First, the graph data input means (step 21) is used to acquire data for graph output, and the data is sorted in descending order (step 22).
Based on this data, the necessity of scale optimization processing is checked (step 23), and the flow of processing changes depending on the necessity of scale optimization processing (step 24).
If scale optimization processing is required, scale information generation means (step 25) and data conversion means (step 2)
6), the graph image generating means (step 27) is processed in this order, and if the scale optimization processing is not necessary, only the graph image generating means (step 28) is executed. Since the creation of the graph image to be output at this point has been completed, the graph output means (step 29) is executed and the process is ended.

【0010】図3は、図2の最適化チェック(ステップ
23)の処理を説明する流れ図であり、これについて動
作の説明をする。
FIG. 3 is a flow chart for explaining the process of the optimization check (step 23) in FIG. 2, and the operation thereof will be described.

【0011】降順ソートされたデータの第1番目のデー
タ(データの最大値)と0をもとにスケールの最小値・
最大値・増分値の算出(ステップ31)を行い、算出さ
れたスケール最小値・最大値・増分値をもとにすべての
データを各クラス別に振り分けを行う(ステップ3
2)。
Based on the first data (maximum value of data) and 0 of the data sorted in descending order, the minimum value of the scale
The maximum value / incremental value is calculated (step 31), and all the data are sorted into each class based on the calculated scale minimum value / maximum value / incremental value (step 3).
2).

【0012】例えば、図7の入力データの場合クラス分
けは次のようになる。
For example, in the case of the input data shown in FIG. 7, the classification is as follows.

【0013】クラス1(0〜10000), クラス2(10000〜20000), クラス3(20000〜30000), クラス4(30000〜40000), クラス5(40000〜50000), クラス6(50000〜60000) となり、すべてのデータを各クラスに振り分けるとクラ
ス6に集中する。
Class 1 (0 to 10000), Class 2 (10000 to 20000), Class 3 (2000 to 30000), Class 4 (30000 to 40000), Class 5 (40000 to 50000), Class 6 (50000 to 60000) Therefore, if all data are distributed to each class, they will concentrate on class 6.

【0014】次に、クラス分けの結果、連続する3クラ
ス以内にすべてのデータが集中しているか否かの判定を
行い(ステップ33)、集中している場合、スケール最
適化フラグにはON(ステップ34)を、集中していな
い場合、スケール最適化フラグにはOFF(ステップ3
5)を設定し終了する。
Next, as a result of the classification, it is judged whether or not all the data are concentrated within three consecutive classes (step 33). If they are concentrated, the scale optimization flag is set to ON ( If the step 34) is not concentrated, the scale optimization flag is set to OFF (step 3).
Set 5) and finish.

【0015】図4は、図2のスケール情報生成ステップ
25の処理を説明する流れ図であり、これについて動作
の説明をする。
FIG. 4 is a flow chart for explaining the processing of the scale information generating step 25 of FIG. 2, and the operation thereof will be described.

【0016】降順ソートされたデータの第1番目のデー
タ(データの最大値)と最後のデータ(データ最小値)
をもとにスケールの最小値・最大値・増分値の算出(ス
テップ51)を行い、算出されたスケール最小値・最大
値・増分値を内部記憶装置に書き込み(ステップ52)
終了する。
The first data (maximum value of data) and the last data (minimum value of data) of the data sorted in descending order.
The minimum / maximum / increment value of the scale is calculated based on the above (step 51), and the calculated minimum / maximum / increment value of the scale is written to the internal storage device (step 52).
finish.

【0017】図5は、図2のデータ変換ステップ26の
処理を説明する流れ図であり、これについて動作の説明
をする。
FIG. 5 is a flow chart for explaining the processing of the data conversion step 26 of FIG. 2, and the operation thereof will be described.

【0018】内部記憶装置からスケール情報を読み込み
(ステップ61)、そのスケール情報にあわせてデータ
の変換を行う(ステップ62)、変換したデータを内部
記憶装置に書き込み(ステップ63)終了する。
The scale information is read from the internal storage device (step 61), the data is converted according to the scale information (step 62), and the converted data is written to the internal storage device (step 63).

【0019】図6は、この実施例による最適化グラブを
示す図であり、図7(b) に対応する。
FIG. 6 is a diagram showing an optimized grab according to this embodiment and corresponds to FIG. 7 (b).

【0020】[0020]

【発明の効果】以上説明したように本発明は、利用者が
設定したデータのばらつき状況により、スケールの最適
化を行ったほうが視覚的に良い場合にスケール最適化グ
ラフとして表示するため、データの変動が最も認識し易
いという効果を奏する。
As described above, according to the present invention, the scale optimization graph is displayed when it is visually better to optimize the scale depending on the variation condition of the data set by the user. This has the effect that fluctuations are most easily recognized.

【0021】しかも、本装置がデータのばらつき状況を
認識しスケール最適化の切り分けを行うため、利用者が
データの値を意識せずに視覚的に最適化したグラフを出
力する事ができる。
Moreover, since the present apparatus recognizes the data variation situation and performs the scale optimization division, the user can output a visually optimized graph without being aware of the data value.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】図1中の制御部の動作を説明する流れ図であ
る。
FIG. 2 is a flowchart illustrating an operation of a control unit in FIG.

【図3】図2中の最適化チェック動作を説明する流れ図
である。
FIG. 3 is a flowchart illustrating an optimization check operation in FIG.

【図4】図2中のスケール情報生成動作を説明する流れ
図である。
FIG. 4 is a flowchart illustrating a scale information generation operation in FIG.

【図5】図2中のデータ変換動作を説明する流れ図であ
る。
5 is a flowchart illustrating a data conversion operation in FIG.

【図6】この実施例による最適化グラブを示す図であ
る。
FIG. 6 shows an optimized grab according to this embodiment.

【図7】分図(a) は入力データを示す図、分図(b) は従
来例で作成したグラフを示す図である。
FIG. 7A is a diagram showing input data, and FIG. 7B is a diagram showing a graph created by a conventional example.

【符号の説明】[Explanation of symbols]

1 入力装置 2 出力装置 3 グラフデータ入力手段 4 最適化チェック手段 5 スケール情報生成手段 6 内部記憶装置 7 データ変更手段 8 グラフイメージ生成手段 9 グラフイメージ出力手段 10 制御部 11 スケール最適化グラフ生成装置 1 Input Device 2 Output Device 3 Graph Data Input Means 4 Optimization Checking Means 5 Scale Information Generating Means 6 Internal Storage Device 7 Data Changing Means 8 Graph Image Generating Means 9 Graph Image Output Means 10 Controller 11 Scale Optimization Graph Generating Means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 利用者がグラフを出力するためのもとと
なるデータを入力する入力装置と、グラフを出力する出
力装置と、データ入力を制御し、グラフ出力に必要なデ
ータのみの取得を行うグラフデータ入力手段と、入力さ
れたデータをもとにスケールの最適化処理の発生のチェ
ックを行う最適化チェック手段と、スケールの最適化処
理の発生時に最適化スケール情報の生成を行うスケール
情報生成手段と、最適化されたスケール情報を記憶する
内部記憶装置と、前記内部記憶装置に記憶されているス
ケール情報をもとにデータの変換を行うデータ変換手段
と、変換されたデータをもとにグラフイメージの生成を
行うグラフイメージ生成手段と、前記出力装置にグラフ
イメージを出力するための制御を行うグラフイメージ出
力手段と、グラフ出力に関する作業の流れの制御を行う
制御部を備え、グラフに表示するデータ群が特異な値で
あり視覚的にスケールの最適化処理をしたほうが良いと
判断される時に、スケールを最適化して表示することを
特徴とするグラフ生成装置。
1. An input device for inputting data as a basis for a user to output a graph, an output device for outputting a graph, and a data input control so that only data necessary for graph output is acquired. Graph data input means to perform, optimization check means to check the occurrence of scale optimization processing based on the input data, and scale information to generate optimized scale information when scale optimization processing occurs A generation unit, an internal storage device that stores optimized scale information, a data conversion unit that converts data based on the scale information stored in the internal storage device, and a conversion unit that stores the converted data. A graph image generating means for generating a graph image, a graph image outputting means for controlling the output of the graph image to the output device, and a graph outputting means. Equipped with a control unit that controls the work flow related to force, when the data group displayed in the graph is a unique value and it is judged that it is better to perform scale optimization visually, the scale is optimized and displayed. A graph generation device characterized by:
【請求項2】 前記制御部が、まず、グラフ出力するた
めのデータを取得し、そのデータを降順にソートし、こ
のデータをもとにスケール最適化処理の必要性チェック
を行い、スケール最適化処理が必要であればスケール情
報生成手段、データ変換手段、グラフイメージ生成手段
の順に処理し、スケール最適化処理が必要なければグラ
フイメージ生成手段のみを実行することを特徴とする請
求項1記載のグラフ生成装置。
2. The control unit first obtains data for graph output, sorts the data in descending order, checks the necessity of scale optimization processing based on this data, and performs scale optimization. The scale information generating means, the data converting means, and the graph image generating means are processed in this order if processing is necessary, and only the graph image generating means is executed if scale optimization processing is not necessary. Graph generator.
【請求項3】 前記最適化処理の必要性チェックにおい
て、降順ソートされたデータの第1番目のデータと0を
もとにスケールの最小値・最大値・増分値の算出を行
い、算出されたスケール最小値・最大値・増分値をもと
にすべてのデータを各クラス別に振り分けを行うことを
特徴とする請求項2記載のグラフ生成装置。
3. In the necessity check of the optimization process, the minimum value, the maximum value, and the increment value of the scale are calculated based on the first data of the data sorted in descending order and 0. 3. The graph generating apparatus according to claim 2, wherein all data are sorted into each class based on the minimum value, the maximum value, and the increment value of the scale.
JP13313992A 1992-05-26 1992-05-26 Graph generating device Withdrawn JPH05324845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13313992A JPH05324845A (en) 1992-05-26 1992-05-26 Graph generating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13313992A JPH05324845A (en) 1992-05-26 1992-05-26 Graph generating device

Publications (1)

Publication Number Publication Date
JPH05324845A true JPH05324845A (en) 1993-12-10

Family

ID=15097669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13313992A Withdrawn JPH05324845A (en) 1992-05-26 1992-05-26 Graph generating device

Country Status (1)

Country Link
JP (1) JPH05324845A (en)

Similar Documents

Publication Publication Date Title
JPH05324845A (en) Graph generating device
JPH10282984A (en) Pattern recognizing device, method therefor and information storage medium
US5787202A (en) Character recognition apparatus
JPH0561983A (en) Graph preparing system
JP2728534B2 (en) Byte position identification code setting processing method
JP2606443B2 (en) Voice recognition device
JP2835753B2 (en) Data input method
JPH06168074A (en) Common ionput/output device
JPH04309189A (en) Graph generating system
JPH07325703A (en) Data converting device/method
JPH08249093A (en) Automatic recognition and processing method for input signal
JPH0883114A (en) Numerical controller
JPH0635437A (en) Font manager
JPH01290015A (en) Command converter
JPH08161128A (en) Method for processing form overlay file output
JPH05225325A (en) Pattern data generation device
JPH05135183A (en) Control point data processor
JPH0567228A (en) Data processing terminal equipment
JPH05281954A (en) Screen generating device
JPH05128184A (en) Circuit diagram input device
JPH04294474A (en) Optical character reader
JPH0252078A (en) Apparatus for applying postal code number
JPH06175795A (en) Drawing output method
JPH07121285A (en) Character string input system
JP2003067046A (en) Transient phenomenon recording and evaluating device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990803