Help: Data window

Overview

Aller à la version en français french flag


The main widget in the window is the data table, hovered by mouse draggable pins. These pins play an important role for the input and visualization.

Black pins base pin

pin x points to the colunm that contains abscissa values. The same idea applies for pin y, or pin r and pin teta with polar coordinates. Moving these pins over the wanted columns automatically updates the graph with the new chosen points.

Selection pin selection pin

Once placed on top of a column or in the left side of a row, this pin gives the ability to execute several actions on them:

Curve fitting

Fitting curves can be calculated by ZeGrapher with the linear least squares method: the curve can approach the data points or the piecewise linear function made by connecting them.

Note: in this version, only polynomial regression is available.

Practical use

Column actions

When the selector pin pin selecteur is dragged over a column, several actions can be made on it.


Rename

To rename a column, double click on its header (where "Rename me!" is written at first show). A dialog will then appear to ask for a new name.

Note: Only letters and underscores are permitted.

Sort

The values of the column can be sorted. When the values of two cells need to be switched, you can chose to exchange the entire rows or only the cells.

Fill

Two filling methods are available: from an expression or an automatic fill.


From an expression

The entered expression will be applied to each of the selected column's cells.

Values from the same row, in other columns, can be used in the expression: you can refer to them by using their column's name as a variable.

Example: x' = 2 * volume (volume here is the name of another column)
You can copy a column into another this way.

If the selected column has already values in it, its values can be used in the expression: you can refer to them by either "x" or the column's name.

Example: x' = cos(x)
For each cell: replace the value by its cosine

All the common functions (present on the virtual keyboard) can be used in the expression, and also the plotted functions (f,g,h... etc).

Auto-fill

You need to enter a start value, an end value and a step. The column will then be filled automatically.

Curve fitting

In the current version, only the polynomial fit is available.

After adding a fitting curve, its will approach the values contained in the columns pointed bypin x and pin y (or pin r and pin teta). If the pins are moved to other columns, or new values are added in the columns, the fitting curve updates itself automatically.

Polynomial regression

The polynomial's degree can be chosen. But also its plotting interval and its color. The values of its coefficients are displayed in "Values" tab.

Feedback

Did you encounter a bug ? You have ideas to improve ZeGrapher ? Something else ? A mail talking about it to contact@zegrapher.com is always welcome !