JPH05250482A - Graph plotter - Google Patents

Graph plotter

Info

Publication number
JPH05250482A
JPH05250482A JP4047319A JP4731992A JPH05250482A JP H05250482 A JPH05250482 A JP H05250482A JP 4047319 A JP4047319 A JP 4047319A JP 4731992 A JP4731992 A JP 4731992A JP H05250482 A JPH05250482 A JP H05250482A
Authority
JP
Japan
Prior art keywords
unit
graph
change
creating
axis
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
JP4047319A
Other languages
Japanese (ja)
Inventor
Kouji Kobari
康志 小梁
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4047319A priority Critical patent/JPH05250482A/en
Publication of JPH05250482A publication Critical patent/JPH05250482A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To easily and rapidly change units in implementing and editing a graph. CONSTITUTION:When instructing the change of unit of the graph axis displayed on a display section 4 by means of a mouse 1, the correspondence relation between the original graph axis unit and the changed unit stored in a corresponding table 12 is inputted in a unit change arithmetic operation section 14 to perform the arithmetic operation to change into the unit instructed to be changed. Based on the result of this arithmetic operation, a graph processing section 16 makes a graph display on a display section 4 in a unit instructed to be changed. Based on the unit change instruction, a unit name conversion section 15 makes a proper unit name. Further, a proper gradation numeric/space calculation section 17 automatically calculates the proper gradation numeric and space based on the unit change instruction and displays a graph axis in the changed unit.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パーソナル・コンピュ
ータ等による情報処理の1つであって、複数のデータか
らグラフを作成するグラフ作成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graph creating apparatus which is one of information processing by a personal computer or the like and creates a graph from a plurality of data.

【0002】[0002]

【従来の技術】従来のグラフ作成装置においてグラフを
作成する場合、グラフ化の対象となる複数のデータを、
該グラフ作成装置のグラフ・アプリケーションに入力
し、あるいは他のアプリケーションのデータが参照さ
れ、グラフの種類を選択し、選択されたグラフに必要な
パラメータを指定することにより、画面上へ描画され、
保存あるいは印刷出力等がなされ、所定のグラフが作成
される。
2. Description of the Related Art When a graph is created by a conventional graph creating apparatus, a plurality of data to be graphed are
It is drawn on the screen by inputting to the graph application of the graph creating device or by referring to the data of another application, selecting the type of graph, and specifying the necessary parameters for the selected graph,
The data is saved or printed out and a predetermined graph is created.

【0003】ここで、作成されるグラフには、軸座標の
目盛りの値や、円グラフの各データ項目の比率や値を示
す数値を表した文字列が含まれ、この文字列の数値は、
もとのデータの単位そのものを表示する場合とデータを
処理してから表示する場合とがある。いずれにしても、
従来から、グラフ中に現れる文字列に関しては、四捨五
入の桁位置、単位の付加、カンマの挿入あるいは文字属
性の変更などの修飾が行われていた。特に、目盛りに関
しては、目盛りの値そのものが、切りの良い数値になる
ように調整がなされていた。
Here, the created graph includes a value of a scale of axis coordinates, a character string representing a numerical value indicating a ratio or a value of each data item of the pie chart, and the numerical value of the character string is
The original data unit itself may be displayed or the data may be processed and then displayed. In any case,
Conventionally, a character string appearing in a graph has been modified by rounding off digit positions, adding units, inserting commas or changing character attributes. In particular, with regard to the scale, adjustments were made so that the scale value itself was a sharp number.

【0004】しかし、表示するデータの内容は変わらな
いため、もとのデータと異なる単位、例えば「センチメ
ートル」から「インチ」へ単位を変換したグラフを表示
する場合は、もとのデータを希望する単位に変換してか
ら、再びグラフ化処理を行うことによって所望のグラフ
を作成していた。
However, since the content of the displayed data does not change, the original data is desired when displaying a graph in which a unit different from the original data, for example, a unit converted from "centimeter" to "inch" is displayed. A desired graph was created by converting the data into a unit to be converted and performing the graphing process again.

【0005】[0005]

【発明が解決しようとする課題】前述したように、従
来、グラフ化の対象となる複数のデータから所定の形式
のグラフを生成し、出力するグラフ作成装置において、
前記グラフ化の対象となる複数のデータの単位と異なる
単位に変換されたグラフを作成する場合は、グラフ化の
もとになる前記複数のデータの単位を変換してから、再
度グラフ化処理を行っていたため、単位の変換に際し、
ユーザは煩雑な入力操作を行わなければならないという
問題点があった。
As described above, in the conventional graph creating apparatus for creating and outputting a graph in a predetermined format from a plurality of data to be graphed,
When creating a graph converted into a unit different from the unit of the plurality of data to be graphed, the unit of the plurality of data that is the basis of the graph is converted, and then the graphing process is performed again. Since I was doing, when converting the unit,
There is a problem that the user has to perform a complicated input operation.

【0006】そこで、本発明は、かかる問題点を除去
し、簡易かつ迅速に単位を変更してグラフを作成・編集
することのできるグラフ作成装置を提供することを目的
とする。
Therefore, an object of the present invention is to provide a graph creating apparatus which can eliminate such problems and can create and edit a graph by changing the unit easily and quickly.

【0007】[0007]

【課題を解決するための手段】第1の発明は、グラフ化
の対象となる複数のデータから所定のグラフを生成する
グラフ作成装置において、グラフの生成に際して数量を
表すグラフ軸の単位変更を指示する指示手段と、前記指
示手段の指示により前記グラフ化の対象となる複数のデ
ータに対して一定の数値を乗算する演算手段と、前記演
算手段により演算された演算結果に基づいてグラフ化処
理を行う処理手段とを具備することを特徴とする。
According to a first aspect of the present invention, in a graph creating apparatus for creating a predetermined graph from a plurality of data to be graphed, an instruction to change a unit of a graph axis representing a quantity is created when the graph is created. Means for multiplying a plurality of data to be graphed by a constant numerical value according to an instruction from the instruction means, and a graphing process based on a calculation result calculated by the calculating means. And a processing means for performing the processing.

【0008】第2の発明は、グラフ化の対象となる複数
のデータから所定のグラフを生成するグラフ作成装置に
おいて、グラフの生成に際して数量を表すグラフ軸の単
位と所定の数値とを予め対応づけて記憶した対応テーブ
ルと、前記グラフ軸の単位をメニューとして表示するメ
ニュー表示手段と、前記メニュー表示手段により表示さ
れたメニューから所望の単位を選択する選択手段と、前
記選択手段により選択された単位に応じた前記対応テー
ブル内の数値を前記グラフ化の対象となる複数のデータ
に対して乗算する演算手段と、前記演算手段により演算
された演算結果に基づいてグラフ化処理を行うグラフ化
処理手段とを具備したことを特徴とする。
According to a second aspect of the present invention, in a graph creating apparatus for creating a predetermined graph from a plurality of data to be graphed, a unit of a graph axis representing a quantity and a predetermined numerical value are associated in advance when the graph is created. Stored in the table, a menu display unit for displaying the unit of the graph axis as a menu, a selection unit for selecting a desired unit from the menu displayed by the menu display unit, and a unit selected by the selection unit. Calculation means for multiplying a plurality of data to be graphed by the numerical values in the correspondence table according to the above, and graphing processing means for performing graphing processing based on the calculation result calculated by the calculation means. And is provided.

【0009】第3の発明は、第1の発明または第2の発
明において、グラフの生成に際し、数量を表すグラフ軸
に、前記指示手段または前記選択手段により指示または
選択された単位の名称を付与する単位名称付与手段を具
備したことを特徴とする。
According to a third aspect of the present invention, in the first or second aspect, the name of the unit designated or selected by the indicating means or the selecting means is given to the graph axis representing the quantity when the graph is generated. It is characterized in that it is provided with a unit name giving means.

【0010】第4の発明は、第1の発明乃至第3の発明
において、グラフの生成に際し、数量を表すグラフ軸の
目盛りを、前記指示手段または前記選択手段により指示
または選択された単位に合わせて適正化する目盛り数値
・間隔適正化手段を具備したことを特徴とする。
In a fourth aspect based on the first to third aspects, when the graph is generated, the scale of the graph axis representing the quantity is adjusted to the unit designated or selected by the indicating means or the selecting means. It is characterized in that it is equipped with means for optimizing the scale values and intervals.

【0011】[0011]

【作用】第1の発明は、グラフ化の対象となる複数のデ
ータから所定のグラフを生成するグラフ作成装置におい
て、指示手段が、グラフの生成に際して数量を表すグラ
フ軸の単位変更を指示し、演算手段が、前記指示手段
と、前記指示手段の指示により前記グラフ化の対象とな
る複数のデータに対して一定の数値を乗算し、処理手段
が、前記演算手段により演算された演算結果に基づいて
グラフ化処理を行う。
According to a first aspect of the present invention, in a graph creating apparatus for creating a predetermined graph from a plurality of data to be graphed, the instructing means gives an instruction to change a unit of a graph axis representing a quantity when the graph is created, The computing means multiplies the instructing means and a plurality of data to be graphed by a certain numerical value according to the instruction of the instructing means, and the processing means calculates the operation result based on the operation result by the operating means. The graphing process is performed.

【0012】第2の発明は、グラフ化の対象となる複数
のデータから所定のグラフを生成するグラフ作成装置に
おいて、対応テーブルが、グラフの生成に際して数量を
表すグラフ軸の単位と所定の数値とを予め対応づけて記
憶し、メニュー表示手段が、前記グラフ軸の単位をメニ
ューとして表示し、選択手段が、前記メニュー表示手段
により表示されたメニューから所望の単位を選択し、演
算手段が、前記選択手段により選択された単位に応じた
前記対応テーブル内の数値を前記グラフ化の対象となる
複数のデータに対して乗算し、グラフ化処理手段が、前
記演算手段により演算された演算結果に基づいてグラフ
化処理を行う。
According to a second aspect of the present invention, in a graph creating apparatus for creating a predetermined graph from a plurality of data to be graphed, the correspondence table indicates a unit of a graph axis representing a quantity when the graph is generated and a predetermined numerical value. Are stored in association with each other in advance, the menu display unit displays the unit of the graph axis as a menu, the selection unit selects a desired unit from the menu displayed by the menu display unit, and the calculation unit Numerical values in the correspondence table corresponding to the unit selected by the selection unit are multiplied by the plurality of data to be graphed, and the graphing processing unit is based on the calculation result calculated by the calculation unit. The graphing process is performed.

【0013】第3の発明は、第1の発明または第2の発
明において、単位名称付与手段が、前記グラフの生成に
際し、数量を表すグラフ軸に、前記指示手段または前記
選択手段により指示または選択された単位の名称を付与
する。
In a third aspect based on the first or second aspect, the unit name assigning means indicates or selects the graph axis representing the quantity by the instructing means or the selecting means when generating the graph. Assign the name of the unit.

【0014】第4の発明は、第1乃至第3の発明におい
て、目盛り数値・間隔適正化手段が、グラフの作成に際
し、数量を表すグラフ軸の目盛りを、前記指示手段また
は前記選択手段により指示または選択された単位に合わ
せて適正化する。
According to a fourth aspect of the present invention, in the first to third aspects, the scale numerical value / spacing optimizing means indicates the scale of the graph axis representing the quantity by the instructing means or the selecting means when creating the graph. Or, optimize according to the selected unit.

【0015】[0015]

【実施例】以下、図面を参照して本発明の一実施例につ
いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0016】図1は、本発明の一実施例であるグラフ作
成装置の構成ブロック図である。図1において、各種の
データおよびコマンド等を入力するためのキーボード
2、各種のデータおよび生成されたグラフを画面に表示
する表示部4、表示部4の表示画面における所定の部位
を指定するためのポインティング装置であるマウス1、
多数のデータおよびプログラム等が記憶されている外部
記憶装置3、および制御部10から構成される。この制
御部10内の主制御部11は、マウス1、キーボード
2、外部記憶装置3並びに表示部4をインターフェース
10−1〜10−4を介して制御し、グラフの生成に際
して数量を表すグラフ軸の単位と所定の数値とを予め対
応づけて記憶した対応テーブル12と外部記憶装置3か
らデータあるいはプログラム等がロードされる主記憶部
13から構成される。この主記憶部13は、単位の変更
のための演算を行う単位変更演算部14、変更された単
位名称の変換を行う単位名称変換部15、単位変更演算
部14の演算結果をもとにグラフ化の処理を行うグラフ
化処理部16およびグラフの目盛りの数値および目盛り
の間隔を適正に算出する適正目盛り数値・間隔算出部1
7により構成される。
FIG. 1 is a block diagram showing the configuration of a graph creating apparatus which is an embodiment of the present invention. In FIG. 1, a keyboard 2 for inputting various types of data and commands, a display unit 4 for displaying various types of data and generated graphs on the screen, and a designated portion on the display screen of the display unit 4 are designated. Mouse 1, a pointing device,
It is composed of an external storage device 3 in which a large number of data and programs are stored, and a control unit 10. The main control unit 11 in the control unit 10 controls the mouse 1, the keyboard 2, the external storage device 3, and the display unit 4 via the interfaces 10-1 to 10-4, and a graph axis indicating a quantity when generating a graph. The unit is composed of a correspondence table 12 in which a unit and a predetermined numerical value are associated and stored in advance, and a main storage unit 13 into which data, programs and the like are loaded from the external storage device 3. The main storage unit 13 includes a unit change calculation unit 14 that performs a calculation for changing a unit, a unit name conversion unit 15 that converts a changed unit name, and a graph based on the calculation results of the unit change calculation unit 14. A graph processing unit 16 for performing the conversion process, and an appropriate scale numerical value / interval calculation unit 1 for properly calculating the scale values and the scale intervals of the graph.
It is composed of 7.

【0017】図2は、図1の表示部4におけるグラフ作
成編集当初の表示を示す図である。表示部4に表示され
るグラフ作成編集は、マルチウインドウ環境上の文書作
成アプリケーションの中に組み込まれたグラフ作成機能
として実現される。すなわち、ユーザはまず、アイコン
で表示された文書のいずれかを、例えばアイコン20を
マウス1で指示して、文書ウインドウ21を開く。さら
に、この文書ウインドウの文書の中に、グラフ枠22を
挿入する。次に、プロパティ・シートと呼ばれるサブウ
インドウをマウス1で指示して、開く。このプロパティ
・シートにより、グラフ作成・編集が行われることにな
る。
FIG. 2 is a diagram showing a display at the beginning of graph creation and editing on the display unit 4 of FIG. The graph creating / editing displayed on the display unit 4 is realized as a graph creating function incorporated in a document creating application on a multi-window environment. That is, the user first points out one of the documents displayed by the icon, for example, the icon 20 with the mouse 1 to open the document window 21. Further, the graph frame 22 is inserted into the document of this document window. Next, a sub window called a property sheet is designated by the mouse 1 to open it. Graph creation / editing is performed by this property sheet.

【0018】図3は、本発明の一実施例であるグラフ作
成装置における単位変更動作フローチャートである。ユ
ーザは、プロパティ・シートにより作成されたグラフの
単位を変更したい、例えば、「センチメートル」から
「インチ」に変更したいと考えたときの一連の動作につ
いて説明する。ここで、単位とは、「キロ」、「ミリ」
等の桁単位および「メートル」、「グラム」等の単位の
両方を意味するものとする。
FIG. 3 is a flow chart of a unit changing operation in the graph creating apparatus which is an embodiment of the present invention. A series of operations when the user wants to change the unit of the graph created by the property sheet, for example, from “centimeter” to “inch” will be described. Here, the unit is "km" or "millimeter".
And the like, and units such as "meter" and "gram".

【0019】図3において、まず、マウス1により単位
変更の指示があったか否かを判断し(ステップ31)、
指示がない場合は、ステップ36に移行し、指示がない
場合は、対応テーブル12を参照することにより(ステ
ップ32)、単位変更演算部14が単位変更の演算を行
う(ステップ33)。さらに、表示部4に単位変更され
た数値の表示を行い(ステップ34)、単位名称変換部
15により単位名称変換を行い、表示部4に表示する
(ステップ35)。次に、表示部4に表示された単位変
更の目盛り数値および目盛り間隔の適正化を行うか否か
を判断し、マウス1の指示により、適正化を選択する
と、適正目盛り数値・間隔算出部17により、自動的に
適正化された目盛りの数値および間隔が算出され、表示
部4に表示され(ステップ37)、単位変更処理を終了
する。一方、目盛りの適正化を選択せず、手動入力を選
択すると(ステップ38)、キーボード2から入力され
た最大値および最小値並びに目盛りの間隔に従ってグラ
フ化処理部16が処理し、処理結果は表示部4に表示さ
れ(ステップ39)、単位変更処理を終了する。また、
手動入力による処理も選択しない場合は、そのまま単位
変更処理を終了する。
In FIG. 3, first, it is judged whether or not there is an instruction to change the unit with the mouse 1 (step 31),
If there is no instruction, the process proceeds to step 36, and if there is no instruction, the unit change calculation unit 14 calculates the unit change by referring to the correspondence table 12 (step 32) (step 33). Further, the numerical value whose unit has been changed is displayed on the display unit 4 (step 34), the unit name is converted by the unit name conversion unit 15, and displayed on the display unit 4 (step 35). Next, it is determined whether or not the scale values and scale intervals for unit change displayed on the display unit 4 are to be optimized, and when the optimization is selected by the mouse 1, an appropriate scale value / interval calculation unit 17 is selected. Thus, the numerical values and intervals of the optimized scale are automatically calculated and displayed on the display unit 4 (step 37), and the unit changing process ends. On the other hand, if the manual input is selected without selecting the proper scale (step 38), the graphing processing unit 16 processes according to the maximum value and the minimum value input from the keyboard 2 and the scale interval, and the processing result is displayed. It is displayed on the section 4 (step 39), and the unit changing process ends. Also,
If the manual input process is not selected, the unit changing process is terminated.

【0020】次に、棒グラフ作成時の単位変更処理につ
いて、詳細に説明する。
Next, the unit changing process when creating the bar graph will be described in detail.

【0021】図4は、棒グラフ作成・編集時のプロパテ
ィ・シートを示す図である。図4において、矩形の空白
41〜45は、文字の入力域である。この空白41〜4
5に、数字・文字等を入力してグラフの諸特性、この場
合、棒グラフの諸特性をキーボード2から入力し、指示
する。また、矩形40は、矩形内をマウス1で指示する
ことにより、記載された文字が反転表示され、該当項目
についてのオン/オフの指定となる。図4に表示されて
いるものは、グラフ化すべきデータD1を参照して、棒
グラフのY軸最大値を「500」、Y軸最小値を「0」
とし、Y軸目盛りの値を「100」として入力されてい
る。また、棒グラフの右および左のマージンはともに
「0」としている。
FIG. 4 is a diagram showing a property sheet when creating / editing a bar graph. In FIG. 4, rectangular blanks 41 to 45 are character input areas. This blank 41-4
In FIG. 5, various characters of the graph, in this case, various properties of the bar graph are input from the keyboard 2 by inputting numbers, letters and the like, and the instructions are given. Further, in the rectangle 40, when the inside of the rectangle is designated with the mouse 1, the written characters are displayed in reverse video, and ON / OFF of the corresponding item is designated. What is displayed in FIG. 4 refers to the data D1 to be graphed, and the Y-axis maximum value of the bar graph is "500" and the Y-axis minimum value is "0".
And the value of the Y-axis scale is input as "100". The right and left margins of the bar graph are both set to "0".

【0022】図5は、図4のプロパティ・シートにおい
て単位変更を選択した場合を示す図である。図5におい
て、矩形51を選択すると、矩形内の文字が反転表示さ
れ、選択メニュー53が開く。選択メニュー53内にお
いて、データD2の単位である単位文字をマウス1で選
択指示することにより選択された文字を含む矩形54が
反転表示され、さらに、選択指示すると、矩形54に選
択された文字が表示されることになる。図5の場合は、
もとになるデータの単位として「kg」が選択されるこ
とになる。
FIG. 5 is a diagram showing a case where the unit change is selected on the property sheet of FIG. In FIG. 5, when the rectangle 51 is selected, the characters in the rectangle are highlighted and the selection menu 53 opens. In the selection menu 53, a rectangle 54 including a character selected by selecting and instructing a unit character that is a unit of the data D2 with the mouse 1 is highlighted. Further, when the selection is instructed, the character selected in the rectangle 54 is displayed. Will be displayed. In the case of FIG.
"Kg" will be selected as the unit of the underlying data.

【0023】図6は、図5のプロパティ・シートにおい
て変更すべき単位を選択する場合を示す図である。図6
の矩形61において、もとになるデータの単位として
「kg」が選択されると、自動的に選択メニュー62が
開き、変更すべき単位として矩形63の単位「t」が選
択されると、矩形64内に選択した変更すべき単位が表
示される。なお、もとになるデータの単位あるいは変更
すべき単位を、再度変更するときは、絵文字66あるい
は絵文字65をマウス1で選択指示することによって、
選択メニューが開き、選択した単位の修正を行うことが
できる。
FIG. 6 is a diagram showing a case where a unit to be changed is selected on the property sheet shown in FIG. Figure 6
When "kg" is selected as the unit of the original data in the rectangle 61 of, the selection menu 62 automatically opens, and when the unit "t" of the rectangle 63 is selected as the unit to be changed, the rectangle The selected unit to be changed is displayed in 64. When changing the unit of the original data or the unit to be changed again, by selecting the pictogram 66 or pictogram 65 with the mouse 1,
A selection menu will open allowing you to modify the selected unit.

【0024】図7は、図6の桁単位変更によるグラフ表
示を示した図である。図7の単位変更は、桁の単位を変
更したものである。Y軸の数値表示は、もとのデータの
桁でなく、指定した桁の数値に変更されている。また、
単位名称70は、単位名称変換部13により「kt」に
変更される。なお、この単位名称70の表示は、キーボ
ード2からの入力としてもよい。
FIG. 7 is a diagram showing a graph display by changing the digit unit in FIG. The unit change of FIG. 7 is a change of the digit unit. The numerical display of the Y-axis is changed to the specified digit instead of the digit of the original data. Also,
The unit name 70 is changed to “kt” by the unit name conversion unit 13. The display of the unit name 70 may be input from the keyboard 2.

【0025】次に、図8は、図6のプロパティ・シート
において単位の変更指示を示した図である。図8におい
ては、選択メニュー81において変更すべき単位を
「貫」として選択した場合を表示している。
Next, FIG. 8 is a diagram showing a unit change instruction in the property sheet of FIG. In FIG. 8, the case where the unit to be changed is selected as “through” in the selection menu 81 is displayed.

【0026】図9は、図8における単位変更指示による
グラフ表示を示した図である。すなわち、「kg」から
「貫」への単位変更によるグラフ表示を示している。こ
のグラフ表示は、Y軸の目盛り数値および目盛り間隔を
適正目盛り数値・間隔算出部17により算出し、この算
出された結果をもとにグラフ化処理部16がグラフ化処
理を行ったものである。ここで、Y軸の目盛り数値およ
び目盛り間隔のみが変更され、グラフ化された棒グラフ
そのものは変更なく、そのままの表示となっている。こ
のY軸の適正化表示は、まず、対応テーブル12に記憶
されている「1貫=3.75kg」に基づいて、単位変
更演算部14がY軸の最大値およびY軸の最小値に1/
3.75を乗算する演算を行い、この演算結果に基づい
て適正化目盛り数値・間隔算出部17が、適正化を行
う。この適正化は、「貫」の単位に変更されたY軸の最
大値およびY軸の最小値をもとに、Y軸の範囲をY軸の
最大値とY軸の最小値との差により求め、このY軸の範
囲の上位の所定の桁数を適切な区切りのよい値とし、最
上位桁の値をもとに、予め設定された値を参照して対応
する目盛り間隔が選定される。そして、選定された目盛
り間隔とそれに対応する目盛り数値が算出され、グラフ
表示されることになる。なお、適正目盛り数値・間隔算
出部の適正化処理動作については、特願平3−2696
03において詳細に記述されている。
FIG. 9 is a diagram showing a graph display according to the unit change instruction in FIG. That is, the graph display is shown by changing the unit from “kg” to “gap”. In this graph display, the scale value and scale interval of the Y-axis are calculated by the proper scale value / spacing calculation unit 17, and the graphing processing unit 16 performs the graphing processing based on the calculated result. .. Here, only the scale value and scale interval on the Y-axis are changed, and the bar graph itself which has been made into a graph is not changed and is displayed as it is. In the optimization display of the Y-axis, first, the unit change calculation unit 14 sets the maximum value of the Y-axis and the minimum value of the Y-axis to 1 based on “1 piece = 3.75 kg” stored in the correspondence table 12. /
The calculation for multiplying 3.75 is performed, and the optimization scale numerical value / interval calculation unit 17 performs the optimization based on the calculation result. This optimization is based on the maximum value of the Y axis and the minimum value of the Y axis changed to the unit of "through", and the range of the Y axis is determined by the difference between the maximum value of the Y axis and the minimum value of the Y axis. Then, the predetermined number of digits in the upper part of the range of the Y-axis is set as a value that can be appropriately separated, and the corresponding graduation interval is selected based on the value of the most significant digit with reference to a preset value. .. Then, the selected scale interval and the scale value corresponding thereto are calculated and displayed in a graph. Regarding the optimization processing operation of the appropriate scale value / interval calculation unit, see Japanese Patent Application No. 3-2696.
03, in detail.

【0027】ここで、適正化表示を選択しない場合は、
Y軸の数値のみが対応テーブル12に記憶されている
「1貫=3.75kg」に基づいて、単位変更演算部1
4がY軸の数値表示全てについて、1/3.75の乗算
を行い、乗算結果を表示する。
Here, when the optimization display is not selected,
Based on “1 piece = 3.75 kg” in which only the value of the Y axis is stored in the correspondence table 12, the unit change calculation unit 1
Reference numeral 4 multiplies 1 / 3.75 with respect to all the numerical values displayed on the Y axis, and displays the multiplication result.

【0028】また、手動入力を行う場合には、上述の適
正化表示を選択しない場合に表示される数値表示を参照
して、キーボード2からY軸の最大値、Y軸の最小値お
よび目盛りの間隔を入力し、この入力された値に基づ
き、グラフ化処理部16によりグラフ表示される。
When performing manual input, refer to the numerical display displayed when the above-described optimization display is not selected and refer to the maximum value of the Y axis, the minimum value of the Y axis, and the scale from the keyboard 2. An interval is input, and the graphing processing unit 16 displays a graph based on the input value.

【0029】また、、図9において、単位名称90は単
位名称変換部15により自動的に、あるいはキーボード
2による手動入力により表示されることになる。
Further, in FIG. 9, the unit name 90 is displayed automatically by the unit name conversion unit 15 or manually input by the keyboard 2.

【0030】なお、単位数値の表示をカンマ付きにする
か否かの選択部位等を設けてもよい。
A unit for selecting whether or not to display the unit numerical value with a comma may be provided.

【0031】[0031]

【発明の効果】以上説明したように、本発明は、グラフ
化の対象となる複数のデータから所定の形式のグラフを
生成する際、ユーザは、M前記複数のデータの値を変更
することなく、指示手段により変更すべき単位を指示す
ることにより、異なる単位に変換されたグラフを作成す
ることができる。従って、ユーザは、異なる単位のグラ
フを簡易かつ迅速に作成できるという利点を有する。
As described above, according to the present invention, when a graph of a predetermined format is generated from a plurality of data to be graphed, the user does not have to change the values of the plurality of M data. By designating the unit to be changed by the designating means, it is possible to create a graph converted into a different unit. Therefore, the user has an advantage that graphs of different units can be created easily and quickly.

【0032】また、前記単位に変更されると、該単位に
相当する単位名称に自動的に変換することができるた
め、ユーザは、煩雑な操作を必要とせず、単位名称のマ
ッチングに注意を払う必要がないという利点を有する。
When the unit name is changed, the unit name can be automatically converted into the unit name corresponding to the unit, so that the user pays attention to the matching of the unit name without requiring a complicated operation. It has the advantage of not being necessary.

【0033】さらに、前記単位に変更指示するととも
に、単位の適正化を選択指示することにより、変更指示
された単位に合う適正化を行うことができるため、ユー
ザは、煩雑な調整あるいは入力を必要としないという利
点を有する。
Further, by giving an instruction to change the unit and selecting an instruction to optimize the unit, it is possible to perform the optimization matching the unit instructed to be changed, so that the user needs complicated adjustment or input. It has the advantage of not doing.

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

【図1】本発明の一実施例であるグラフ作成装置の構成
ブロック図。
FIG. 1 is a block diagram showing the configuration of a graph creating apparatus that is an embodiment of the present invention.

【図2】図1の表示部4の編集時における表示状態を示
す図。
FIG. 2 is a diagram showing a display state at the time of editing a display unit 4 of FIG.

【図3】作成されたグラフの単位変更動作フローチャー
ト。
FIG. 3 is a flowchart for changing a unit of a created graph.

【図4】棒グラフ作成・編集時のプロパティ・シートを
示す図。
FIG. 4 is a diagram showing a property sheet when creating / editing a bar graph.

【図5】図4のプロパティ・シートにおいてもとになる
データの単位変更を選択する場合の画面表示を示す図。
FIG. 5 is a diagram showing a screen display when selecting a unit change of original data in the property sheet of FIG.

【図6】図5のプロパティ・シートにおいて変更すべき
単位を選択する場合の画面表示を示す図。
FIG. 6 is a view showing a screen display when selecting a unit to be changed on the property sheet of FIG.

【図7】図6の桁単位の変更によるグラフ表示を示す
図。
7 is a diagram showing a graph display by changing the digit unit in FIG. 6;

【図8】図6のプロパティ・シートにおいて単位の変更
指示の画面表示を示す図。
8 is a diagram showing a screen display of a unit change instruction on the property sheet of FIG.

【図9】図8における単位変更指示によるグラフ表示を
示す図。
9 is a diagram showing a graph display according to a unit change instruction in FIG.

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

1 マウス 2 キーボード 3 外部記憶装置 4
表示部 10 制御部 10−1〜10−4 インターフェース
11 主制御部 12 対応テーブル 13 主記憶部 14 単位変更
演算部 15 単位名称変換部 16 グラフ化処理部 17 適正目盛り数値・間隔算出部 20 アイコン 21 文書ウインドウ 22 グラフ枠
1 mouse 2 keyboard 3 external storage device 4
Display unit 10 Control unit 10-1 to 10-4 Interface 11 Main control unit 12 Correspondence table 13 Main storage unit 14 Unit change calculation unit 15 Unit name conversion unit 16 Graphing processing unit 17 Appropriate scale value / interval calculation unit 20 Icon 21 Document window 22 Graph frame

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】グラフ化の対象となる複数のデータから所
定のグラフを生成するグラフ作成装置において、 グラフの生成に際して数量を表すグラフ軸の単位変更を
指示する指示手段と、 前記指示手段の指示により前記グラフ化の対象となる複
数のデータに対して一定の数値を乗算する演算手段と、 前記演算手段により演算された演算結果に基づいてグラ
フ化処理を行う処理手段とを具備することを特徴とする
グラフ作成装置。
1. A graph creating apparatus for creating a predetermined graph from a plurality of data to be graphed, instructing means for instructing a unit change of a graph axis representing a quantity at the time of generating the graph, and an instruction of the instructing means. And a processing unit that performs a graphing process based on the calculation result calculated by the calculation unit. Graph making device.
【請求項2】グラフ化の対象となる複数のデータから所
定のグラフを生成するグラフ作成装置において、 グラフの生成に際して数量を表すグラフ軸の単位と所定
の数値とを予め対応づけて記憶した対応テーブルと、 前記グラフ軸の単位をメニューとして表示するメニュー
表示手段と、 前記メニュー表示手段により表示されたメニューから所
望の単位を選択する選択手段と、 前記選択手段により選択された単位に応じた前記対応テ
ーブル内の数値を前記グラフ化の対象となる複数のデー
タに対して乗算する演算手段と、 前記演算手段により演算された演算結果に基づいてグラ
フ化処理を行うグラフ化処理手段とを具備したことを特
徴とするグラフ作成装置。
2. A graph creating device for creating a predetermined graph from a plurality of data to be graphed, wherein a unit of a graph axis representing a quantity and a predetermined numerical value are stored in association with each other when the graph is generated. A table, a menu display unit that displays the units of the graph axis as a menu, a selection unit that selects a desired unit from the menu displayed by the menu display unit, and the unit corresponding to the unit selected by the selection unit. And a graphing processing unit configured to perform a graphing process on the basis of a calculation result calculated by the calculation unit. A graph creating device characterized by the above.
【請求項3】グラフの生成に際し、数量を表すグラフ軸
に、前記指示手段または前記選択手段により指示または
選択された単位の名称を付与する単位名称付与手段を具
備したことを特徴とする前記請求項1または前記請求項
2記載のグラフ作成装置。
3. A unit name assigning unit for assigning a name of a unit designated or selected by the instructing unit or the selecting unit to a graph axis representing a quantity when the graph is generated. The graph creation device according to claim 1 or claim 2.
【請求項4】グラフの生成に際し、数量を表すグラフ軸
の目盛りを、前記指示手段または前記選択手段により指
示または選択された単位に合わせて適正化する目盛り数
値・間隔適正化手段を具備したことを特徴とする前記請
求項1乃至請求項3記載のグラフ作成装置。
4. When the graph is generated, a scale numerical value / interval optimization means for optimizing the scale of the graph axis representing the quantity in accordance with the unit designated or selected by the instructing means or the selecting means is provided. The graph creation device according to claim 1, wherein the graph creation device is a graph creation device.
JP4047319A 1992-03-04 1992-03-04 Graph plotter Pending JPH05250482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4047319A JPH05250482A (en) 1992-03-04 1992-03-04 Graph plotter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4047319A JPH05250482A (en) 1992-03-04 1992-03-04 Graph plotter

Publications (1)

Publication Number Publication Date
JPH05250482A true JPH05250482A (en) 1993-09-28

Family

ID=12771961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4047319A Pending JPH05250482A (en) 1992-03-04 1992-03-04 Graph plotter

Country Status (1)

Country Link
JP (1) JPH05250482A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002163052A (en) * 2000-10-11 2002-06-07 Agilent Technol Inc Variable adjusting mechanism

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002163052A (en) * 2000-10-11 2002-06-07 Agilent Technol Inc Variable adjusting mechanism

Similar Documents

Publication Publication Date Title
US4698624A (en) Definition of line unit size
SG179369A1 (en) Frequency converter with text editor
JPH07230374A (en) Method and device for generating new window in multiwindow system
JPH05250482A (en) Graph plotter
JPH08315104A (en) Image editing device
JPH0652278A (en) Data processing system and value selecting method
JPH08202856A (en) Picture processing method
JPH04369717A (en) Information processing method and its device
JPH05250483A (en) Graph plotter
JPH05258044A (en) Method and device for processing document
JPH01113855A (en) Format data setting system for print of document
JP3137412B2 (en) Output scale switching method of reference diagram
JP2842511B2 (en) Form creation device
JPH08202334A (en) Document preparing device
JPS62247455A (en) Control system for definition of screen
JPH10171795A (en) Method for plotting mathematical expression and functional graph on display screen
JPH05233295A (en) Supporting system for design type expert system construction
JPH07325691A (en) Screen constructing device and screen constructing method
JPH04169926A (en) Graphic processor
JPH0581246A (en) Method for editing and printing document
JPH06309313A (en) Document creation device
JPH10116156A (en) Information processor
JPH0619892A (en) Table frame forming method
JPH07249027A (en) Document processor
JPH0470959A (en) Document preparing device