JPS60262694A - Graph forming machine having scale-up function - Google Patents

Graph forming machine having scale-up function

Info

Publication number
JPS60262694A
JPS60262694A JP11937184A JP11937184A JPS60262694A JP S60262694 A JPS60262694 A JP S60262694A JP 11937184 A JP11937184 A JP 11937184A JP 11937184 A JP11937184 A JP 11937184A JP S60262694 A JPS60262694 A JP S60262694A
Authority
JP
Japan
Prior art keywords
graph
data
plotting
value
offset
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.)
Granted
Application number
JP11937184A
Other languages
Japanese (ja)
Other versions
JPH054238B2 (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.)
Ricoh Co Ltd
Ricoh Denshi Kogyo KK
Original Assignee
Ricoh Co Ltd
Ricoh Denshi Kogyo KK
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 Ricoh Co Ltd, Ricoh Denshi Kogyo KK filed Critical Ricoh Co Ltd
Priority to JP11937184A priority Critical patent/JPS60262694A/en
Publication of JPS60262694A publication Critical patent/JPS60262694A/en
Publication of JPH054238B2 publication Critical patent/JPH054238B2/ja
Granted legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、グラフの差の部分を拡大した形で表示し、相
互の比較を容易にしたグラフを描くことのできるグラフ
作成機に関するものである6(従来技術) 一般にグラフの表示において、相対的に差の少ないデー
タをそのままグラフ表示すると、第1図に示すように相
互の差が読み取りにくいものどなる。スケールを拡大す
れば、差が読み取りやずくなるが、グラフ全体が異常に
大きくなって実用的でない。そこで第2図のようにスケ
ールを拡大した」二でスケールの一部を省略することに
よりデータの差は容易に読み取ることができ、しかもグ
ラフ全体か異常に大きくなることのないようにする手法
が手書きのグラフ描画においては行オ)れている。
[Detailed Description of the Invention] (Field of Industrial Application) The present invention relates to a graphing machine that can draw graphs that display differences between graphs in an enlarged form and facilitate mutual comparison. 6 (Prior Art) In general, when displaying a graph, if data with relatively small differences are displayed as they are, the differences between them will be difficult to read, as shown in FIG. If you enlarge the scale, it will be easier to read the difference, but the entire graph will become abnormally large, making it impractical. Therefore, we enlarged the scale as shown in Figure 2.2 By omitting part of the scale, the difference in data can be easily read, and at the same time, there is a method that prevents the entire graph from becoming abnormally large. In hand-drawn graphs, the lines are o).

しかし、そのような手法を機械の機能として実現し得た
グラフ作成機は、従来なかった。
However, there has never been a graphing machine that has been able to implement such a method as a mechanical function.

(発明の目的) 本発明は、第2図に示すような、グラフを拡大するとと
もにスケールの一部を省略して描いたグラフを作成する
ことのできるグラフ作成機を提供することを目的とする
ものである。
(Object of the Invention) An object of the present invention is to provide a graph creation machine capable of creating a graph drawn by enlarging the graph and omitting part of the scale, as shown in FIG. It is something.

(発明の構成) 本発明のグラフ作成機は、記憶手段に蓄えられているグ
ラフデータ中の最大値と最小値とを検出し、検出した最
大値と最小値の差をめ、その差が全体の大きさに対し占
める割合を算出し、その値をダ基準値と比較して拡大す
べきか否かを判定する拡大判定手段と、拡大グラフを作
成する場合のオフセラ1〜値を演算するオフセラ1〜演
算手段と、拡大判定手段の出力に応して前記オフセット
演算手段の出力する拡大用のオフセラ1へ値かまたは拡
大を行わない標で95のオフセット値の何れかを選択す
る選択手段と、記憶手段からのグラフデータと前記選択
手段からのオフセット値とに基づいてグラフ作図データ
を発生する手段と、拡大すべきとき、省略表示線等のス
ケールに関する作図データを発生する手段と、拡大すべ
きとき、前記グラフ作図データと前記スケールに関する
作図データとから省略表示を行うための修正を行ったデ
ータによるグラフ作図命令を作成する作図データ修正手
段と、グラフ作図命令に従ってグラフをシート上に描く
プロッタとを備えたことを特徴とする。
(Structure of the Invention) The graph creation machine of the present invention detects the maximum value and minimum value in the graph data stored in the storage means, calculates the difference between the detected maximum value and minimum value, and calculates the difference between the detected maximum and minimum values. an enlargement determination means that calculates a proportion of the size of the graph and compares the value with a standard value to determine whether or not to enlarge the graph; ~ calculation means, and selection means for selecting either the value output by the offset calculation means for offset 1 for expansion or the 95 offset values as a mark for not performing expansion, according to the output of the expansion determination means; means for generating graph plotting data based on the graph data from the storage means and the offset value from the selection means; means for generating plotting data regarding a scale such as an abbreviated display line when enlargement is to be performed; a plotting data modifying means for creating a graph plotting command based on data modified for abbreviated display from the graph plotting data and the plotting data regarding the scale; and a plotter for plotting a graph on a sheet in accordance with the graph plotting command. It is characterized by having the following.

(実施例の説明) 第3図は本発明の一実施例を示すブロック図である。(Explanation of Examples) FIG. 3 is a block diagram showing one embodiment of the present invention.

キー人力手段」は、作図すべきグラフのデータを入力す
るためのテンキー、実行すべき諸機能を指定する種々の
機能キーおよび表示ランプ等を備えている。
The "key manual means" is equipped with a numeric keypad for inputting data for a graph to be drawn, various function keys for specifying various functions to be executed, display lamps, etc.

記憶手段2は、本装置をキー人力手段1で指定された機
能を実行させるために必要なプログラムおよび入力され
たグラフ作成用のデータを蓄えるメモリーである。
The storage means 2 is a memory that stores programs necessary for causing this device to execute the functions specified by the key human power means 1 and input data for creating graphs.

最大値検出手段3は、使用する記憶手段2中のデータの
うちその値が最大のものをめるものである。最小値検出
手段4は、使用する記憶手段2中のデータのうちその値
が最小のものをめるものである。
The maximum value detection means 3 detects the data having the maximum value among the data in the storage means 2 to be used. The minimum value detection means 4 detects the minimum value of the data in the storage means 2 to be used.

差分割合検出手段5は、データ中の最大値と最小値との
差か最大値に対してどの位の割合になるかを泪算するも
のである。即ち、((最大値−最〕」1値)/最大値)
の演算を行う、 標準データ設定手段6はスケールの拡大省略表示をする
か否かの限界を定めるデータを設定するものである。そ
のデータとしては例えば0.2(20%)に設定する。
The difference ratio detection means 5 calculates the ratio of the difference between the maximum value and the minimum value in the data to the maximum value. That is, ((maximum value - maximum) 1 value)/maximum value)
The standard data setting means 6, which performs the calculation, sets data that determines the limit of whether or not to display the enlarged scale or omit it. The data is set to 0.2 (20%), for example.

比較手段7は、差分割合演算手段5で演算した差分割合
値と標準データ設定手段6の設定値とを比較し、差分割
合値のほうが大きいときは拡大を表す信号を出力し、そ
うでないときは通常表示を表す信号を出力する。
The comparison means 7 compares the difference ratio value calculated by the difference ratio calculation means 5 and the set value of the standard data setting means 6, and outputs a signal indicating enlargement when the difference ratio value is larger, and when it is not. Outputs a signal representing normal display.

オフセント演算手段8は、グラフ表示のオフセット値即
ち拡大表示する場合のグラフ図」二でのゼロのレベルの
実際のデータ値を決定するための演算を行うものである
。換言すれば、棒グラフを例にとると、棒グラフの下部
を切り捨てて上部だけを残し、その下端をグラフの原点
軸に一致させるような方法で拡大表示する場合において
、その下端の実際のデータ値をめるものである。オフセ
ラ1〜値は、 (最小値−(最大値−最小値)*α) の演算によって算出する。但し、αは拡大率を決める係
数である。α=1に設定した場合は、原点軸から最小値
までの長さと最小値から最大値までの長さが等しく描か
れる。
The offset calculation means 8 performs calculations to determine the offset value of the graph display, that is, the actual data value of the zero level in the graph when the graph is enlarged. In other words, taking a bar graph as an example, if you cut off the bottom of the bar graph, leaving only the top, and you zoom in such a way that the bottom edge coincides with the graph's origin axis, the actual data value at the bottom edge is It is something that can be enjoyed. Offseller 1 ~ value is calculated by the following calculation: (Minimum value - (Maximum value - Minimum value) * α). However, α is a coefficient that determines the magnification rate. When α=1 is set, the length from the origin axis to the minimum value and the length from the minimum value to the maximum value are drawn equally.

標準オフセン1〜設定手段9は、標準のオフセット値即
ち拡大表示を行わないときのオフセラ1〜値を設定する
ためのものである。通常はこの標準オフセラ1〜値は0
に設定されている。
The standard offset values 1 to 9 are for setting standard offset values, that is, offset values 1 to 9 when no enlarged display is performed. Normally, this standard offset value is 1 to 0.
is set to .

選択手段10ば、比較手段7による比較の結果が拡大で
あるときはオフセット演算手段8の出力値を、そうでな
いときは標準オフセット設定手段9の出力値をそれぞれ
選択するものである。
The selection means 10 selects the output value of the offset calculation means 8 when the result of the comparison by the comparison means 7 indicates enlargement, and otherwise selects the output value of the standard offset setting means 9.

グラフ作図データ発生手段11は、記憶手段2に記憶さ
れているグラフデータと選択手段10からのオフセット
値とに基づいてグラフの作図用データを発生させるもの
である。拡大を行わない場合には標準オフセラ1−値が
用いられるので、標準のグラフ作図データが発生され、
拡大を行う場合には、オフセント演算手段8のオフセソ
I・値が用いられるので、拡大グラフ作図データが発生
される。
The graph drawing data generation means 11 generates graph drawing data based on the graph data stored in the storage means 2 and the offset value from the selection means 10. If no enlargement is performed, the standard offset 1-value is used, so standard graph plotting data is generated.
When enlarging, the offset I value of the offset calculation means 8 is used, so enlarged graph drawing data is generated.

スケールライン作図データ発生手段]2は、選択手段1
0からのオフセット値と、比較手段7からの拡大の有無
の信号とに基づいて、拡大がある場合には第2図に示す
ような省略表示線(波線)のための作図データを発生す
るとともに、拡大用のスケールおよびスケールライン用
のデータを発生し、また拡大がない場合には省略表示線
は発生させず、標準のスケールおよびスケールライン用
のデータを発生するものである。
Scale line drawing data generation means] 2 is the selection means 1
Based on the offset value from 0 and the signal indicating the presence or absence of enlargement from the comparison means 7, if there is enlargement, it generates plotting data for the abbreviated display line (wavy line) as shown in FIG. , generates data for the scale and scale line for enlargement, and does not generate an abbreviation display line when there is no enlargement, and generates data for the standard scale and scale line.

作図データ修jT−,手段]3は、拡大を行う場合にお
いて、第2図に示すように2木の省略表示線の間を空白
にしてグラフの描画を行うために、グラフ作図データ発
生手段11およびスケールライン作図データ発生手段1
2からの作図データを変更修正した作図データを発生し
、プロッタ14へ゛のグラフ作図用命令を作成するもの
である。
Graph drawing data generating means 11 is used to draw a graph with a blank space between the two trees' omitted display lines as shown in FIG. 2 when enlarging. and scale line drawing data generation means 1
The plotting data obtained by changing and correcting the plotting data from 2 is generated, and a graph plotting command for the plotter 14 is created.

プロッタ14は、作図データ修正手段13がらのグラフ
作図用命令に従ってプロッタ機構部を制御してシート]
−にグラフ図形を画く出力部である。
The plotter 14 controls the plotter mechanism section in accordance with the graph plotting command from the plotting data correction means 13 to produce a sheet]
This is an output section that draws a graph figure on -.

以上のように構成された本実施例のグラフ作成機の動作
の概要はつぎの通りである。
An outline of the operation of the graph creation machine of this embodiment configured as described above is as follows.

グラフ作図用命令の作成において、先ず拡大した表示に
するか否かの判定が行われる。即ち、最大値検出手段3
によりデータ中の最大値を検出し、最小値検出手段4に
よりデータ中の最小値を検出し、差分割合演算手段5に
より(最小値−(最大値−最小値)*α)の演算を行っ
てグラフデータの差の部分の全体に対する割合がめられ
る。そして、得られたその割合が基準値より大きいか否
かを比較手段7により判定し、その判定結果を示す信号
を出力する。
In creating a graph drawing command, first, it is determined whether or not to display an enlarged image. That is, the maximum value detection means 3
The maximum value in the data is detected by the minimum value detection means 4, the minimum value in the data is detected by the minimum value detection means 4, and the difference ratio calculation means 5 calculates (minimum value - (maximum value - minimum value) * α). The ratio of the difference part of the graph data to the whole can be calculated. Then, the comparison means 7 determines whether or not the obtained ratio is larger than the reference value, and outputs a signal indicating the determination result.

拡大すべきか否かが決定されると、その決定の結果に応
したグラフ作図命令が作成される。拡大でないときは、
通常の方法でグラフ作図命令が作成されるが、拡大すべ
きであるときは、オフセットした作図データや省略表示
線データの発生、省略表示線間を空白にして表示するた
めの修正等が行われる。即ち、比較手段7の出力に応じ
て選択手段10により拡大すべきどきはオフセラ1−演
算手段8の出力を選択し、拡大の必要がないとの判定の
どきは標準オフセット値を選択する。グラフ作図データ
発生手段11は、拡大時にはオフセフ1〜演算手段8の
演算したオフセラ1〜値により拡大作図用のデータを作
成し、作図データ修正手段13ヘダ。
Once it is determined whether or not to enlarge, a graph drawing command is created according to the result of the determination. When not enlarged,
A graph drawing command is created in the usual way, but when it needs to be enlarged, offset drawing data and omitted display line data are generated, corrections are made to display blank lines between omitted display lines, etc. . That is, depending on the output of the comparison means 7, the selection means 10 selects the output of the offseller 1-calculation means 8 when expansion is required, and selects the standard offset value when it is determined that expansion is not necessary. At the time of enlargement, the graph plotting data generating means 11 creates data for enlarged plotting based on the values calculated by the offsetting section 1 to the calculating means 8, and outputs the data to the plotting data correcting section 13.

える。また、スケールライン作図データ発生手段12は
、拡大時に省略表示用の2本の波線を表すデータを発生
し、作図データ修正手段13へ与える。
I can do it. Furthermore, the scale line drawing data generating means 12 generates data representing two wavy lines for abbreviated display during enlargement, and supplies it to the drawing data correcting means 13.

作図データ修正手段]3は、比較手段7からの拡大の判
定信号を受けたとき手段1.1.12からのデータが拡
大用のものであることを認識して各データに修正を行う
。第2図を例にとると棒グラフDを描画するための線分
a−bを表すデータと波線Aおよび波線Bを表すデータ
とから交点c、dをめ、線分a −cを表す作図データ
と線分d”−bを表す作図データとを発生する。従って
、c、d間には線を描かないで空白とすることができ、
このような表示描画ができることにより、拡大且つ省略
表示であることがグラフを見るものにとって一目瞭然と
なる。
When the drawing data correction means 3 receives the enlargement determination signal from the comparison means 7, it recognizes that the data from the means 1.1.12 is for enlargement and makes corrections to each data. Taking Fig. 2 as an example, data representing line segment a-b for drawing bar graph D and data representing wavy line A and wavy line B meet intersection points c and d, and drawing data represents line segment a-c. and drawing data representing the line segment d”-b are generated. Therefore, no line can be drawn between c and d, leaving it blank.
By being able to display and draw in this manner, it becomes obvious to those viewing the graph that the graph is enlarged and abbreviated.

(発明の効果) 本発明によれは、グラフデータの最大値と最小値の差が
全体の大きさに比べて小さいとき、その差の値に応じた
オフセット値シたデータでグラフを描画し得るように構
成するとともに、省略表示を2本の線とその線間にグラ
フの描画を行わないように構成しているので、必要あれ
ば常に適切に拡大し、しかも拡大表示であることを美観
を損うことなく省略表示したグラフを自動的に作成する
ことができる。
(Effects of the Invention) According to the present invention, when the difference between the maximum value and the minimum value of graph data is small compared to the overall size, a graph can be drawn using data with an offset value corresponding to the value of the difference. In addition, the abbreviated display is configured to have two lines and no graph is drawn between the lines, so it is always enlarged appropriately if necessary, and the enlarged display is aesthetically pleasing. Abbreviated graphs can be automatically created without loss.

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

第1図は拡大しないグラフの一例をノf<す図である。 、第2図は拡大表示するとともに、省略表示線を入れた
グラフの一例を示す図である。第3図は本発明の一実施
例を示すブロック図である。 1 ・ キー人力手段、2 ・・記憶手段、3 ・・最
大値検出手段、4 ・・ 最小値検出手段、5 ・・・
差分割合演算手段、6 ・・・標準データ設定手段、7
 ・・・比較手段、8 ・・ 標準オフセット設定手段
、9 ・・・オフセット演算手段、10 ・・選択手段
、11 ・ グラフ作図データ発生手段、12 ・・ス
ケールライン作図データ発生手段、13 ・・作図デー
タ修正手段、14 プロッタ。 第1図 20.000.−−− 、、 − − − − −− 
−15.0)Oj − 13α℃ −−−−−−−−−一−−−−−−−−−−
−−−−−−−−−−−−−−−−−−[−
FIG. 1 is a diagram showing an example of a graph that is not enlarged. , FIG. 2 is a diagram showing an example of a graph that is enlarged and has an abbreviation line. FIG. 3 is a block diagram showing one embodiment of the present invention. 1. Key manual means, 2. Storage means, 3. Maximum value detection means, 4. Minimum value detection means, 5..
Difference ratio calculation means, 6...Standard data setting means, 7
... Comparison means, 8 ... Standard offset setting means, 9 ... Offset calculation means, 10 ... Selection means, 11 - Graph drawing data generation means, 12 ... Scale line drawing data generation means, 13 ... Plotting Data correction means, 14 Plotter. Figure 1 20.000. −−− ,, − − − − −−
−15.0) Oj − 13α℃ −−−−−−−−−−−−−−−−−−
−−−−−−−−−−−−−−−−−−[−

Claims (1)

【特許請求の範囲】 キー人力手段と、 グラフのデータを記憶する記憶手段と、その記憶手段に
蓄えられているグラフデータ中の最大値と最小値とを検
出する手段、検出した最大値と最小値の差をめ、その差
が全体の大きさに対し占める割合を演算する差分割合演
算手段。 およびその差分割合演算手段の出力を基準値と比較して
拡大すべきか否か登判定する比較手段からなる拡大判定
手段と、 拡大グラフを作成する場合のオフセント値を演算するオ
フセット演算手段と、 拡大判定手段の出力に応じて前記オフセット演算手段の
出力する拡大用のオフセット値かまたは拡大を行わない
標準のオフセット値の伺わかを選択する選択手段と、 記憶手段からのグラフデータと前記選択手段からのオフ
セラ1−値とに基づいてグラフ作図データを発生する手
段と、 拡大すべきとき、省略表示線等のスケールに関する作図
データを発生する手段と、 拡大すべきとき、前記グラフ作図データと前記スケール
に関する作図データとから省略表示を行うための修正を
行ったデータによるグラフ作図命令を作成する作図デー
タ修正手段と、 グラフ作図命令しこ従ってグラフをシート上に描くプロ
ッタと、 を備えたことを特徴とするグラフ作成機。
[Claims] Key human power means, storage means for storing graph data, means for detecting the maximum and minimum values in the graph data stored in the storage means, and the detected maximum and minimum values. Difference ratio calculation means that calculates the difference in values and calculates the proportion of the difference to the total size. and an enlargement determination means comprising a comparison means for comparing the output of the difference ratio calculation means with a reference value and determining whether or not to enlarge; an offset calculation means for calculating an offset value when creating an enlarged graph; a selection means for selecting whether to output an enlarged offset value or a standard offset value without enlargement, which is output by the offset calculation means, according to the output of the determination means; and from the graph data from the storage means and the selection means. means for generating graph plotting data based on the offsera 1-value of; means for generating plotting data regarding a scale such as an abbreviation line when enlargement is to be performed; A plotting data correction means for creating a graph plotting command based on the data modified for displaying in abbreviated form from the plotting data related to the plotting data, and a plotter for plotting the graph on a sheet in accordance with the graph plotting command. A graphing machine that does this.
JP11937184A 1984-06-11 1984-06-11 Graph forming machine having scale-up function Granted JPS60262694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11937184A JPS60262694A (en) 1984-06-11 1984-06-11 Graph forming machine having scale-up function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11937184A JPS60262694A (en) 1984-06-11 1984-06-11 Graph forming machine having scale-up function

Publications (2)

Publication Number Publication Date
JPS60262694A true JPS60262694A (en) 1985-12-26
JPH054238B2 JPH054238B2 (en) 1993-01-19

Family

ID=14759844

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11937184A Granted JPS60262694A (en) 1984-06-11 1984-06-11 Graph forming machine having scale-up function

Country Status (1)

Country Link
JP (1) JPS60262694A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012203605A (en) * 2011-03-25 2012-10-22 Hitachi Appliances Inc Graph creation device and graph creation method
US9262043B2 (en) 2010-09-03 2016-02-16 Nec Corporation Display processing system, display processing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9262043B2 (en) 2010-09-03 2016-02-16 Nec Corporation Display processing system, display processing method, and program
JP2012203605A (en) * 2011-03-25 2012-10-22 Hitachi Appliances Inc Graph creation device and graph creation method
CN102841787A (en) * 2011-03-25 2012-12-26 日立空调·家用电器株式会社 Chart generation device and chart generation method

Also Published As

Publication number Publication date
JPH054238B2 (en) 1993-01-19

Similar Documents

Publication Publication Date Title
JPS60262694A (en) Graph forming machine having scale-up function
JPS63186329A (en) Pre-processor for trigonometric function
JP3464874B2 (en) Method and apparatus for tracing point sequence by Bezier curve
JPH07105362A (en) Generator for sampling point of curve
JP3214185B2 (en) Continuous curve generator
JPH06111026A (en) Graph display device
JP2875135B2 (en) Program device for programmable controller
GB2158623A (en) Electronic calculator
JPH0785132A (en) Graphic processor
JP3211404B2 (en) String output device
JPH03229379A (en) Data processor
JPH0721802B2 (en) Formula editing device
JPH0194483A (en) Layout design supporting device
JPH06149964A (en) Image processor
JPH052521A (en) Connection system for multi-medium data file
JPH0214385A (en) Method for external form creating processing
JPS62288924A (en) System for selecting function by pointer device
JPH06162010A (en) Document preparing device
JPH04131973A (en) Graphic output device
JPH07296029A (en) Dimension line editing method
JPS63118866A (en) Document processor
JPH0553752A (en) Page image partial display control system
JPH02129757A (en) Information processor
JPH10124692A (en) Plotting circuit
JPH0580970A (en) Broken line generating device