...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
| Style |
|---|
/*** DO NOT EDIT ***/
/*** This block necessarily fixes some quirks of ConfWiki editor, leave it here unless you understand. ***/
.expand-container + p, style.conf-macro + p {
display: none;
}
.expand-control {
margin-bottom: 0;
}
.expand-control-text {
color: #000;
}
|
...
| Div | ||
|---|---|---|
| ||
Toggle All |
Origin 2018b Features
Origin Interface
| Expand | ||
|---|---|---|
| ||
When there are many child windows, it's hard to tell which window is active. A magenta frame is added around active window title bar System Variables: @AWI=2;title bar frame and add 4 to use thin line
@AWC=color(255,0,0); |
...
| Expand | ||
|---|---|---|
| ||
Set Label Text as Custom and click the dropdown list to see Custom notations. Notations can be combined, e.g. h$n$ to show #1, #2, .... a$ (default) – enumerate lower case letters Graph## – Graph01, Graph02, ... hsn$ means #1, #2, .... Labtalk Script example: merge_graph labeltext:=custom labelcustom:=h$n$; Tip: Click the > button next to Dialog theme and choose Generate Script, executable Labtalk script will be created. |
...
| Expand | ||
|---|---|---|
| ||
If user merges some column labels e.g. Comments and import mode is set as Start New Columns. Then Origin will treat the merged column as a unit and check if 1st column in the unit is blank or not. If blank, import into it. If not, start new column after the unit and import there. System vairable @DCM=1;//disable check merged labels. Then Origin will work the old way before 2018b. Import into empty columns in the unit. |
| Expand | ||
|---|---|---|
| ||
Columns with missing values are still treated as columns with data. In the past, when user tried to import multiple data into same sheet with Multi-File Import mode set to Start New Columns, data will be imported into new columns after missing values columns. In 2018b, data will be imported into those missing value columns. |
...
| Expand | ||
|---|---|---|
| ||
Batch Plotting GUI Improvements
|
| Expand | ||
|---|---|---|
| ||
If the embeded matrix exits in the analysis template, batch processing support importing data or image to the embeded matrix. Besides, drag and drop to import data or image to opened analysis template is also supported. |
...
| Expand | ||
|---|---|---|
| ||
A new system variable:@OPJ= 0 Project to use new format and Copy Paste also new format 1 Project to use old format but Copy Page to use new format 2 Project to use new format, but Copy page to use Old format 3 Both will use old format |
...
| Expand | ||
|---|---|---|
| ||
new LT command doc -log1; //turns on for current project with empty password doc -log1 test;//turns on for current project with password = "test" doc -log0 test;//turns off for current project In Script Window, run HKEY_CURRENT_USER\Software\OriginLab\Origin 9.5b\International\SysV\ALOG with a DWORD value of 1 |
| Expand | ||
|---|---|---|
| ||
Add the nlsf_install_fdf and nlsf_uninstall_fdf OC functions to install and uninstall fitting functions. LabTalk Access is supported: run.section(dofile.ogs, OnInstallFDF, "%Yfitfunc\MyGauss.fdf") run.section(dofile.ogs, OnUnInstallFDF, "%Yfitfunc\MyGauss.fdf") LabTalk Access is supported: run.section(dofile.ogs, OnInstallTemplate, "%YMyGraph.otpu") run.section(dofile.ogs, OnUnInstallTemplate, "%YMyGraph.otpu") |
| Expand | ||
|---|---|---|
| ||
| The default value of second parameter of OC function GetParameterResults() was changed to 0. |
...
| Expand | ||
|---|---|---|
| ||
S2: Support accessing page properties by OC functions:Pagebase::SetProp() and Pagebase::GetProp(), for example: void test_Graph_Set_and_Get_Properties()
{
GraphPage gp;
gp.Create("origin");
gp.AddLayer("Test");
double vv;
gp.SetProp("active", 2);
gp.GetProp("active", &vv);
return;
} |
| Expand | ||
|---|---|---|
| ||
S2: Programming way to view Master Items on Screen LT page.master = 0, not export the Master item. However, if page.master = 1, can use LT script "Menu -e 33096" to toggle viewing Master items on screen, but cannot control it. |
...
| Expand | ||
|---|---|---|
| ||
Added a new parameter "lpcszInitTitle" to the OC function okoc_folder_browser, and the new parameter is used to specify the title of dialog box, now the function is: int okoc_folder_browser(LPCSTR lpcszInitDir, StringArray* saFolders, LPCSTR lpcszInitTitle) The new parameter "lpcszInitTitle" is used to specify the title of dialog box, and its default value is NULL. Example: #include <Origin.h> |
| Expand | ||
|---|---|---|
| ||
| Added three oc functions: 1. int GraphPage::CanDuplicate(int nWith = CAN_DUP_WITH_ANY); 2. int GetDuplicateWithCols(StringArray &saItems, DataPlot &dataPlot = NULL, int nModifier = PMMT_IGNORE); 3. int GetDuplicateWithBooks(StringArray &saItems, int nModifier = PMMT_OFFSET, int nMatchCol = MATCHCOLUMN_INDEX, int nMatchSheet = MATCHSHEET_INDEX); |
...
| Expand | ||
|---|---|---|
| ||
Add new Category key to FDF General Information section.
|
...
| Expand | ||
|---|---|---|
| ||
|
| Expand | ||
|---|---|---|
| ||
| When Iteration Algorithm is set as "Levenberg Marquardt" in Nonlinear Fit tools, Fitted Curves page, default X Data Type is changed as new method: Follow Curve Shape. (Note: except the Nonlinear surface/matrix fit tool) |
Peak Analysis
| Expand | ||
|---|---|---|
| ||
|
...
| Expand | ||
|---|---|---|
| ||
Discrete Frequency dialog adds a checkbox Show Zero Count Categories. |
| Expand | ||
|---|---|---|
| ||
Weibull Fit dialog adds below new items: |
| Expand | ||
|---|---|---|
| ||
| Origin 2018 changed Weibull Fit tool's Score Methods from Kaplan-Meier to Benard, which also affects Distribution Fit tool's probability plot . |
| Expand | ||
|---|---|---|
| ||
Weibull Fit tool's PlotData worksheet column label changed. |
| Expand | ||
|---|---|---|
| ||
From Origin 2018, the major and minor radius of the correlation ellipse in Scatter Matrix are exported to the result sheet. No matter you create the Scatter Matrix from Plot: 2D: Scatter Matrix or Statistics: Descriptive Statistics: Correlation Coefficient, you can find the major and minor radius of each correlation ellipse by A and B values in the Parameters column label row of the PlotData worksheet, where A is the major radius and B is the minor radius. |
| Expand | ||
|---|---|---|
| ||
Statistics on Columns/Rows dialog adds below checkboxes: |
| Expand | ||
|---|---|---|
| ||
Add options to the Pareto Chart (Binned and Raw) dialog
|
Batch Processing
...
| Expand | ||
|---|---|---|
| ||
Example scripts: expGraph type:=pdf overwrite:=rename page:=2!; //sheet index |
...
| Expand | ||
|---|---|---|
| ||
| In Origin 2018, New File Extensions like OPJU, OGWU, OGGU, OTWU, etc are added to various opening/saving file dialogs drop-down lists. |
| Expand | ||
|---|---|---|
| ||
File extensions are changed to: OPJU, OGWU, OGGU, OTWU,, etc. New structure allows file sizes to be reduced (sometimes greatly). It also allows files to be loaded more quickly. |
...
| Expand | ||
|---|---|---|
| ||
For example, when mousing over the following cells, an enlarged popup image will be displayed.
A System Variable @CET is used to control the behavior: @CET=0, use default size of 250x250 @CET=1 to 29, disable this feature @CET > 30 is user defined size in pixel, scaled by DPI scale factor |
...
| Expand | ||
|---|---|---|
| ||
Double click a cell to enter the edit mode. Ctr+M or right-click and choose Character Map to insert symbol into cell using the font specified for the cell. The benefit of this is that it allows actual Unicode characters to be inserted into Label rows, rather than codes used in previous versions of Origin. Hence, then the values in Label Rows are displayed elsewhere, those Unicode characters will be used. |
User Interface
| Expand | ||
|---|---|---|
| ||
To insert a character that is not supported by your keyboard, find the relevant 4-digit Unicode code via Google. Then, when in edit mode, type in the 4 digits and hit Alt+X to convert it to the actual character. Note: If the font for the location does not support the relevant character, it may not display properly even though the character is valid. This feature works in:
|
...
| Expand | ||
|---|---|---|
| ||
| Add a new menu option named Use One Legend Type Only and Auto Update under Legend context menu. When it's checked and select one type of legend in Legend context menu, all other types of entry will be deleted. When data point/data plot is added or deleted, the legend will be updated automatically. |
Axis Improvements
| Expand | ||
|---|---|---|
| ||
Arrow node on Line and Ticks tab of Axis dialog |
...
| Expand | ||
|---|---|---|
| ||
| In 9.4, it is not possible to adding a dataset into a Stacked Column by drag-and-drop. Now you can add new dataset into the group of Stacked Column/Bar plot by drag-and-drop. |
Graph Customization
| Expand | ||
|---|---|---|
| ||
Show a leader line between pie slices and labels. |
...
| Expand | ||
|---|---|---|
| ||
Hover mouse over a pattern block, the preview of this pattern will show. |
3D Graphing Improvements
...
| Expand | ||
|---|---|---|
| ||
In Origin 2018, user can uncheck Smoothing checkbox when using Custom Boundary. Before Origin 2018, the checkbox couldn't be unchecked so there was always some smoothing effect. Workaround: Set system variable @tcs=0 to minimize the number of smoothing data points |
| Expand | ||
|---|---|---|
| ||
Before Origin 2018, Lighting was only supported for 3D OpenGL based surface and 3d Bars. In Origin 2018, we added the support for 3D Walls. |
...
| Expand | ||
|---|---|---|
| ||
Support User Regular Expressions and Append results in Find in Files dialog of Code Builder. |
| Expand | ||
|---|---|---|
| ||
Set system var @RRNM=1 to allow resizing when Disable Horizontal or Vertical Movement bits are set. (default is 0). |
| Expand | ||
|---|---|---|
| ||
Implemented in Origin 2018. When opening an opj/opju which version is higher than your Origin, a smart hint show
|
...
| Expand | ||
|---|---|---|
| ||
| When user opens an OPJ file and later Save As, by default the format is OPJU, and we should open a reminder message box to inform them earlier version of Origin will not be able to open such files and allow Cancel, so file not saved. |
| Expand | ||
|---|---|---|
| ||
| MOCA files are not shipped together with Origin 2018. If you need to build your MOCA DLL, please contact us: tech@originlab.com |
...
| Expand | ||
|---|---|---|
| ||
Add optional argument to current function: vec Diff(vec[,n]) //support length of vector is N For example: Suppose there are 10 rows in column A and Set Column Values of B as diff(A) – returns 9 numbers. No value in last row. |
...
| Expand | ||
|---|---|---|
| ||
Syntax for the conversion command is is file -ocz password srcpath destination; srcpath can have wildcard in file name, and in this case destination must be a folder location and destination files will use source file name and extension changed to OCZ. The Message Log will list each successful conversion and indicate at the end as "Done!" or "Failed!". If any errors occur, they will be displayed in a Messagebox. For example: file -ocz junk "%YOriginC\*.c??" "%Yabc" file -ocz "aB12#$" "%YOriginc\test.c" "%Yjunk.ocz" |
| Expand | ||
|---|---|---|
| ||
The X-functions below can be run via LabTalk to create graphs.
For example: plot_gboxindexed irng:=col(A) group:=col(B) theme:="test"; |
...
| Expand | ||
|---|---|---|
| ||
For example: create myx -fp2 50 u 0 1 50 0 1; |
...
| Expand | ||
|---|---|---|
| ||
2018 will have general OC access to all the LT properties, this will include GraphObject, Column, Worksheet, etc
|
...
| Expand | ||
|---|---|---|
| ||
Add a bit, GROBJ_REPLACE_EXISTING,for CreateGraphObject() to replace existing
|
...
| Expand | ||
|---|---|---|
| ||
Dialog can have multiple controls in one row now.
|
...
| Expand | ||
|---|---|---|
| ||
Add a parameter in JSON.ToString( ), which converts variables in OC to string in html with full precision, to specify format
|
...
| Expand | ||||||
|---|---|---|---|---|---|---|
| ||||||
Enable popping up a message in an HTML dialog, it should be on top of graph control . Download the zip file below to see the sample codes
|
| Expand | ||||||
|---|---|---|---|---|---|---|
| ||||||
Two new member functions are added to OC Window class:
A new util function is also added to make it easier to set the icon from given icon file:
See below for the example of setting the icon of the HTML app dialog:
|
...





