This topic covers basic operations common to all Origin child windows.
OPJU files saved in Origin 2023b will scale workspace and child windows better when opened on a screen with different resolutions and DPI, no matter the OPJU is saved in maximized or unmaximized workspace. Functionality is controlled/tuned using system variable @MFRLA and @SRWS. |
Windows that are arranged in rows and columns can be "snapped"; that is, dragged and resized along a common edge. The visual cue for engaging the snap is a green bar.

In addition to the familiar Cascade (Window: Cascade) and Tile (Window: Tile Horizontally/Tile Vertically) window operations, there is a an Arrange Windows dialog (X-Function = winarrange) for systematically arranging child windows in a user-specified sequence.
See Arrange Windows for information.
Beginning with Origin 2022b, you can undo deleting a workbook window by menu Edit: Undo or hotkey Ctrl+Z. The related data plots will also be restored. |
When you click the window's Close button, Origin asks if you want to hide or delete the window. To change this behavior (and skip the prompt):
|
Beginning with Origin 2018b, the active child window -- the window that will be acted upon by graphing and analysis operations -- will display a colored frame to make the active window more obvious. You can customize the active window indicator properties with "@ System Variables" @AWC (color) and @AWI (style).

System variables @AWC and @AWI are persistent system variables (they are written to the registry) and thus, you do NOT need to do any more than set a value using the Script Window and the value will be remembered across sessions. Simply choose Window: Script Window, enter a value at the command line and press Enter (e.g. @AWC=color(255,0,0)). |
All Origin Windows, including Graph, Matrix, Worksheet, Layout, Notes, Excel sheet window, support this operation which is also known as Ping Pong.
Origin names duplicated windows using this default naming syntax:
DefaultNameN
where N is assigned the lowest available number not used by other project window names of the same type.
| Window | Default Name |
|---|---|
|
Workbook |
BookN |
|
Graph |
GraphN |
|
Matrix |
MBookN |
|
Layout Page |
LayoutN |
For more information, see Origin Child Window Naming Conventions.
You can duplicate workbooks or matrixbooks, with or without data, by right-clicking on the window title bar and choosing an option from the shortcut menu. Please note, since Origin 2020, when you select Duplicate Without Data to duplicate the window, only the raw data will be deleted but the cell links(such as cell references, cell formula etc.) will be kept to further uses. You can use the system variable @DkL to roll back to the older behavior which will delete the cell links too. |
Whenever you change the contents of a graph window or a worksheet, or expose a part of a window that was hidden, Origin automatically redraws the affected portion of the window. To manually refresh the active window, click the Refresh button
on the Standard toolbar.
Note: If a graph contains large dataset, redrawing is time-consuming. When you expose a part of a hidden window or resize the window and it takes more than 500ms to redraw, Origin 2018 uses bitmap buffering to escape the redrawing process and improve the speed. In this case, when resizing the window you should see that the graph content is not updated "in real time" and the quality may be "bad" because the bitmap is used to stretch/compress. The quality will be updated when resizing is completed.
A template is saved without data; A window file is saved with data.
To save the active window as a child window file:
Origin will save the window as a Origin child window file, with the appropriate file extension: workbooks (.ogw(u)), graph (.ogg(u)), matrix(.ogm(u)) and notes (.txt).
Origin applys some useful path options to the Save Window as File Path drop-down. |
To save the active window as a Template file:
To save the active workbook window as an Analysis Template file:
Since Origin 2019b, Origin supports to save a workbook without any operation as an analysis template too. Once you choose the File: Save Workbook as Analysis Template... main menu or File: Save Workbook as Analysis Template... shortcut menu, a dialog will pop up firstly to let you decide how to clear the data. Choose the radio box and then click OK button to open the the Save Windows As dialog to save the analysis template. If you don't want clear any data, just cancel and choose Save Window As menu instead to save the workbook as a window file. For earlier versions, you are not allowed to save a workbook without any operation as an Analysis Template, but you can always save the workbook as a window file and then also use it in the Batch Processing dialog to do repetitive tasks. |
See Also:
To open a window from a file:
Select the type of the window to be opened, then choose a file. The window becomes a part of the current project.
Under the Files of type item, there is an Opens as read-only check box. This check box is available only when an OPJ or an Excel file is selected. Attempting to save a read-only file will produce an error message. |
The Show Info check box near the bottom of the Open dialog box can determine whether to show comments, which can be saved with OPJ files. |
| File Type | What happens when the file is dropped onto Origin |
|---|---|
| OPJ | If current project has been saved and there were no changes made after saving, append the dropped opj to current project. Otherwise, close the current project and open the dropped project. |
| OGG, OGW, OGM | Open the ogg, ogw, ogm files in Origin. |
| OTP, OTW, OTM | Open the template files in Origin. |
| OIS | Install the dialog theme so it becomes available in the menus, the related dialog, LabTalk scripts and the theme organizer. The theme file will be saved to \Themes\AnalysisAndReportTable subfolder under your User Files Folder. |
| FDF | Install the fitting function. If the function file is saved in Origin 2017 or earlier versions, during installation, a dialog pops up, asking which category the file should be put into. For files saved in Origin 2018 and further versions, as they have already included the category information during their creations or saving, the function file will be copied to the same category.
|
| OXF | Install the X-Function. |
| OPX, OPK | Install the package. It will be shown in the installed opx list in the Package Manager . |
| OTH | Install the Worksheet or graph theme. The file will be saved to \Themes\Worksheet or \Themes\Graph subfolders under your user files folder and will be shown in the Theme Organizer. |
| C, CPP, H, OGS | Open the file in the Code Builder. |
The pinned Window can skip from arrange windows.
To pin window:
To unpin window:
From 2023b, the pinned window will remain in workspace when switching folders. Set the system variable @pws=0 to roll back to old behvior so that pinned window will only show in its own folder.
When the pinned window isn't in its own folder:
Origin supports Page Notes for Workbook, Matrix, Graph, Layout and Image windows,.
To add the Page Notes for a window:
or
or

To hide the Page Notes:
or
After hide the Page Notes, it will be embedded in the child window. To show it again:
or
or
| Note: For more information on page notes, Notes windows and Notes window syntax, see the following topics: |
To switch windows in the same folder:
or

The Window Switcher displays thumbnails of all windows in the same folder including the floating windows and hide windows. The window is switched with a blue frame.
|