Edit Action Category

DM2003 supports a standard set of editing operations (Copy, Paste, Cut, etc.) and several specific commands. The most important feature of editing commands is polymorphism - every command may be applied to the different types of objects. Since data windows have two viewers - plot and worksheet, and main window supports docking, several editable objects may coexist in the main window frame and application must decide what object should be affected when user activates a command. In DM2003, the result of the operation depends on the active object (active, or focused control indicated by special frame and icon in the status line of the main window). So that, you should activate object before editing (just click it with mouse or use TAB key).

The most of editing commands acts on the selected range of data in the active control. If no data range selected (or clipboard has no appropriate data) some commands may be disabled.

Title Description
Undo Undo recent operation
Cut Cut selection and place it on the clipboard
Copy Copy selection to the clipboard
Paste Paste the contents of the clipboard
Delete Delete selection
Select AllSelect all data range
Insert LinesInsert clipboard contents as new worksheet lines
SortSort selected data range (min 4 lines)
Swap ColumnsSwap Y and X Columns
Selector Tool Plot Selector Tool
Editor Tool Point Editor Tool
Eraser Tool Point Eraser Tool
Translation Tool Plot Translation Tool

Undo Action Details:

Undo command restores data modified by the last operation (or group of similar operations if appropriate flag is set in the Application properties dialog box). This command displays name of the last operation in the status line of the main window and also works with data processing operations, although changes of single plot points (made by plot Eraser and Editor tools) or worksheet lines (made by in-place editor) cannot be restored. Keep in mind that Undo command is not supported in the Series Manager window.

Cut Action Details:

Cut command deletes selected data (if any) and places it on the clipboard. In general, it works as if you first invoke Copy command, and then click Delete.

For Plot Viewer, however, only one type of data is copied - current series object, selected data points or plot label object.

Copy Action Details:

Copy command uses several formats simultaneously (if possible). For worksheets, it copies selected data as text and special binary TRealData array, and a "dummy" series object whose data range initialized with the worksheet selection.

Plot viewer copies data points from current series (X,Y pairs) as text, whole plot page as a picture and current series object. Keep in mind that only selected points are copied if plot selection is visible. If label edit mode is active and you have selected plot label, only this label object is copied.

Series Manager copies only series objects. In the Notes and Browser Copy command works as in Notepad and MSIE, respectively.

Paste Action Details:

Paste command for worksheet viewer depends on the Ins/Owr flag (this flag switched by Ins key when data window is active and indicated in the status line of the main window). Plot viewer and Series Manager can paste either series or label objects. This command may be disabled if there's no suitable data on the clipboard.

In newer versions, behavior of this command is more advanced: selected plot label may either be replaced by another label object from the clipboard (if any), or paste WMF picture; also new label may be added in dependence on the Ins/Owr flag and the appropriate option in the Application Properties dialog box. These options also affect pasting of series objects.

In the Notes and Browser Delete command works as usually.

Delete Action Details:

Delete command in worksheet deletes data from selected cells. In the Series Manager, only selected series will be deleted. In the Notes and Browser Delete command works as in Notepad and MSIE, respectively.

Plot viewer behavior depends on what object you have selected. If label edit mode is active and you have selected plot label, only this label object is deleted. Otherwise, the result depends on whether plot selection is visible or not. Delete command can either delete selected points from non-empty series (functional series also cannot be processed!), or delete current series object if plot selection is not visible and appropriate option in the Application Properties dialog box is checked.

Selector Tool Action Details:

Selector tool used to select rectangular plot area. Editing commands and some operations may act on the points inside the selected plot area. To hide plot selection, just select other tool or click Selector again.

Editor Tool Action Details:

Point editor tool implements visual graphic editor. Just click a point and drag it to the new position. Keep in mind that point editor unable to move points if appropriate series (or any axis) has non-empty X or Y expressions: otherwise this operation requires calculation of the inverse functions defined by symbolic expression; this problem, in general, has no regular solution.

Eraser Tool Action Details:

Point eraser tool should be used to delete single curve points. This feature is very convenient when you need to remove "bad" data points from the file generated by measurement system. Click this tool and then click unnecessary points.

Translation Tool Action Details:

Translation tool allows you to move the group of points within selected plot region. Before using Translation tool you must select desirable plot area with the Selector tool, then turn on Translation mode (control handles appear at the bounds of the selection rectangle). Click the selected rectangle and drag it to the new position (curve preview will be displayed during this operation). Or click control handles and drag them to resize selection and linearly move selected points.

Translation tool acts only on the points of current series. Because of the same reasons as for Point editor tool, series and axes expressions must be empty, otherwise translation will be impossible. Log scale mode, however, fully supported.

Translation Tool

Translation tool in action: (1) - points to be moved, (2) - translation frame.