Graph - correction of flows using a mouse

A flow correction (it starts with the help of function %HI_GraphCorrectionStart) allows a user to correct a data curve in the graph using the mouse. The user has to create the correction points (up to 50) that help to define the data correction by the change of their position. The correction points are specified by the marks and linked by the correction curve.

When you left-click over the control point and drag and drop it on the new position, it causes the change. When dragging, the control point, correction curve and data flow are redrawn. The difference against the previous position is shown at the cursor and in the dialog box.

The correction is linear, calculated in the D2000 HI process from the leftmost point to the rightmost one. The final data are stored in the graph and are accessible from the picture script.

To stop the correction, press the Stop button in the dialog window or use the proper function in the script or start correcting next flow in the graph.

Correction in the graph

Used definitions:


Correction procedure

After starting the correction, the dialog window opens. It contains the list of correction points and the control buttons.

Control buttons

The meaning of the buttons (left to right) is following:

  1. Number of flow. It enables to move the window to other position (press left-mouse button, drag and drop it).
  2. List of correction points – their position on the x-axis and correction size.
  3. Correction size of the point. It is editable.
  4. Acknowledges the value of the point 3.
  5. Cancels all correction points.
  6. Saves the changes. They are stored in the data of graph and are processed by a picture script.
  7. Ends the correction.

Control in the graph

Add / remove the correction points

When pressing left-mouse button together with CTRL key:

When pressing right-mouse button together with CTRL key:


Change position of the correction point

To appear the cursor for  the change of position, press the CTRL and SHIFT key and move the mouse pointer over the correction point or shifted correction point. Press the left-mouse button, drag the point and drop it. On the time zoom, the point may be moved only to near control point.


Notes:

Graphs
Graph window