HyperGraph

Data Sources

Data Sources

Previous topic Next topic Expand/collapse all hidden text  

Data Sources

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Bar chart curves are comprised of data and categories.  Data can be read from a data file, defined as mathematical expression, or entered as values. A label identifies categories and tic marks are used to separate them from other categories.

hmtoggle_plus1greyFiles as a Data Source

If File is selected as the source, the file panel is displayed, allowing you to select a data file for the curve.

file_as_source_barchart File selected as the data source for a vector

hmtoggle_plus1greyMath as a Data Source

If Math is selected as the source, the curve calculator is displayed, allowing you to define the vector mathematically.

math_as_data_source_barcharts

Math selected as the data source for a vector

NoteSee Curve Calculator for more information on defining vectors mathematically and signal processing.
hmtoggle_plus1greyValues as a Data Source

If Values is selected as the source, the Values table is displayed, allowing you to directly enter data point values.

define_bars_panel

Values selected as the data source for a vector

Option

Description

Categories

The bar chart display is divided into categories.  Categories can be renamed by selecting a cell, typing a new name, and clicking Apply.  You can have more than one bar series in each category.

Curve

Data point values can be entered directly into the Curve column in the Values table.  Enter numbers in the Curve columns and click Apply.  After adding a curve to the Curve list, a Curve column is displayed next to the Categories column.  By default, a new curve is named Curve 1, Curve 2 etc.  If you change the name of the bar chart curve in the Curve list, the heading for the Curve column in the Values table also changes.

From the Row group box, you can insert, add, and delete rows in the Values table.  Click Undo to reverse the last task completed.  Click the expansion button, exp-button, to view a larger dialog containing all y data points.

How do I...

hmtoggle_plus1Use a file as a data source:
1.Select File.
2.Click the file browser button and select a data file.
3.Select a vector data source by specifying Type, Request, and Component.
4.Click Apply.
hmtoggle_plus1Edit a curve whose data source is a file:
1.Select a bar series from the list or pick a bar chart from the window.
2.Select or enter the new data for the vector.
3.Click Apply.

The changes to the curve are reflected in the HyperGraph 2D window.

hmtoggle_plus1Use math as a data source:
1.Select Math.
2.Define the vector using the curve calculator to create a mathematical expression.
hmtoggle_plus1Use values as a data source:
1.From the Define Bars panel, select Values.
2.Enter a value in the Curve column of the Values table.  You can enter a value for each available bar chart category.
3.Click Apply.
hmtoggle_plus1Add a row to the Values table:
1.From the Define Bars panel, select Values.
2.From the Row group box, click Add.

A row is added to the Values table.

hmtoggle_plus1Delete a row from the Values table:
1.From the Define Bars panel, select Values.
2.Select a row from the table.
3.Click Delete.

The row is delete from the table.

hmtoggle_plus1Insert data point value:
1.From the Define Bars panel, select Values.
2.Select a point from the table.
3.Click Insert.

A new row is added above the selected row.  The Y data value is zero by default, allowing you to enter new values.