Open the worksheet for the dataset, LabTalk Variables dialog, or Color Palette dialog.
edit [options] [<Fitting Function Name> / <datasetName> / <X Function Name>]
When <Fitting Function Name> or <datasetName> is omitted, LabTalk Variables and Functions dialog opens. See also List (command).
Specifying the <Fitting Function Name> opens the Fitting Function Builder (for user-defined functions) or the Fitting Function Organizer (for built-in functions) for user to edit the curve fitting function. This option was introduced in Origin 8.5.
Specifying the <datasetName> opens the workbook containing the datasetName. <DatasetName> can be either a dataset in a workbook (such as Book1_B) or a loose dataset (like myLooseDs). Note that using this command can view a worksheet created with the creat -w command.
When <datasetName> conflicts with <Fitting Function Name>, the fitting function, instead of the dataset, will be edited.
Syntax: ed -m <matrixName> nCol nRow
Create an nCol by nRow matrix named matrixName.
Syntax: ed -x XFName
Specify the name of X-Function XFName and open it in X-Function builder. This works the same as the X-Function execution option -e.
This opens the Fitting Function Wizard (Origin 8.5) if there is a user-defined fitting function named "myfunc", or open a workbook containing the dataset "myfunc".
This opens the LabTalk Variables and Functions dialog (Equivalent to list command without options):
When a graph window is open, the following script opens the worksheet for the active dataset.
The following script opens the x-function integ1 in X-Function Builder:
edit -x integ1;
Ed (object) to open the Code Builder window.