Navigation:  Menu Commands > Edit Menu >

Edit Mode command (Edit menu)

JR   Viewer

Print this Topic Previous pageReturn to chapter overviewNext page

Allows you to quickly edit specific data points and/or add labels to data points with a point-and-click.

Shortcut: Click  on the toolbar.

This command is disabled for 1D statistics plots and 3D plots of 3D or 4D data. For XY plots, you cannot use this feature to edit generated records in Data Processing mode (for example, velocity curve generated from an acceleration record).

XY plots

DPlot scans through each curve to find two points that bound the cursor in the X direction. If/when found, it then checks the distance from the cursor hotspot to the line segment defined by those 2 points. A "hit" is registered if this distance is less than 3 pixels. DPlot repeats this operation for all curves and chooses the curve with the smallest distance from the cursor, then picks the closest endpoint of the line segment to edit. For curves with a large number of points (such that the spacing between adjacent points is less than 1 pixel in the X direction), you will almost certainly need to zoom in on the curve in order to pick a specific point.

You may also use this feature to label points. The label may later be edited with the Label Points command on the Text menu.

For XY plots you can change the values of the X and/or Y coordinate by clicking the mouse on the graph at the desired new location, in addition to entering values in the corresponding text boxes. If the Snap mouse box is checked then the coordinates will be rounded to “nicer” values: one tenth the tick mark interval on linear scales, for example.

Next selects the next point in the curve.

Prev selects the previous point in the curve.

Insert inserts a data point between the currently selected point and the next point in the curve. The initial X and Y values of the inserted point will be the average X/Y of the current and the next point.

Delete deletes the currently selected data point.

Distance to another point

You can right-click the mouse on another data point on the plot and this dialog will report the distance from the current point to that point. Please note: the distance reported is simply the square root of the sum of the squares of the horizontal and vertical offsets, in whatever units are used for X and Y. The reported distance may therefore be meaningless. The Y offset may also be in mixed units, depending on whether multiple scales are used on the plot.

2D plots of random 3D points

DPlot finds the triangle that you are pointing to, then selects the triangle vertex closest to the cursor hotspot. You may edit the X, Y, and or Z coordinates of this point. If you change either the X or Y coordinate then DPlot will regenerate a triangular mesh after selecting "OK".

2D plots of gridded 3D data

DPlot finds the grid square containing the cursor, and picks the vertex closest to the cursor hotspot. You may then edit the Z coordinate of that spot, but not the X or Y.

Label this point

Check this box to add a text label adjacent to the data point. NOTE: Point labels are not drawn in 3D views of 3D data, only in 2D views.

The control codes $X, $Y, and $Z in the label text will be replaced with the corresponding X, Y, and/or Z components of the labeled point. If the value of those coordinates is later changed, the corresponding field in the label will be updated automatically.

The label will be drawn on the plot after the label control loses the focus (by <TAB>ing away from the text box or clicking another control). Do not try to drag the note to a different location while this dialog is active; clicking the mouse on the plot (whether on the label or not) will shift the associated data point to the mouse location.

After dismissing the Edit Mode dialog you can move a label by dragging it with your mouse. You can also change several label attributes by right-clicking on the label and selecting options from the dropdown menu. For more control over the label appearance double-click the label, or select the Label Points command on the Text menu.

 

 


Page url: https://www.dplot.com/help/index.htm?helpid_editmode.htm