OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis                           
 

12.2.4 Recalculating Analysis Results

All analysis tools and most other data-processing dialog boxes include a Recalculate control, usually located near the top of the dialog box where you specify your input data.

Image1002.png

Use this operation-specific control to determine how the software will treat changes to input data. Choose one of three modes -- None, Auto and Manual (see table, below). In summary, None = do not recalculate, Auto = trigger recalculate automatically and Manual = trigger recalculation manually.

Modes for Recalculate

None

If Recalculate is set to None, the output is disconnected from the input data. Subsequent changes to the input data will not result in an update to the original output data. Additionally, it isn't possible to reopen the dialog box using the Change Parameters shortcut menu command (see below) and make adjustments to the analysis parameters (The Set Values dialog box is the one exception).

Auto

If Recalculate is set to Auto, the results are automatically updated when the input data changes.

Manual (Default)

If Recalculate is set to Manual, you are able to manually trigger an update following changes to the input data.

Recalculate Toolbar Buttons and Operation Lock Icons

The presence of recalculating operations in an Origin project produces several visual cues to the user:

  • When the project includes output from ANY graphing or analysis operation for which Recalculate has been set to Manual or Auto, the Recalculate button on the Standard toolbar is turned on.
Recalculation On vs Off.png
  • A "lock" icon (e.g Icon Recalculate Auto.png) is added to any and all output data that is linked by some calculation, to input data. The lock icon signifies to the user this is analysis output and it cannot be manually edited.
  • Having many recalculation operations in your project file can slow down your work. You can block recalculation -- both Manual and Auto recalculation -- by clicking on a lock icon and choosing Block Recalculation from the popup menu.
  • Deleting output-containing windows and operations locks will break links between input and output and delete associated output.


The following table summarizes the various recalculation buttons and icons and explains their significance.

Button / Icon Description
Button Recalculate Auto.png Located on the Standard Toolbar. A green button signals that there are no recalculation operations pending in the project.
Button Recalculate Manual.png Located on the Standard Toolbar. A yellow button signals that there are manual recalculation operations pending in the project.
Icon Recalculate Auto.png Associated operations are set to Recalculate = Auto. No pending operations.
Icon Recalculate Manual Green.png Associated operations are set to Recalculate = Manual. No pending operations. Initially, all Manual recalculations will show as green. Note the slight difference between the green Manual and green Auto icons.
Icon Recalculate Manual Yellow.png Associated operations are set to Recalculate = Manual. When input to up-to-date Manual operations is changed, the icon will change from green to yellow.
Gray lock pro only.png A dark gray lock icon indicates that the associated operation was performed in OriginPro and the window or project has been opened in standard Origin. The operation is not supported by standard Origin and to modify or re-run the analysis, you will need to locate a computer with an OriginPro license.
Broken operation lock.png A red lock icon signals that something has occurred which prevents further recalculation. Such conditions are rare but would occur if, for instance, you passed a project file that included a user-defined curve fitting operation to a colleague but failed to share your user-defined fitting function.
Button block recalculation auto.png Blocking an up-to-date recalculation places this green "block" icon on all operations in the chain.
Button block recalculation manual.png Blocking a pending recalculation, or changing input on a blocked up-to-date recalculation operation, places this yellow "block" icon on all operations in the chain.

Starting with Origin 2019, you can hide the lock icons on your graph window by clicking on the graph and, from the main menu, choosing View: Show and clearing the check mark beside Lock Icons. This does not remove associated operations from the graph window. To re-display the icons, place a check mark beside Lock Icons.

Context Menu for Locked Operations

You can click on a lock icon in a graph or report sheet and open a context menu. Listed options are explained in the following table:

Recalculate icon context menu.png
Recalculate

Trigger recalculation of the result columns/sheets and update the results. When a lock is green (Auto or Manual), the Recalculate option will be grayed out.

Change Parameters

Open the original dialog box to make changes to the settings.

Delete

Delete all the output results related to this operation. Results can not be recovered after deleting.

Go to Source

Go to the worksheet containing this operation's input data.

If this operation has multiple source sheets, Origin will go to the first one. If this operation has multiple lock icons, Origin will go to the first source sheet of this operation. (To distinguish overlapped lock icons, change the lock icon position from Layer Icon to First Point or Last Point by choosing Data: Lock Position: First Point/Last Point.)

Go to Results

Go to the result sheet of this operation. This menu is available only when a Graph window is active.

If this operation has multiple result sheets, Origin will go to the first one. If this operation has multiple lock icons, Origin will go to the first result sheet of this operation.

Analysis Markers

Control the display of Analysis Markers in the graph window. Graph window context menu only

Plot Input Data with Data Markers

Plot the input data with Data Markers in a new graph window. Worksheet context menu only.

Recalculate mode: Manual/Auto/None

The selected mode will show a check mark next to it. Change the mode by selecting another option.

Block Recalculation.

Click Block Recalculation to suspend recalculation for this operation and all other operations in the chain. For pending recalculations places a yellow "block" icon Button block recalculation manual.png on each associated operation in the chain. Placing a block on up-to-date calculations places a green "block" icon Button block recalculation auto.png on each operation in the chain. To remove the block, click on the "block" icon and clear the check mark (Note that clicking the yellow Recalculate button Button Recalculate Manual.png on the Standard toolbar does not update blocked operations). When recalculation is blocked, the other menu options listed in this table are not available.

Show Info

Write notes and input/output information out to the script window.

Generate script

Generate a LabTalk script according to the current operation and settings, and output the script to the Script Window. Executing the script will yield the same results as repeating the operation with the settings.

Repeat this Analysis to All Plots/Y Columns

Repeat the analysis of the current plot/Y column to

  • all visible plots (except the current plot) on the current graph.
  • all Y columns in same source worksheet.

If there are multiple plots in the graph or multiple Y columns in source sheet, and you have performed analysis on one of them, use this context menu item to perform the same analysis on all other plots/Y columns.

This menu is not available for the recalculation on matrix data.

Copy Operation

Copy the analysis operation of the current curve to other graphs when performing 2D and 3D fitting analysis except Multiple Linear Regression. To paste the analysis operation, right click the destination plot, grouped plots, layer or whole graph and select the Paste Operation context menu command. Note that Origin does not allow different kinds of data inputs to do paste operation. More details please click Copy/Paste Operation

This menu is not available for the recalculation on matrix data.

 

© OriginLab Corporation. All rights reserved.