JP4952824B2 - Graph display device and program - Google Patents
Graph display device and program Download PDFInfo
- Publication number
- JP4952824B2 JP4952824B2 JP2010121883A JP2010121883A JP4952824B2 JP 4952824 B2 JP4952824 B2 JP 4952824B2 JP 2010121883 A JP2010121883 A JP 2010121883A JP 2010121883 A JP2010121883 A JP 2010121883A JP 4952824 B2 JP4952824 B2 JP 4952824B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- list
- data
- graph
- numerical data
- 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.)
- Active
Links
Images
Description
本発明は、複数の数値データからなるリストデータに基づいてヒストグラムを表示する機能を備えたグラフ表示装置およびそのプログラムに関する。 The present invention relates to a graph display device having a function of displaying a histogram based on list data composed of a plurality of numerical data, and a program thereof.
関数計算機能を備えた電子計算機(関数電卓)では、統計計算モードを設定してリストデータ(統計データ)を入力すると、その入力されたリストデータに対応するグラフを表示する機能がある。 An electronic calculator (functional calculator) having a function calculation function has a function of displaying a graph corresponding to the input list data when the statistical calculation mode is set and list data (statistical data) is input.
入力されたリストデータに対応してヒストグラムを表示するグラフ表示装置が考えられている(例えば、特許文献1参照。)。 A graph display device that displays a histogram corresponding to input list data has been considered (see, for example, Patent Document 1).
ここで扱われる情報としては、「リストデータを構成する各数値データ」と「ヒストグラムのグラフデータ」であるが、データの種類が異なるため、対応関係を対比するには難しい。 The information handled here is “each numerical data constituting the list data” and “histogram graph data”, but since the types of data are different, it is difficult to compare the correspondence.
そこで関数電卓における視覚的な表現力を向上させるために、表示のカラー化が考えられている。 Therefore, in order to improve the visual expressive power of the scientific calculator, display colorization is considered.
回帰グラフと入力データとの誤差をカラー表示して視覚的な表現力を向上させたグラフ表示装置が考えられている(例えば、特許文献2参照。)。 There has been considered a graph display device in which an error between a regression graph and input data is displayed in color to improve visual expressive power (see, for example, Patent Document 2).
回帰グラフ別に表示色を変えてカラー表示し、視覚的な表現力を向上させたグラフ表示装置が考えられている(例えば、特許文献3参照。)。 There has been considered a graph display device in which the display color is changed for each regression graph and color display is performed to improve visual expressive power (see, for example, Patent Document 3).
前記従来のグラフ表示装置では、グラフの表示をカラー化しただけであって、そのグラフの元となっているリストデータの各数値データとの相互関係を視覚的に対比するには十分ではない。 In the conventional graph display device, the display of the graph is only colored, and it is not sufficient for visually comparing the mutual relationship with the numerical data of the list data that is the basis of the graph.
本発明は、このような課題に鑑みなされたもので、リストデータの各数値データに基づいてヒストグラムを表示した場合に、そのヒストグラムの元となっているリストデータの各数値データとの相互関係を視覚的に容易に把握することが可能になるグラフ表示装置およびそのプログラムを提供することを目的とする。 The present invention has been made in view of such problems, and when a histogram is displayed based on each numerical data of the list data, the mutual relationship with each numerical data of the list data that is the basis of the histogram is shown. It is an object of the present invention to provide a graph display device and its program that can be easily grasped visually.
請求項1に記載のグラフ表示装置は、ユーザ操作によって複数の数値データからなるリストデータを入力し、そのリストデータの各数値データに任意の色を指定するリスト入力手段と、このリスト入力手段によって入力されたリストデータを前記各数値データに指定された色の情報と関連付けて記憶するリスト記憶手段と、このリスト記憶手段により記憶されたリストデータを前記各数値データに指定された色の情報に従い当該各数値データに色を付けてカラー表示するリスト表示手段と、前記リスト記憶手段により記憶されたリストデータに基づいて、任意設定された数値階級毎に同階級内の数値データに指定された色が同じ色か異なる色かを判断する階級毎数値色判断手段と、この階級毎数値色判断手段により前記数値階級毎に同階級内の数値データに指定された色が同じ色と判断された場合にはその数値データを累積した同色の柱状グラフを生成し、異なる色と判断された場合にはその数値データを累積した特殊態様の柱状グラフを生成してヒストグラムを生成するヒストグラム生成手段と、このヒストグラム生成手段により生成されたヒストグラムの各柱状グラフを同柱状グラフの色または特殊態様に従ってカラー表示するグラフ表示手段と、を備えたことを特徴としている。 The graph display device according to claim 1 inputs list data composed of a plurality of numerical data by a user operation, and designates an arbitrary color for each numerical data of the list data, and the list input means List storage means for storing the input list data in association with the color information specified for each numerical data, and the list data stored by the list storage means according to the color information specified for each numerical data List display means for color-displaying each numerical data in color, and the color designated for the numerical data in the same class for each numerical class set arbitrarily based on the list data stored by the list storage means A numerical color judgment means for each class for judging whether the colors are the same color or different colors, and within the same class for each numerical class by the numerical color judgment means for each class When it is determined that the color specified in the numerical data is the same color, a columnar graph of the same color is generated by accumulating the numerical data, and when it is determined that the color is different, a columnar column with a special mode in which the numerical data is accumulated Histogram generating means for generating a graph by generating a graph, and graph display means for displaying each columnar graph of the histogram generated by the histogram generating means in color according to the color of the columnar graph or a special aspect. It is a feature.
請求項2に記載のグラフ表示装置は、前記請求項1に記載のグラフ表示装置において、前記グラフ表示手段によって表示されたヒストグラムの色を変更する第1の色変更手段と、この第1の色変更手段によって変更された色を前記リスト記憶手段により記憶された当該ヒストグラムに対応したリストデータに反映させて、前記各数値データに指定された色を同様に変更する第2の色変更手段と、を備えたことを特徴としている。
The graph display device according to
請求項3に記載のグラフ表示装置は、前記請求項2に記載のグラフ表示装置において、前記第1の色変更手段によって前記ヒストグラムの各柱状グラフの色が変更された場合に、前記第2の色変更手段によって前記リストデータの中の該当する数値データの色も同様に変更されることを特徴としている。
The graph display device according to
請求項4に記載のグラフ表示装置は、前記請求項1に記載のグラフ表示装置において、前記特殊態様の柱状グラフは、縞模様の柱状グラフであることを特徴としている。
The graph display device according to
請求項5に記載のグラフ表示装置は、前記請求項1に記載のグラフ表示装置において、前記特殊態様の柱状グラフは、異なる色別に数値データを累積した積み上げ式の柱状グラフであることを特徴としている。
The graph display device according to
請求項6に記載のプログラムは、カラー表示可能な表示部を有する電子機器のコンピュータを制御するためのプログラムであって、前記コンピュータを、ユーザ操作によって複数の数値データからなるリストデータを入力し、そのリストデータの各数値データに任意の色を指定するリスト入力手段、このリスト入力手段によって入力されたリストデータを前記各数値データに指定された色の情報と関連付けてメモリに記憶するリスト記憶手段、このリスト記憶手段により記憶されたリストデータを前記各数値データに指定された色の情報に従い当該各数値データに色を付けて前記表示部にカラー表示させるリスト表示手段、前記リスト記憶手段により記憶されたリストデータに基づいて、任意設定された数値階級毎に同階級内の数値データに指定された色が同じ色か異なる色かを判断する階級毎数値色判断手段、この階級毎数値色判断手段により前記数値階級毎に同階級内の数値データに指定された色が同じ色と判断された場合にはその数値データを累積した同色の柱状グラフを生成し、異なる色と判断された場合にはその数値データを累積した特殊態様の柱状グラフを生成してヒストグラムを生成するヒストグラム生成手段、このヒストグラム生成手段により生成されたヒストグラムの各柱状グラフを同柱状グラフの色または特殊態様に従って前記表示部にカラー表示させるグラフ表示手段、として機能させることを特徴としている。
The program according to
本発明によれば、リストデータの各数値データに基づいてヒストグラムを表示した場合に、そのヒストグラムの元となっているリストデータの各数値データとの相互関係を視覚的に容易に把握することが可能になるグラフ表示装置およびそのプログラムを提供できる。 According to the present invention, when a histogram is displayed based on each numerical data of the list data, it is possible to easily grasp the interrelationship with each numerical data of the list data that is the basis of the histogram. An enabled graph display device and its program can be provided.
以下、図面を参照して本発明の実施の形態を説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明のグラフ表示装置の実施形態に係る電子計算機の外観構成を示す正面図である。 FIG. 1 is a front view showing an external configuration of an electronic computer according to an embodiment of a graph display device of the present invention.
この電子計算機は、「グラフ関数電卓」と呼ばれ、入力された関数式や統計データに対応するグラフを描画表示するための機能を備えている。 This electronic computer is called a “graph function calculator” and has a function for drawing and displaying a graph corresponding to an input function expression or statistical data.
この電子計算機10の本体には、本体正面の下端から3分の2程度の範囲でキー入力部12が設けられ、上端から3分の1程度の範囲で表示部13が設けられる。
The main body of the
キー入力部12には、数値・記号キー12a、関数・演算子キー12b、「Menu」キー12c、「Shift」キー12d、「Color」キー12e、「Graph」キー12f、「Trace」キー12g、「EXIT」キー12h、カーソルキー12i、そしてファンクションキー「F1」〜「F6」などが備えられる。
The
数値・記号キー12aは、数字,記号などの個々のキーを配列した数値・記号の入力用キー群からなる。
The numerical value /
関数・演算子キー12bは、演算式や関数式を入力する際に操作される各種の関数記号キーや、「+」「−」「×」「÷」「=」などの演算子キーからなる。
The function /
「Menu」キー12cは、四則計算式や関数計算式等の任意の計算式を入力して演算処理を行わせる演算モード、入力された関数式に対応したグラフの描画処理を行わせるグラフモード、統計計算を行わせる統計計算モード、グラフ関数の学習処理を行わせるe-Activityモード、任意のプログラムを入力して対応する計算処理を行わせるプログラムモード等、各種の動作モードの選択設定メニューを表示させる際に操作される。
The “Menu”
「Shift」キー12dは、キー入力部12における各キートップの左上に記述された各種の記号や機能を指定入力する際に該当するキーと合わせて操作される。
The “Shift”
「Color」キー12eは、入力データやグラフなどに対して任意の色を指定する際に操作される。
The “Color”
「Graph」キー12fは、入力データを元にして任意のグラフを描く際に操作される。
The “Graph”
「Trace」キー12gは、画面上に表示されたグラフをトレースするトレースモードを設定する際に操作される。
The “Trace”
「EXIT」キー12hは、現在の状態から抜けるためのキーである。
The “EXIT”
カーソルキー(「↑」「↓」「←」「→」)12iは、それぞれ表示されたデータの選択,送り操作や、カーソルの移動操作を行なう際などに操作される。 The cursor keys (“↑”, “↓”, “←”, “→”) 12i are operated when selecting and sending the displayed data, and when moving the cursor.
ファンクションキー「F1」〜「F6」は、種々の動作モードに応じて表示部13の画面下端に沿って配列表示される各種選択メニューを選択する際に操作される。
The function keys “F1” to “F6” are operated when selecting various selection menus arranged and displayed along the lower end of the screen of the
また、表示部13には、例えば縦186ドット×横378ドットの表示範囲を有するカラー表示可能な液晶表示装置が用いられている。
In addition, for the
図2は、前記電子計算機10の回路構成を示すブロック図である。
FIG. 2 is a block diagram showing a circuit configuration of the
電子計算機10は、マイクロコンピュータであるCPU11を備えている。
The
CPU11は、プログラムの起動により回路各部を動作させて、電卓機能や関数グラフ表示機能など、電子計算機10に備えられた各種機能を実行する。このCPU11には、図1に示したキー入力部12、表示部13の他に、記憶装置14、RAM15、記録媒体読取部16、通信制御部18などが接続されている。
The
記憶装置14は、ROMなどのメモリデバイスから構成され、本発明を実現するためのグラフ表示制御プログラム14aの他、各種データ及びプログラムを記憶している。
The storage device 14 includes a memory device such as a ROM, and stores various data and programs in addition to the graph
RAM15は、CPU11の処理動作に必要な各種データを記憶している。このRAM15には、表示部13の画面上にカラー表示されるデータが展開される表示データ記憶領域15aの他、式データ記憶領域15b、リストデータ記憶領域15c、階級範囲データ記憶領域15d、グラフデータ記憶領域15eが設けられている。
The
式データ記憶領域15bには、キー入力部12の操作により入力された関数式に関するデータが記憶される。
In the formula
リストデータ記憶領域15cには、統計計算モードのリスト機能で作成されたリストデータが色指定の属性情報と共に記憶される(図3参照)。
In the list
階級範囲データ記憶領域15dには、前記リストデータ記憶領域15cに記憶されたリストデータを、その数値データに応じた階級に分けるための範囲データが記憶される(図4参照)。
The class range
グラフデータ記憶領域15eには、関数式データあるいはリストデータに基づいて作成されたグラフに関するデータが記憶される。
In the graph
記録媒体読取部16は、記録媒体17に記録されたデータの読み取りを行う。記録媒体17としては、例えばメモリカードなどが用いられ、プログラムや画像などが記録されている。
The recording
通信制御部18は、図示せぬUSB(Universal Serial Bus)を介して接続された外部端末との間のデータ通信、あるいは所定の通信回線を介して無線により接続される外部端末との間のデータ通信を行う。
The
図3は、前記電子計算機10に設けられたRAM15のリストデータ記憶領域15cに記憶されるリストデータの具体例を示す図である。
FIG. 3 is a diagram showing a specific example of list data stored in the list
リストデータは、「統計データ」あるいは「数表データ」とも言い、後述するリスト入力画面21(図8参照)に設けられたリスト(表)22の各セルに入力された数値データを有する。これらの数値データには、予め用意された複数色の中の任意の色を表示色として指定でき、その指定された色が属性情報として数値データに対応付けられて、RAM15のリストデータ記憶領域15cに記憶される。
The list data is also referred to as “statistical data” or “numerical table data”, and includes numerical data input to each cell of a list (table) 22 provided on a list input screen 21 (see FIG. 8) described later. In these numerical data, an arbitrary color of a plurality of colors prepared in advance can be specified as a display color, and the specified color is associated with the numerical data as attribute information, and the list
図3の例では、「リスト1」の1つのリストデータが示されている。図中のデータ10,9,11,13,…は、任意の数値データを示す。データ9,4には「黒色」が指定され、データ10,11には「赤色」、データ13には「青色」、データ95には「緑色」、が指定されている。
In the example of FIG. 3, one list data of “list 1” is shown.
図4は、前記電子計算機10に設けられたRAM15の階級範囲データ記憶領域15dに記憶される階級範囲データの具体例を示す図である。
FIG. 4 is a diagram showing a specific example of the class range data stored in the class range
この階級範囲データは、例えば前記図3で示したリストデータをヒストグラムで表示するために、ユーザが任意に定めた数値範囲を示すものであり、この例では、その数値データに応じて10階級に分けるためのデータが、第1階級範囲[0〜10(未満)]、第2階級範囲[10〜20(未満)],…,第10階級範囲[90〜100(未満)]として入力されて記憶されている。 This class range data indicates a numerical range arbitrarily determined by the user in order to display the list data shown in FIG. 3 as a histogram, for example. In this example, the class range data is divided into 10 classes according to the numerical data. The data for dividing is input as the first class range [0 to 10 (less than)], the second class range [10 to 20 (less than)], ..., the tenth class range [90 to 100 (less than)]. It is remembered.
図5は、前記電子計算機10に備えられたCPU11がグラフ表示制御プログラム14aを実行することにより果たす機能構成を示すブロック図である。
FIG. 5 is a block diagram showing a functional configuration achieved by the
CPU11は、グラフ表示においては、リスト入力制御部11a、リスト記憶制御部11b、グラフ生成制御部11c、グラフ表示制御部11d、第1の色変更制御部11e、第2の色変更制御部11fとして機能する。
In the graph display, the
リスト入力制御部11aは、後述するリスト入力画面21(図8参照)を表示することにより、ユーザ操作によって複数の数値データからなるリストデータを入力し、そのリストデータの各数値データに任意の色を指定するための制御を行う。
The list
リスト記憶制御部11bは、リスト入力制御部11aによって入力されたリストデータを前記各数値データに指定された色の情報と関連付けてRAM15のリストデータ記憶領域15cに記憶するための制御を行う。
The list
グラフ生成制御部11cは、リスト記憶制御部11bによってRAM15のリストデータ記憶領域15cに記憶されたリストデータをグラフ化するための制御を行う。
The graph
グラフ表示制御部11dは、グラフ生成制御部11cによって生成されたグラフを前記各数値データに指定された色に従って表示部13の画面にカラー表示するための制御を行う。
The graph
第1の色変更制御部11eは、グラフ表示制御部11dによって表示されたグラフの色を変更するための制御を行う。
The first color
第2の色変更制御部11fは、第1の色変更制御部11eによって変更された色をRAM15のリストデータ記憶領域15cに記憶された当該グラフに対応したリストデータに反映させて、前記各数値データに指定された色を変更するための制御を行う。
The second color
ここで、前記リストデータ記憶領域15cに記憶されたリストデータ(図3参照)を、前記階級範囲データ記憶領域15dに記憶された階級範囲データ(図4参照)に対応したヒストグラムとしてグラフ化する際、ある階級範囲内に異なる色に指定された数値データが混在する場合、前記グラフ生成制御部11cは、該当する階級範囲に対応するところの柱状グラフを特殊態様にしてグラフ化するための制御を行う(図10または図11参照)。
Here, when the list data (see FIG. 3) stored in the list
次に、前記構成の電子計算機10の動作を説明する。
Next, the operation of the
なお、以下の各フローチャートで示される処理は、コンピュータであるCPU11が記憶装置14に記憶されたグラフ表示制御プログラム14aを読み込むことにより実行される。
Note that the processes shown in the following flowcharts are executed when the
図6は、前記電子計算機10に備えられたCPU11によって実行される統計計算モード時のグラフ表示処理の全体の流れを示すフローチャートである。
FIG. 6 is a flowchart showing the overall flow of the graph display process in the statistical calculation mode executed by the
図7は、前記電子計算機10における統計計算モード時のグラフ表示処理に伴う色分けヒストグラム生成処理を示すフローチャートである。
FIG. 7 is a flowchart showing color-coded histogram generation processing accompanying the graph display processing in the statistical calculation mode in the
(データ入力)
図8は、前記電子計算機10における統計計算モード時のグラフ表示処理に伴うリスト入力画面の一例を示す図である。
(Data input)
FIG. 8 is a diagram showing an example of a list input screen associated with a graph display process in the statistical calculation mode in the
まず、ユーザが電子計算機10のキー入力部12に設けられた「Menu」キー12cを操作して統計計算モードを設定すると、CPU11の制御の下で表示部13に図8に示すようなリスト入力画面21が表示される(ステップA1)。
First, when the user operates the “Menu” key 12 c provided on the
図8に示すように、リスト入力画面21には、複数のセルからなるリスト(表)22が設けられている。ユーザがキー入力部12の数値・記号キー12aを操作して、このリスト22の各セルに数値データを入力することにより、これらの数値データを含むリストデータ(統計データ)が作成される(ステップA2)。
As shown in FIG. 8, the list input screen 21 is provided with a list (table) 22 composed of a plurality of cells. When the user operates the numerical value / symbol key 12a of the
このとき、キー入力部12に設けられた「Color」キー12eを操作すると、リスト入力画面21の下端に、赤色(Red)、青色(Blue)、緑色(Grn)、黄色(Yllw)の選択メニュー23が表示され、その選択メニュー23の各色に対応したファンクションキー「Fn」の操作にて任意の色を数値毎に指定することができる。
At this time, when the “Color” key 12 e provided in the
ここでは、ファンクションキー「F2」の操作で赤色、ファンクションキー「F3」の操作で青色、ファンクションキー「F4」の操作で緑色、ファンクションキー「F5」の操作で黄色が指定されるものとする。 Here, it is assumed that the function key “F2” is operated in red, the function key “F3” is operated in blue, the function key “F4” is operated in green, and the function key “F5” is operated in yellow.
図8の例では、List1の1番目のセルに入力された数値データ「10」に対して赤色、2番目のセルに入力された数値データ「9」に対して黒色、3番目のセルに入力された数値データ「11」に対して赤色、4番目のセルに入力された数値データ「13」に対して青色が指定されている。 In the example of FIG. 8, the numeric data “10” input to the first cell of List1 is red for the numeric data “10” input to the second cell, the black is input to the numeric data “9” input to the second cell, and is input to the third cell. Red is designated for the numerical data “11” and blue is designated for the numerical data “13” input to the fourth cell.
なお、各数値データに付したハッチングは指定色を表わしている。これらのハッチングは、図面の制約上、色付けで表現できないために便宜的に付したものであり、実際には数値データが指定の色でカラー表示される。 The hatching attached to each numerical data represents a designated color. These hatchings are given for convenience because they cannot be expressed by coloring due to restrictions in the drawing, and numerical data is actually displayed in color with a specified color.
このようにして、リストデータの各数値データに対して任意の色が指定されると(ステップA3のYes)、その指定された色が属性情報として当該数値データに設定されてRAM15のリストデータ記憶領域15cに記憶される(ステップA4)。
In this way, when an arbitrary color is designated for each numerical data of the list data (Yes in step A3), the designated color is set as the attribute information in the numerical data and stored in the list data in the
なお、色指定されなかった場合には、その数値データに対しては標準色として黒色がデフォルト設定されるものとする。 If no color is specified, black is assumed to be the default color for the numerical data.
(リストデータに基づくグラフ表示)
リストデータの作成後、キー入力部12に設けられた「Graph」キー12fが操作されると、「Scatter」、「Histgram」、「回帰グラフ」といったグラフ種を示すグラフ種選択メニュー(図示せぬ)が画面下端に沿って配列表示され、任意のグラフ種をファンクションキー「Fn」の操作にて選択できる。
(Graph display based on list data)
After the creation of the list data, when the “Graph” key 12f provided in the
ここで、「Histgram」が選択されると(ステップA5のYes)、図7における色分けヒストグラム生成処理に移行される(ステップAB)。 Here, when “Histgram” is selected (Yes in Step A5), the process proceeds to the color-coded histogram generation process in FIG. 7 (Step AB).
図9は、前記電子計算機10の色分けヒストグラム生成処理に伴いRAM15内に一時記憶されるリストデータの階級範囲毎色別リスト15dcの具体例を示す図である。
FIG. 9 is a diagram showing a specific example of the color-
図10は、前記電子計算機10の色分けヒストグラム生成処理に伴い生成されたヒストグラム32のグラフ表示画面31の具体例を示す図である。
FIG. 10 is a diagram showing a specific example of the
ヒストグラム32は、階級毎に数値データを累積した複数の柱状グラフ32a,32b,32c,…からなる。これらの柱状グラフ32a,32b,32c,…の高さから階級毎の数値データの累積結果を比較することができる。
The histogram 32 includes a plurality of
図10の例は、前記図3および図8で示したリストデータ(15c)および図4で示した階級範囲データ(15d)に対応しており、各数値データに指定された指定色に応じて各柱状グラフ35a,35b,35c,…がカラー表示されることになる。 The example of FIG. 10 corresponds to the list data (15c) shown in FIG. 3 and FIG. 8 and the class range data (15d) shown in FIG. 4, and according to the specified color specified for each numerical data. Each columnar graph 35a, 35b, 35c,... Is displayed in color.
すなわち、色分けヒストグラム生成処理に移行されると、先ず、階級範囲データ記憶領域15dに記憶されている第1階級範囲(小区間)[0〜10(未満)]が読み出される(ステップB1)。
That is, when the process proceeds to the color-coded histogram generation process, first, the first class range (small section) [0 to 10 (less than)] stored in the class range
すると、リストデータ記憶領域15cに記憶されているリストデータが読み出され(ステップB2)、前記第1階級範囲内の数値データのデータ数(度数)が、同数値データに指定された色別にカウントされ、図9に示すように階級範囲毎色別リスト15dcとしてRAM15に一時記憶される(ステップB3)。
Then, the list data stored in the list
図9の具体例では、第1階級範囲[0〜10(未満)]内の数値データのデータ数(度数)は、黒が2個としてカウントされる。 In the specific example of FIG. 9, the number of data (frequency) of the numerical data in the first class range [0 to 10 (less than)] is counted as black.
ここで、前記第1階級範囲に対応してカウントされた数値データについて、全て同じ色が指定されているか、つまり1色のみのデータ数としてカウントされたかが判断され(ステップB4)、同第1階級範囲の数値データの指定色は全て同じ色(黒色)と判断される(ステップB4のYes)。 Here, it is judged whether the same color is designated for all the numerical data counted corresponding to the first class range, that is, whether it is counted as the number of data of only one color (step B4). The designated colors of the numerical data in the range are all determined to be the same color (black) (Yes in step B4).
すると、前記第1階級範囲の数値データの指定色(黒色)で表したヒストグラムの柱状グラフ32aが生成され、RAM15のグラフデータ記憶領域15eに記憶される(ステップB5)。
Then, a
ここで、前記階級範囲データ記憶領域15dに記憶されている全ての階級範囲に対する処理が終了したか否か判断され(ステップB7)、終了してないと判断されると(ステップB7のNo)、次の階級、つまり第2階級範囲(小区間)[10〜20(未満)]が読み出され(ステップB8)、前記ステップB2からの処理に戻る。
Here, it is determined whether or not the processing for all the class ranges stored in the class range
図9の具体例では、第2階級範囲[10〜20(未満)]内の数値データのデータ数(度数)は、赤が9個、青が1個としてカウントされるので(ステップB2,B3)、同第2階級範囲の数値データの指定色は同じ色ではないと判断される(ステップB4のNo)。 In the specific example of FIG. 9, the number of data (frequency) in the second class range [10 to 20 (less than)] is counted as 9 for red and 1 for blue (steps B2 and B3). ), It is determined that the designated colors of the numerical data in the second class range are not the same color (No in step B4).
すると、前記同一色でない数値データが含まれる第2階級範囲を表わすヒストグラムは、特殊態様(黒の縞模様)の柱状グラフ32bとして生成され、RAM15のグラフデータ記憶領域15dに記憶される(ステップB6)。
Then, a histogram representing the second class range including numerical data that is not the same color is generated as a
この後、前記同様に、次の階級範囲に対する処理が繰り返し実行されて各対応する色または特殊態様の柱状グラフ32c,32d,…,32kが生成され、RAM15のグラフデータ記憶領域15dに記憶される(ステップB2〜B8)。
Thereafter, as described above, the processing for the next class range is repeatedly executed to generate the corresponding color or special mode
そして、全ての階級範囲に対する処理が終了したと判断されると(ステップB7のYes)、前記一連の色分けヒストグラム生成処理から統計計算モード時のグラフ表示処理に戻る(Return)。 When it is determined that the processing for all the class ranges has been completed (Yes in Step B7), the series of color-coded histogram generation processing returns to the graph display processing in the statistical calculation mode (Return).
そして、前記グラフデータ記憶領域15eに記憶されたヒストグラム32が表示データ記憶領域15aに展開され、図10に示すようなグラフ表示画面31として表示部13の画面上にカラー表示される(ステップA6)。
The histogram 32 stored in the graph
(グラフ表示後の色変更)
・全部変更
ここで、グラフの表示後に、ユーザによりキー入力部12に設けられた「Color」キー12eが操作されると(ステップA7のYes)、そのグラフ表示画面31の下端に赤色(Red)、青色(Blue)、緑色(Grn)、黄色(Yllw)の選択メニュー23が表示される。
(Color change after graph display)
Here, after the display of the graph, when the “Color” key 12e provided in the
この選択メニュー23の中の1色がファンクションキー「Fn」の操作にて指定されると(ステップA8のYes)、グラフ全体の色がその指定色に変更される(ステップA9)。また、それに伴い、RAM15のリストデータ記憶領域15cに記憶されたリストデータの各数値データに指定された色も同様に変更される(ステップA10)。
When one color in the
例えば、図10に示したようなヒストグラム32が表示されている状態で、「Color」キー12eが操作されると、その画面下端に選択メニュー23が表示され、その選択メニュー23の中の青色(Blue)がファンクションキー「Fn」の操作にて指定されたとすると、ヒストグラム32を構成する全ての柱状グラフ32a〜32kが青色に変更される。
For example, when the “Color” key 12e is operated in a state where the histogram 32 as shown in FIG. 10 is displayed, the
そして、このヒストグラム32に対応したリストデータの各数値データに指定された色も全て青色に変更される。 All the colors designated for the numerical data of the list data corresponding to the histogram 32 are also changed to blue.
「Scatter」や「回帰グラフ」に対応したグラフでも同様であり、これらのグラフの色が選択メニュー23の中で指定された色に変更され、その色変更が対象となるリストデータの全数値データに反映され、同様に色変更されることになる。
The same applies to the graphs corresponding to “Scatter” and “Regression graph”, and the color of these graphs is changed to the color specified in the
・部分変更
一方、「Color」キー12eの操作後(ステップA7のYes)、ファンクションキー「Fn」ではなく、「Trace」キー12gが操作された場合には(ステップA11)、グラフ表示画面31の下端に赤色(Red)、青色(Blue)、緑色(Grn)、黄色(Yllw)の選択メニュー23が表示され、以下のような手順で部分的な色変更が行われる。
-Partial change On the other hand, after the "Color" key 12e is operated (Yes in Step A7), when the "Trace" key 12g is operated instead of the function key "Fn" (Step A11), the graph display screen 31
なお、この電子計算機10にはタッチパネルが備えられていないため、「Trace」キー12gの操作によってトレースモードに切り替えた際に、カーソルキー12iの操作によって表示中のオブジェクト(例えば、ヒストグラム32の各柱状グラフ32a,32b,…)を1つずつ指定するといった操作を行うものとする。
Since the
ここで、「Trace」キー12gが操作された際に(ステップA11のYes)、現在表示中のグラフ種がヒストグラムであれば(ステップA12のYes)、カーソルキー12iの操作によって選択されたオブジェクト(柱状グラフ)が色変更の対象として抽出され、点滅などにより識別されて表示される(ステップA13)。 Here, when the “Trace” key 12g is operated (Yes in Step A11), if the currently displayed graph type is a histogram (Yes in Step A12), the object selected by operating the cursor key 12i (Yes in Step A12) Columnar graph) is extracted as a color change target, and is identified and displayed by blinking or the like (step A13).
そして、選択メニュー23の中の1色がファンクションキーの操作にて指定された際に(ステップA14のYes)、前記抽出されたオブジェクト(柱状グラフ)の色がその指定色に変更され(ステップA15)、それに伴い、RAM15のリストデータ記憶領域15cに記憶されたリストデータの該当する階級範囲に含まれる各数値データの指定色も変更される(ステップA16)。
When one color in the
例えば、図10に示した「Histgram」のグラフ表示画面31において、柱状グラフ35bが色変更対象(オプジェクト)として選択され、選択メニュー23の中の赤色(Red)が指定されたとすると、その柱状グラフ35bだけが特殊態様の縞模様から赤色に変更される。
For example, in the
このとき、ヒストグラム32の柱状グラフ35bに対応した階級範囲に含まれるリストデータの各数値データに指定された色も全て赤色に統一されて変更される。 At this time, all the colors designated for the numerical data of the list data included in the class range corresponding to the columnar graph 35b of the histogram 32 are also unified and changed to red.
以後同様にして、カーソルキー12iの操作によりオブジェクトを1つ1つ指定しながら、その指定されたオブジェクトの色を部分的に変更することができる。 Similarly, the color of the designated object can be partially changed while designating the object one by one by operating the cursor key 12i.
ここで、キー入力部12に設けられた「EXIT」キー12hが操作されると(ステップA17のYes)、グラフ表示状態から抜け、RAM15のリストデータ記憶領域15cから当該グラフに対応したリストデータが読み出されて画面上に表示される(ステップA18)。このとき、グラフに色変更があった場合には、表示されたリストデータの色も変化している。
Here, when the “EXIT” key 12h provided in the
したがって、前記構成の電子計算機10における統計計算モード時のグラフ表示機能によれば、ユーザがリストデータを入力した際に、そのリストデータの各数値データに階級範囲に応じた任意の色を指定しておくことにより、その指定された色に従った階級毎の柱状グラフからなるヒストグラムがカラー表示される。この際、ある階級範囲内の各数値データの指定色が同じでなく異なって指定されている場合には、同階級範囲に対応する柱状グラフは縞模様などの特殊態様にしてカラー表示される。このため、リストデータとヒストグラムとの相互関係を色や表示態様にて視覚的に把握できるようになり、リストデータを元に描画されるヒストグラムの特性を容易に理解することができるようになる。
Therefore, according to the graph display function in the statistical calculation mode in the
さらに、ユーザが表示中のヒストグラムに対して色変更を全体的あるいは部分的に行うと、その色変更がリストデータの各数値データに反映されるので、表示中のヒストグラムとリストデータの各数値データとの相互関係を色変化にて容易に学ぶことができる。 Furthermore, if the user changes the color of the displayed histogram in whole or in part, the color change is reflected in the numerical data of the list data. You can easily learn the interrelationship with the color change.
(他の実施形態)
図11は、前記電子計算機10の色分けヒストグラム生成処理に伴い生成された他の実施形態のヒストグラム32′を示す図である。
(Other embodiments)
FIG. 11 is a diagram showing a histogram 32 ′ of another embodiment generated in accordance with the color classification histogram generation processing of the
前記実施形態では、図10で示したように、ある階級範囲に含まれる各数値データの指定色が同じでなく異なって指定されている場合、同階級範囲に対応するヒストグラム32内の柱状グラフ32bを縞模様の特殊態様にしてカラー表示する構成とした。
In the above embodiment, as shown in FIG. 10, when the specified colors of the numerical data included in a certain class range are not the same but are specified differently, the
これに対し、図11のヒストグラム32′に示すように、異なる色に指定された数値データを含む階級範囲の柱状グラフは、色別にカウント(図9の第2階級範囲[10−20]参照)した数値データの色と個数(赤9個/青1個)に対応する積み上げ式の柱状グラフ32b′として他の特殊態様でカラー表示する構成としてもよい。
On the other hand, as shown in the histogram 32 'of FIG. 11, the columnar graph of the class range including numerical data designated for different colors is counted by color (see the second class range [10-20] of FIG. 9). The color data may be displayed in a different special manner as a stacked
なお、前記各実施形態では、リストデータの各数値データに対して指定可能な色として、赤色(Red)、青色(Blue)、緑色(Grn)、黄色(Yllw)の5色を例にして説明したが、これらの色以外の色を指定できようにしても良いし、5色以上の色を指定できるような構成であってもよい。 In each of the above-described embodiments, five colors of red (Red), blue (Blue), green (Grn), and yellow (Yllw) are described as examples of colors that can be specified for each numerical data of the list data. However, it may be possible to specify a color other than these colors, or a configuration in which five or more colors can be specified.
また、前記各実施形態において記載した電子計算機10による各動作手法、すなわち、図6、図7の各フローチャートで示した手法は、コンピュータに実行させることのできるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フレシキプルディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の記憶媒体(記録媒体17)に記録して配布することができる。そして、電子計算機10のコンピュータ(CPU11)は、この記憶媒体に記録されたプログラムを読み込みことで、前述した手法による同様の処理を実行することができる。
In addition, each operation method by the
また、前記手法を実現するためのプログラムのデータは、プログラムコードの形態として通信ネットワーク(公衆回線)を介して伝送させることができる。そして、電子計算機10のコンピュータ(CPU11)は、このプログラムを通信ネットワークに接続された通信装置(通信制御部18)にて受信することにより、前述した手法による同様の処理を実行することができる。
Further, program data for realizing the above technique can be transmitted as a program code form via a communication network (public line). And the computer (CPU11) of the
なお、本発明は前記各実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、前記各実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。 Note that the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the components without departing from the scope of the invention in the implementation stage. Various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the respective embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.
10 …電子計算機(グラフ関数電卓)
11 …CPU
11a…リスト入力制御部
11b…リスト記憶制御部
11c…グラフ生成制御部
11d…グラフ表示制御部
11e…第1の色変更制御部
11f…第2の色変更制御部
12 …キー入力部
12a…数値・記号キー
12b…関数・演算子キー
12c…「Menu」キー
12d…「Shift」キー
12e…「Color」キー
12f…「Graph」キー
12g…「Trace」キー
12h…「EXIT」キー
12i…カーソルキー
F1〜F6…ファンクションキー
13 …表示部
14 …メモリ
14a…グラフ表示制御プログラム
15 …RAM
15a…表示データ記憶領域
15b…式データ記憶領域
15c…リストデータ記憶領域
15d…階級範囲データ記憶領域
15dc…階級範囲毎色別リスト
15e…グラフデータ記憶領域
16 …記録媒体読取部
17 …記録媒体
18 …通信制御部
21 …リスト入力画面
22 …リスト(表)
23 …カラー選択メニュー
31 …グラフ表示画面
32 …ヒストグラム
32a,32b,…柱状グラフ
10 ... Electronic calculator (graph function calculator)
11 ... CPU
11a ... List
15a ... Display
23 ...
Claims (6)
このリスト入力手段によって入力されたリストデータを前記各数値データに指定された色の情報と関連付けて記憶するリスト記憶手段と、
このリスト記憶手段により記憶されたリストデータを前記各数値データに指定された色の情報に従い当該各数値データに色を付けてカラー表示するリスト表示手段と、
前記リスト記憶手段により記憶されたリストデータに基づいて、任意設定された数値階級毎に同階級内の数値データに指定された色が同じ色か異なる色かを判断する階級毎数値色判断手段と、
この階級毎数値色判断手段により前記数値階級毎に同階級内の数値データに指定された色が同じ色と判断された場合にはその数値データを累積した同色の柱状グラフを生成し、異なる色と判断された場合にはその数値データを累積した特殊態様の柱状グラフを生成してヒストグラムを生成するヒストグラム生成手段と、
このヒストグラム生成手段により生成されたヒストグラムの各柱状グラフを同柱状グラフの色または特殊態様に従ってカラー表示するグラフ表示手段と、
を備えたことを特徴とするグラフ表示装置。 List input means for inputting list data composed of a plurality of numerical data by user operation, and specifying an arbitrary color for each numerical data of the list data;
List storage means for storing the list data input by the list input means in association with the color information specified for each numerical data;
List display means for displaying the list data stored by the list storage means in color by coloring each numerical data according to the color information specified for each numerical data;
A numerical value color judging means for each class for judging whether the color designated in the numerical data in the same class is the same color or a different color for each arbitrarily set numerical class based on the list data stored by the list storage means; ,
If the color specified for the numerical data in the same class is determined to be the same color for each numerical class by this numerical color determining means for each class, a columnar graph of the same color is generated by accumulating the numerical data, and different colors A histogram generation means for generating a histogram by generating a columnar graph of a special mode in which the numerical data is accumulated when it is determined,
Graph display means for displaying each columnar graph of the histogram generated by the histogram generation means in color according to the color of the columnar graph or a special aspect;
A graph display device comprising:
この第1の色変更手段によって変更された色を前記リスト記憶手段により記憶された当該ヒストグラムに対応したリストデータに反映させて、前記各数値データに指定された色を同様に変更する第2の色変更手段と、
を備えたことを特徴とする請求項1に記載のグラフ表示装置。 First color changing means for changing the color of the histogram displayed by the graph display means;
A second color that is changed in the same manner by reflecting the color changed by the first color changing means in the list data corresponding to the histogram stored in the list storage means and changing the color designated in each numerical data in the same manner. Color changing means;
The graph display device according to claim 1, further comprising:
前記コンピュータを、
ユーザ操作によって複数の数値データからなるリストデータを入力し、そのリストデータの各数値データに任意の色を指定するリスト入力手段、
このリスト入力手段によって入力されたリストデータを前記各数値データに指定された色の情報と関連付けてメモリに記憶するリスト記憶手段、
このリスト記憶手段により記憶されたリストデータを前記各数値データに指定された色の情報に従い当該各数値データに色を付けて前記表示部にカラー表示させるリスト表示手段、
前記リスト記憶手段により記憶されたリストデータに基づいて、任意設定された数値階級毎に同階級内の数値データに指定された色が同じ色か異なる色かを判断する階級毎数値色判断手段、
この階級毎数値色判断手段により前記数値階級毎に同階級内の数値データに指定された色が同じ色と判断された場合にはその数値データを累積した同色の柱状グラフを生成し、異なる色と判断された場合にはその数値データを累積した特殊態様の柱状グラフを生成してヒストグラムを生成するヒストグラム生成手段、
このヒストグラム生成手段により生成されたヒストグラムの各柱状グラフを同柱状グラフの色または特殊態様に従って前記表示部にカラー表示させるグラフ表示手段、
として機能させるためのプログラム。 A program for controlling a computer of an electronic device having a display unit capable of color display,
The computer,
List input means for inputting list data composed of a plurality of numerical data by user operation, and specifying an arbitrary color for each numerical data of the list data,
List storage means for storing the list data input by the list input means in a memory in association with the color information specified for each numerical data;
List display means for displaying the list data stored in the list storage means in color on the display unit by coloring each numerical data according to the color information designated for the numerical data.
Based on the list data stored by the list storage means, numerical value color judgment means for each class for judging whether the color designated in the numerical data in the same class is the same color or different color for each numerical value class set arbitrarily.
If the color specified for the numerical data in the same class is determined to be the same color for each numerical class by this numerical color determining means for each class, a columnar graph of the same color is generated by accumulating the numerical data, and different colors A histogram generating means for generating a histogram by generating a columnar graph of a special mode in which the numerical data is accumulated when it is determined,
Graph display means for color-displaying each columnar graph of the histogram generated by the histogram generation means on the display unit according to the color or special mode of the columnar graph,
Program to function as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010121883A JP4952824B2 (en) | 2010-05-27 | 2010-05-27 | Graph display device and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010121883A JP4952824B2 (en) | 2010-05-27 | 2010-05-27 | Graph display device and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011248679A JP2011248679A (en) | 2011-12-08 |
JP4952824B2 true JP4952824B2 (en) | 2012-06-13 |
Family
ID=45413851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010121883A Active JP4952824B2 (en) | 2010-05-27 | 2010-05-27 | Graph display device and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4952824B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014010801A (en) * | 2012-07-03 | 2014-01-20 | Casio Comput Co Ltd | Histogram display device and program |
JP6107997B2 (en) * | 2016-03-15 | 2017-04-05 | カシオ計算機株式会社 | Histogram display device, histogram display method and program |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3023235B2 (en) * | 1992-02-07 | 2000-03-21 | 富士通株式会社 | Color image display |
JPH09179991A (en) * | 1995-12-27 | 1997-07-11 | Casio Comput Co Ltd | Graph display device |
JPH10124690A (en) * | 1996-10-21 | 1998-05-15 | Casio Comput Co Ltd | Device for displaying graph and method therefor |
JP3639970B2 (en) * | 1997-12-18 | 2005-04-20 | カシオ計算機株式会社 | GRAPH DISPLAY DEVICE, GRAPH DISPLAY METHOD, AND RECORDING MEDIUM CONTAINING GRAPH DISPLAY CONTROL PROGRAM |
-
2010
- 2010-05-27 JP JP2010121883A patent/JP4952824B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011248679A (en) | 2011-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6244901B2 (en) | Graph display control device, electronic device, and program | |
CN104111811A (en) | Graph Display Device, Graph Display Method And Control Program | |
JP6318615B2 (en) | Graph display control device, electronic device, and program | |
JP2015210598A (en) | Graph display controller, graph display control method, and program | |
JP4952824B2 (en) | Graph display device and program | |
US9007376B2 (en) | Graph display apparatus and graph display method | |
JP5062280B2 (en) | Graph display device and program | |
JP5177275B2 (en) | Graph display device and program | |
JP4868070B2 (en) | Graph display device and program | |
JP6107997B2 (en) | Histogram display device, histogram display method and program | |
JP2010170417A (en) | Display screen design support device and program | |
JP5397512B2 (en) | Graph display device and program | |
JP2014010801A (en) | Histogram display device and program | |
JP5397513B2 (en) | Graph display device and program | |
JP3978682B2 (en) | Graphical user interface device | |
JP4089047B2 (en) | Graph display device and recording medium recording graph display processing program | |
JP5416252B2 (en) | Input display program, method and portable information terminal | |
JP3978619B2 (en) | Graphical user interface device | |
JP5510253B2 (en) | Graphic display device and program | |
JP5962696B2 (en) | Graphic display device and program | |
JP5668312B2 (en) | Set computing device and program | |
JP6313539B2 (en) | Information processing apparatus and program | |
JP2019061345A (en) | Electronic equipment, display method and program | |
JP2015125735A (en) | Graph display control device, electronic device, and program | |
JP2014241028A (en) | Calculation device and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120214 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120227 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4952824 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150323 Year of fee payment: 3 |