3.2 System Variable List


Introduction

System Variables are used in Origin to control various behaviors, generally at a much lower level than settings found in Preference: Options.

There are several hundred system variables. A typical Origin user may need to set only a few of them based on their particular needs. Unless recommended by an FAQ or by technical support, there is usually no need for a user to check or set system variable.

Setting a System Variable

All system variables have a default value, and a set of supported values. To change the value of a system variable, do the following:

  1. Open the Set System Variables dialog from the Preferences: Set System Variables... menu.
  2. Scan the variable list to see if you had previously set/changed the system variable of interest. Note that variable names in column 1 are sorted by alphabetic order.
  3. If your system variable under consideration is already in the list, simply type in the new/desired value.
  4. If the variable is not in the list, scroll to the bottom of the list, then click on the empty row and type in the variable name. DO NOT type the '@' character. Only type the name of the variable, such as ASC.
  5. The dialog will display the default value in 2nd column when you click there. Change this value to the desired new value. Note that the variable name color indicates if the value is default or has been set by user.
  6. Press OK to close the dialog. Note that the value change goes into effect only AFTER you close the dialog.

Resetting a System Variable

To roll back a system variable to the default value, do the following:

  1. Open the Set System Variables dialog from the Preferences: Set System Variables... menu.
  2. Right-click on the row corresponding to the variable, and select Delete from the context menu.
  3. Click OK to close the dialog. The system variable value will be rolled back to the default value.

F Note that if you wish to leave the entry in the table, and simply want to revert to default value, you can change the value in the second column to the default value for that variable.

Checking the value of a System Variable

To simply check the value of a system variable, open the Command or Script Window, preface the variable name with @, then follow with "=" and press Enter:

@ASC=;
@ASC=20 // the current value of the system variable is returned

Persistent versus Non-Persistent Variables

Of the several hundred system variables, a small number are of the Persistent type. These are marked as Persistent in the table below. All other system variables are non-Persistent.

The difference does not matter if you set or reset the variable from the Set System Variables dialog as described above.

But if you set the value using Command or Script Window such as:

@ASC=50;

then the value is saved for future sessions only if the variable is the Persistent type. If the variable is non-Persistent, then the value assigned from script or command window will be valid only for the current session.

For Persistent system variables, when the value is changed either from the dialog or from script, the new value is stored in the Windows Registry at:


Computer\HKEY_CURRENT_USER\Software\OriginLab\SysVar


To list Origin's Persistent system variables:

list @; // lists all Persistent system variables stored at HKEY_CURRENT_USER\SOFTWARE\OriginLab\SysVar
// this registry-stored list includes only user-customized values
list -svr; // lists all Persistent system variables in Origin, including registry-stored variables.


For more information, see these topics:


The tables below list all available system variables in alphabetic order and are divided into sections by first letter.

A

Variable Type Access Default Supported Version Description
@A int RW 0 0,1,2 6.1052 It indicates the angular unit to be used:

0 = Radians
1 = Degrees
2 = Gradians

@AB int RW 172 Natural number 6.3003 It specifies the axis break gap size as percent of one percent of the axis length.


Note:@AB=200 means the half-width of the break is equal to 1 percent of the entire axis length. @AB is only applied to version earlier than 9.1.

@ABO bool RW 0 0,1 2017 Determines Apps Gallery tab position.

0 = Whether floating or docked, automatically position tabs horizontally or vertically as Gallery panel is resized.
1 = Whether floating or docked, fix tab position horizontally.

Note: You must set value of @ABO in Preferences: System Variables..., then restart Origin.

@ABW bool RW 0 0,1 2024 auto-black-white @ABW=0(default) controls Graph Element Forground Color Auto. If both @GVC =1, and @ABW=1, then Origin will check the Background Virtual Color and decide if auto=white or auto=black.


When @GVC=1,set back to auto, @ABW=0, object with auto color will follow plot color, @ABW=1, object will not follow plot color.
When @GVC=0, set back to auto, no matter @ABW=0 or 1, object will always follow plot color.

@ACA bool R 0 0,1 2025 It is used to check the license status (node-locked and concurrent) and disable web-based Data Connectors before Origin is active. Web-based connectors include Data: Connector to File: Google Sheet, Data: Connect to Web, Connect to Cloud menu and Open from Cloud button.

It will return 0 if Origin is active. If it return 1, web-based connectors cannot be accessed. See also this FAQ.

@AD int RW 0 0,1 7.0267 It controls axis minor tick behavior for date increment:

0 = Date increment is not rounding to day of week
1 = Date increment is rounding to day of week
Note:@AD is created especially for displaying weekly minor tick labels.

@ADCS int RW 1 0,1 2024 it enable axes dialog common show tab
@ADL int RW 127 0 to 127 2016 Controls which coordinate axes use new axis dialog, by controlling bits. Use this to roll back to use of the old Axis dialog for certain graph types. Use with LabTalk bitxor and bitor functions:

1 = Waterfall
2 = Cartesian
4 = Polar
8 = Ternary
16 = Ternary3D
32 = SmithChart
64 = Radar

@adl=bitxor(@adl,1); // roll back to old Axis DB for waterfall graphs
@adl=bitor(@adl,1); // restore new DB for waterfall graphs
@ADM int RW 0 0,1 7.5764 It controls whether to show prefix/suffix on minor tick label:

0 = Do not show
1 = Show

@ADOC int RW 3 -1,0,1,2,3 8.1088 It specifies ActiveX Data Objects(ADO) cursor type for importing ADO recordsets:

-1 = Unspecified
0 = Forward only
1 = Keyset
2 = Dynamic
3 = Static

@ADPO bool RW 1 0,1 2016 It controls whether to allow partially deleting output sheets:

0 = Old behavior, when you delete a flat/report sheet which contains operations will delete both flat and report sheets
1 = New behavior, you can delete a single flat/report sheet

@ADR int RW 1 0,1,2,3 2025 it control whether to round axis's tick of date time format:

0 = no
1 = round tick
2 = round from/to
3 = round both

@AFH bool RW 1 0,1 2024b Control whether to skip hidden rows when auto-fill data.

1 = skip hidden rows/columns. Note that for numbers and text with numeric suffix, auto-fill will be enumeration rather than duplication, which is different from Excel behavior.
0 = rollback to old behavior. That is, auto-fill all rows/columns even though some are hidden.

@AFP bool RW 1 0,1 2023b If @AFP=1, text property text.follow=1 by default when adding new annotations. It will not affect existing annotation in existing project file.
@AGF bool RW 1 0,1 2018B When you add graph or matrix as new sheet, the hunt dialog will look up the last modified window of proper type and use it to pre-fill. This system variable controls whether to look at other folders when initialization.

0 = Only look up the windows in current folder.
1 = Also look at other folders in current project.

Persistent

@AGO int RW 0 0 to 7 2022b Apps Gallery Options:

1 = show Add Apps icon on user's tab
2 = hide Data Connector tab
4 = hide All tab
Note: @AGO is a combination of these controlling bits which produces cumulative effects
Persistent

@AGS bool RW 1 0,1 2018B It controls whether to use Add Matrixsheet Hunt mechanism to add graph as sheet.


0 = Old behavior. When you right-click on the sheet tab to select Add Graph as Sheet, the Graph Browser will open to let you select a graph window and add into the workbook as a sheet.
1 = New behavior. When you right-click on the sheet tab to select Add Graph as Sheet, the hunt dialog will pop up. You can click on the desired graph window to select it and click on Done button to add the graph as a new sheet.

@AHBC bool RW 0 0,1 2019b It controls whether to automatically expand panels such as "Project Explorer" docked at the left edge of the work space.

0 = automatically expand panels such as Project Explorer, "Messages Log" and Smart Hint Log when the mouse hovers over any of these tabs,
1 = Expand and fold panels such as Project Explorer, Messages Log and Smart Hint Log by clicking on the tabs
Note: The system variable should work after restart the Origin

Persistent

@AHP bool RW 0 0,1 8.1086 It controls whether to have arrow head hotspot position depend on the shape:

0 = Arrow head hot spot position does not depend on the shape
1 = Arrow head hot spot position depends on the shape

@AIB bool RW 1 0,1 2019 From Origin 2019, the start row index of analysis output column(s) will match the index of input column. For exammple, if the input data starts from second row and you perform integration on it, the result columns should start from 2nd row as well. The 1st row will be filled with missing. Set @AIB = 0 to roll back old behavior, which is, always starts from the first row no matter the input column starts from first row or not.
@AIC bool RW 1 0,1 2017 SR1 It controls whether to ignore hidden range (columns or rows) in analysis tool which input range is "XYRange" or "XYZRange" type.

0 = do not ignore hidden column
1 = ignore hidden range

@AIP bool RW 1 0,1 2018 If a dataset is hidden from worksheet, it will be ignored in both plotting and analysis routine (control by @AIC). If a plot is hidden from graph, on the other hand, it will also be ignored from analysis process by default. This system variable is used to control whether to ignore the hidden plots from analysis.


0 = do not skip hidden plots
1 = ignore hidden plots

@AIT int RW 500 2019b If context menu Auto Import: On Project Open/On Change from Data Connector icon is checked, data is re-imported automatically when you re-open the project or the source file is updated. This system variable controls the time delay (in ms) to do the auto import.



Persistent

@ALD bool RW 0 0,1 2023b It controls whether show dialog when click the Attach to Plots button. @ALD = 0 means no dialog



Persistent

@ALOG bool RW 0 0,1 2018b It controls whether to turn on the Audit Log by default for future projects.

0 = the Audit Log is disable for the new project by default
1 = turn on the Audit Log on New project by default.

Persistent

@ALP bool RW 0 0,1 2023b It controls whether to make the labels attached to plots follow the translation mode change of source legend text.

0 = The labels attached to plots fix its translation mode, which means the labels won't change anymore even you changed the Label Source fo the legend.
1 = Old behavior. The labels atatched to plots will follow the change of legend.

@ALT bool RW 1 0,1 9.0 It controls the test method for checking auto update redundancy:

0 = Test three linked cells in input columns
1 = Test all linked cells in input columns
Note: test all linked cells in input columns might be slow.

@AM int RW 100 Natural number 8.0891 It specifies the size of analysis marker:

25 = Tiny
50 = Small
100 = Medium
150 = Large
Note: when you use Data Selector to select a range of data to perform analysis, you will see analysis marker appear on the plot.

@AMH bool RW 0 0,1 9.0 It decides whether to rescan number of subheader lines in multiple blocks data:

0 = Disable rescan, the number of subheader lines is as default set in headerline settings
1 = Always rescan number of subheader lines

@AMID bool RW 1 0,1 2023b It controls the improvement for Major and Minor Tick Placement for Date-Time Scale. @AMID = 0 to disable it and roll back to old behavior
@AML int RW 25 Natural number 8.0988 It is used to specify the maximum number of supported levels in ANOVA.
@AMRD bool RW 0 0,1 2022 It is used to set minor ticks allow round date

1 = minor ticks allow round date. Old behavior
0 = minor ticks prevent round date

@AMV int RW 1 0,1,2 8.0891 It specifies analysis marker visibility:

0 = Hidden
1 = Show partial
2 = Show all
Note: when you use Data Selector to select a range of data to perform analysis, you will see analysis marker appear on the plot.

@AOU bool RW 0 0,1 8.0987 It controls whether to use new axis object update codes:

0 = Do not use update codes
1 = Use update codes
Note: new axis object update must be defined for @AOU to have effects.

@APPS RW 75 Positive integer 2022b App Icon horizontal spacing
@APPV int RW 22 Positive integer 2022b App Icon vertical spacing



Persistent

@APR bool RW 0 0,1 8.0891 It controls whether to apply active plot resolution setting to all plots:

0 = Apply to active plot only
1 = Apply to all plots

@APUT int RW 0 0,1 2022 if @APUT = 1, add plot by data range will always use template gap
@AR bool RW 1 0,1 6.0285 It controls whether arrow/line/curved line object is attached to Layer&Scales or Layer Frame when it is drawn inside layer frame. See details here.

0 = Attach to Layer Frame
1 = Attach to the Layer and Scales
Note: Lines created by the LabTalk Draw command will always be attached to layer/scale in regardless of the values of @AR.

@ARLS bool RW 0 0,1 2020b Controls the order in which Reference Line fill patterns are drawn.

0 = Draw patterns according to numerical order of reference lines (e.g draw fill between lines at X=1 and X=10 before drawing fill between lines X=5 and X=15).
1 = Draw patterns according to the order in which they appear in the Reference Lines table (Reference Lines tab of Axis dialog).

@ARR bool RW 0 0,1 2020b It controls whether the rectangle/circle/polygon/region/polyline/freehand object is attached to Layer&Scales or Layer Frame when it is drawn inside layer frame. See details here.

0 = Attach to Layer Frame
1 = Attach to the Layer and Scales

@ART bool RW 0 0,1 2020b It controls whether rotate the tick labels when they are overlapped and the Rotate is set to Auto:

0 = old behavior. Do not rotate tick labels even the tick labels are overlapped
1 = Rotate tick labels when any labels are overlapped.
First, try to rotate tick labels from 0 to 45; if still overlapped, set the Rotate to 90; if still overlapped, hide some tick labels.

@ARX bool RW 0 0,1 2020b It controls whether the text object is attached to Layer&Scales or Layer Frame when it is drawn inside layer frame. See details here.

0 = Attach to Layer Frame.
1 = Attach to the Layer and Scales

@ASC int RW 20 Natural number 8.50013 It specifies the minimum project size (in megabytes) to trigger autosaving checking (Autosave Project Every x Minutes and Autosave Unsaved Project on Preference: Options > Open/Close tab). "Autosave Project Every x Minutes" behavior is controlled by several system.project properties
@ASCM bool RW 1 0,1 2022 It controls whether save Categorical Map when saving analysis template

1 = always save Categorical Map
0 = old behavior

@ASH bool RW 0 0,1 2022b It controld whether to ignore hidden rows for simple assignment, @ASH = 1 to skip hidden rows
@ASKH int RW 12 Natural number 2018 When a project crashes before saving, a backup file is autosaved. This system variable determine how much hour this autosave unsaved project will be kept. @ASKH < 0 means the backup file will not be deleted.
@ASL int RW 0 0,1 2023b If @ASL = 0, hidden column label will not show again after recalculate. Set @ASL = 1 for old behavior
@ASR bool RW 0 0,1 2024b @ASR = 1 to make add sparkline always rescale
@AT bool RW 1 0,1 7.0286 It controls whether to allow all text and no numeric file to be imported during ASCII import:

0 = Do not allow ASCII import unless there is numeric data in the text
1 = Allow the import of all text regardless of the existence of numeric data

@ATCM bool RW 1 0,1 2017 It determines whether to clean the masking information when saving the Analysis Template


0 = keep the masking info while saving the Analysis Template
1 = clean the masking info while saving the Analysis Template

@ATDM int RW 400 Natural number 8.0725 It specifies if the column does not have @ATDM rows, then this column will not be shown in Dataset listing for Text type.


Notes: @ATDM and @ATDS have to be both satisfied in order for the column to be treated as text column. Value of @ATDM increased from 100 to 400 for Origin 9.3 (2016).

@ATDS int RW 20 Natural number 8.0725 It specifies if the first @ATDS number of rows does not have text, then this column will not be shown in Dataset listing for Text type.


Note: @ATDM and @ATDS have to be both satisfied in order for the column to be treated as text column.

@ATGT int RW 0 0,1,2 2023 It help to improve Group Column Plot Labels alignment issue If Gap Between Subsets. @ATGT controls which table to draw as grid, 0 is auto, 1 is bottom, 2 is top.
@ATLC bool RW 1 0,1 2018b Sometimes copying Origin graph to CorelDRAW may lost text in axis table label due to Clipping fails to be handled by CorelDRAW correctly. User can use metafile to workaround this problem, or turn off clipping by the system variable @ATLC.

1 = enable axis table label drawing clipping,
0 = disable axis table label drawing clipping

@ATSS bool RW 1 0,1 2018 By default there is one space before separator in axis unit of axis title. This system variable controls whether to keep the space before separator

0 = remove space before separator
1 = have one space before separator

@ATVO double RW 10 Positive integer 2022b It controls the gap of Axis title put to vertex of Ternary. Vertical gap for top vertex in right triangle ternary will use half value
@AU bool RW 1 0,1 7.0415 It controls whether auto-updating for column formula must be on idle, or not:

1= Autoupdate must be on idle
0= On some Labtalk command
Note: @AU=0, change data will not result in auto calculation for column formula even if Recalculation Mode is Auto.

@AUA int RW 0 0,1 2018b It controls whether to turn on auto-update for installed Apps that have an update available.

0 = do not auto-update Apps. You will need to open Help: App Center to update them manually.
1 = auto-update Apps that have an update available.

@AUB bool RW 1 0,1 8.0725 It controls whether to show message box when current OPJ is autoupdating:

0 = Disable auto update message box upon updating opj
1 = Enable auto update message box upon updating opj
Note: this message box show time is the same as the execution time of auto recalculation. It can be only seen when recalculation time is long enough.

@AUBT int RW 80 Natural number 8.0725 It specifies the threshold (in milliseconds) to show auto update message box.


Note: when auto recalculation time is less than @AUBT ms, then message box will not show up.

@AUFL bool RW 0 0,1,2,3 9.1 It controls whether to keep auto update mode when set formula in Formula Label:

0 = Check whether there is an operation in the column, if there is, keep the recalculate mode, otherwise set Auto as recalculate mode
1 = Always set to be auto update mode when update the formula label
2 = Always set as Manual
3 = Always set as None

@AUL bool RW 1 0,1 9.1 It controls whether to auto update when Set Column Value operation contains values from column labels:

0 = Do not auto update for column label change
1 = Auto update for column label change

@AUM int RW 0 0 to 7 8.0159 It specifies Origin C message queuing mechanism by controlling bits:

1 = Disable send
2 = Disable post
4 = Disable processing post
Note: @AUM is a combination of these controlling bits which produces cumulative effects, for instance, @AUM = 7 (includes @AUM=1, @AUM=2, and @AUM=4) means disable send, post and processing post.

@AUN bool RW 1 0, 1 2017 It controls whether to automatically convert lower case name to upper case when typing formula in F(x) if the name matches existing column SN (except i and j)

0 = do not convert lower case
1 = automatically convert lower case to upper case

@AUP int RW 1 0,1,2,3 8.0725 It controls whether to enable progress box for auto update:

0 = Disable progress box for auto update
1 = Enable progress box for auto update. When Origin is auto-updating, the updating progress will show in Command&Results window in Code Builder.
2 = Enable progress box for auto update. When Origin is auto-updating, the updating progress will show in Message Log.
3 = Enable progress box for auto update when Origin is auto-updating, the updating progress will show in script window.
Note: this system variable is updated in Origin 2017 SR1, adding values 2 and 3.

@AUS int RW 2000 Natural number 7.0604 It specifies auto update saturation time (in milliseconds).
@AUT int RW 100 Natural number 7.0594 It specifies the time factor for intelligent auto update.

Note: for instance, if the operation takes 3 seconds to execute and in order for intelligent auto update of operation to happen, user must show time gap of 3*@AUT*10^-3 seconds.

@AUW int RW 0 0,1 6.1052 It is used to control Origin C processing of worksheet events:

0 = Disable all Origin C processing of worksheet message
1 = Disable Origin C processing of selection related message

@AWC int RW 29068641 Natural number 2018b Active window indicator color. Use with the LT color() function and RGB values or an HTML standard color code (e.g. to change color to red, @AWC=color(255,0,0) or @AWC=color("#FF0000")). Note that named LabTalk colors are not supported (e.g. @AWC = color(red) does not work).

-1 = Disable active window indicator.

Persistent

@AWF int RW 0 integer 2018b It controls active Window flashing timeout in millisecond when selected from Window menu. Set @AWF = 0 to turn off flashing. Set @AWF = -1 to follow windows standard cursor flashing speed.


Persistent

@AWI int RW 1 1, 2, 3, 5, 6, 7, 9, 10, 11 2018b Active window indicator style.

1 = default, solid line, outside window frame
2 = title bar frame
3 = title bar top line

add 4 to the above to use thin line
add 8 to the above to use dashed line

Persistent

@AXP bool RW 1 0,1 2024 if @AXP = 1, Axis Auto from dataplot is off if color changes by points.

B

Variable Type Access Default Supported Version Description
@B bool RW 0 0,1 6.1052 It controls whether to execute the LabTalk statements that begin with #!:

0 = Disable executing LabTalk statements that begin with #!
1 = Enable executing LabTalk statements that begin with #!
Note: It is equivalent to System.Debug object property.

@B3D0 bool RW 1 0,1 8.1086 It controls whether negative values need down drawing from z=0 plane for 3D bar plot:

0 = Do not make down drawings for negative values from z=0 plane
1 = Make down drawings for negative values from z=0 plane
Note: for OpenGL graph, this option is replaced by a Draw Bars from drop down list in Plot Details dialog box.

@B3D0B bool RW 1 0,1 8.50013 It controls whether to color z=0 plane in black for negative value down drawing upon making 3D bar plot:

0 = Do not color z=0 plane in black
1 = Color z=0 plane in black

@BA bool RW 0 0,1 7.0581 It indicates whether OperationManger is batch processing:

0 = OperationManager is not batch processing
1 = OperationManager is batch processing

@BACM int RW 1 0,1,2 2017 It decides whether to turn on auto border color in box chart.

0 = turn off auto coloring
1 = auto change border to contrast color when border color and fill color are the same, which makes line and symbol inside box visible.
2 = always enable auto coloring for border

@BC int RW 0 0,1 6.9211 It controls how to respond to writing across allocated memory error:

0 = Ignore errors
1 = Show warnings

@BCM int RW 0 0,1 7.0342 It controls how to respond when constructor of wrappers with template types have wrong template types:

0 = Show warnings
1 = Show run time error

@BCS int RW 100 Natural number 7.0384 It specifies the number of extra cells allocated (size of padding).
@BD bool RW 0 0,1 6.0249 It controls whether to let Dialog Developer Kit (DDK) output debug messages to script window:

0 = Do not output debug messages to script window
1 = Output debug message to script window

@BDDF bool RW 0 0,1 9.1 Dock/float Data Display window (see @BDDS)

0 = Dock Data Display window
1 = Float Data Display window

@BDDS bool RW 0 0,1 9.1 Show/hide Data Display window.

0 = Hide Data Display window
1 = Show Data Display window

@BDL bool RW 0 0,1 2024 Determine whether to limit to 1 and 0 during setting/converting column values to binary.

0 = missing value is allowed. For numeric data, 0 will still return 0, 1 will still return 1, any values other then 0 and 1 will return missing (“--”). For text, “yes” and “true” will return 1, “no” and “false” will return 0, any other texts will return missing.
1 = limit binary values to 1 and 0. No missing is allowed. For numeric, 0 will still return 0, any values > 0 will return 1. For text, “yes” and “true” will return 1, otherwise will return 0.  

@BDR bool RW 0 0,1 9.0 It controls the box chart drawing rule for handling invalid data:

0 = Skip all invalid data but draw with valid data
1 = Do not draw if there exists any invalid data

@BE int RW 1 0,1 8.0725 It controls whether to print LabTalk errors:

0 = Do not print any LabTalk errors
1 = Print internally found errors

@BEM bool RW 1 0,1 8.1086 It controls whether to dump low level message on error condition like cell(i,j) indexing out of bound:

0 = Do not dump low level message
1 = Dump low level message

@BFS int RW 500 Natural number 2018b Determines the threshold size in megabytes (MB) of accumulated projects (OPJ/OPJU) in the \Backup folder (Help: Open Folder: Project Backup Folder) that will trigger an attention message reminding the user of the accumulating files. The message prompts the user to open Windows File Explorer and manage these files. The message is hard-coded to appear every 10 days and will show even when system variable @USKT=0 (Autosave Unsaved Projects off). There is also a hard-coded file number of 30 (any file type) which triggers the message.

0 = disable attention message.

Persistent
@BG int RW 100 Natural number 6.0286 It specifies vertical border gap factor for label.


Note: @BG is identical to @BGV.

@BGA bool RW 0 0,1 2023b It specifies whether show the fitted curves in the left panel of Browser Graph when you do fitting on the browser graph.

0 = Not Show the Fitted Curves in the left panel
1= Show the Fitted Curves in the left panel

@BGH int RW 150 Natural number 6.0286 It specifies horizontal border gap factor for label.
@BGP bool RW 1 0,1 2021 Set to 1 to update the page after graph object pasted
@BGV int RW 100 Natural number 6.0286 It specifies vertical border gap factor for label which functions identically as @BG.
@BHT int RW 10 0,Positive integer 2023 It controls Notification Icon Blink Hard Time:

0 = show strong blink immediately
between 0 and 100 = show strong blink after this time
100 or larger = not show strong blink

Persistent

@BID int RW 15 Natural number 2019b If the digit of the import number is more than @BID, the number will be imported as Text instead of Numeric. This way the long digits ID will not be truncated.


Persistent

@BIW int RW 100 -1, Natural number 2024 It controls whether to hide intermediate workbooks in batch processing

-1= Do not hide any intermediate workbook (behavior before 2024 version)
0= Hide all intermediate workbooks.
N like 100 = Show only the first N books (N=100)

@BL int RW 1 0,1,2 8.0725 It controls how to handle LabTalk errors:

0 = Ignore LabTalk errors and continue
1 = Allow some errors (read value) and continue
2 = Stop LabTalk execution if any error was found

@BLD int RW 0 0,1 8.0725 It specifies LabTalk math expression evaluation data access checking level:

0 = Show invalid access as missing value
1 = Show error message for invalid access
Note: for instance in @BLD=0(default) if the index of cell/column/row is less than 1, use col(1)[0]=; to access cell will show as missing value col(1)[0]=-- where @BLD=1 will handle it as error and show error message as "Math cannot be performed on Text column:".

@BM int RW 7 0 to 31 6.0187 It specifies graph buffer enhanced metafile options by controlling bits:

1 = Line use enhanced
2 = Symbol use enhanced
4 = Vector use enhanced
8 = Text use enhanced
16 = Contour do not use enhanced
Note: @BM is a combination of these controlling bits which produces cumulative effects, for instance @BM=7 (includes @BM=4, @BM=2, @BM=1) means Line, Symbol, Vector all use enhanced.

@BMB int RW 0 0,1 8.108988 It controls how to draw bar plots when base is missing:

0 = Set base to zero as in version 8.0 and earlier
1 = Skip the data point

@BMLL int RW 1 0,1 2019 Adjust width of mean line to follow box/bar width. Set @BMLL = 0 to roll back to old behavior, in which mean line is always 100% width of box + data (if shown). The mean line would be too long if Type is set to "Data" or "Box/Bar overlap with Data".
@BMP bool RW 0 0,1 2022 Prior to Origin 2021b, images inserted to graph windows from file, were inserted as bitmaps. Beginning with Origin 2021b, such images are inserted as type OIMAGE. Beginning with Origin 2022, double-clicking on the bitmap or OIMAGE object opens the image in the Image Window (for editing, etc.). Bitmaps are simultaneously converted to type OIMAGE. To prevent Origin from converting bitmap images from older Origin projects (<= 2021b) on double-click, set the value of @BMP.

0 = Convert bitmaps to OIMAGE on double-clicking, and open in Image Window.
1 = Do not convert to OIMAGE and open Object Properties on double-click.

@BNLP int RW 20 Natural number 2019 It controls the auto-nested layout percent of bubble size. The default value is 20, which means when the bubble scale is larger than 20% of the whole layer in size, its layout will be switched to Nested from Linear if you renew/add a bubble scale for a size-indexed scatter/line+symbol plot.
@BPA bool RW 0 0,1 2024 Origin 2024 Support automatic update of batch processing reports when more files added to folder. Set @BPA = 1 to old behavior
@BPOP int RW 1 0,1 2024 @BPOP = 1 to enable Batch Plotting support plot with intermediate sheet
@BSM bool RW 0 0,1 2023b used by Data Connector's Duplicate sheet with more files context menu. @BSM = 1 to make StatusBarText to show and not wipped out by other internal status bar messages
@BST int RW 1 -1,0,1 2018b It controls whether to save the settings of the Batch Processing dialog(including Dataset Identifier, Data Sheet, Result Sheet(s), Options branch, and Script branch settings) into analysis template for future use.

0 = always no save the settings;
1 = always save the settings;
-1 = pop up the save batch processing dialog settings into analysis template message box after clicking OK in the Batch Processing dialog to ask whether to save settings and where to save if you choose Yes.

Persistent

@BTC bool RW 1 0,1 2015 It controls whether to apply new behavior to curve fitting with bounds and constraints:

0 = Revert to old behavior
1 = Apply new behavior

@BW double RW 1 Natural number 2020b It controls the width between Axis break:

0 = break width is same as break gap
1 = break width is same as current break width when Break gap=175
other = break width will be adjust to break width * @BW

@BWF int RW 1 0,1,2 2015 It controls whether to apply new behavior to box width calculation when X Position under Box tab in Plot Details dialog is not Auto :

0 = Revert to old behavior
1 = Apply new behavior only if X Position is not Auto and Subgroup Size is 0
2 = Always apply new behavior if only Subgroup Size is 0

@BWM bool RW 1 0,1 8.1086 It controls whether to check the monotonicity of calculated bar width:

0 = Do not check monotonicity
1 = Check monotonicity

C

Variable Type Access Default Supported Version Description
@C bool RW 0 0,1 6.1052 It controls whether to use pure color or dither color:

0 = Use dither color
1 = Use pure color

@CACM int RW 1 Positive integer 2023 It controls the gap that is added between cell note text and frame box when editing cell note.
@CACP bool RW 0 0,1 2022 @CACP = 1 to allow showing the cell-attached comment popup even if the syntax is non-text
@CACS double RW 1 Positive number 2022 Scale factor to tweak the font size of the Cell Note.
@CAI int RW 20 Natural number 8.50013 It specifies the time interval in milliseconds for checking the ESC key state while making a contour plot.

Note:@CAI is created to enable aborting drawing upon using ESC key.

@CANPT int RW -1 -1,Natural number 2023b number of points to draw circle arrow, @CANPT = -1 to use default value
@CAP int RW 1 0,1 2019 It controls whether to recognize percent as numeric or text. When cell format is set to Text & Numeric,

1 = entering a percent number will be auto recognized as numeric
0 = entering a percent number will be recognized as text, old behavior.

Note: if cell format is set to Text, percent number will always recognize as text.

@CATD bool RW 0 0,1 8.0725 It controls whether to disable Categorical check upon making plots:

0 = Disable Categorical check to disable Categorical conversion
1 = Enable Categorical check

@CATH int RW 70 0 to 100 8.0725 It specifies the threshold in percentage of probability for automatic switch to Categorical type.
@CATL bool RW 1 0,1 2018 From Origin2018, the locked columns (generated by operation) can be set as categorical. This system variable is used to turn off this feature.

0 = forbid to set locked columns as categorical
1 = allow to set locked columns as categorical

@CATS int RW 4 0 to 11 2015 It specifies the method to set the order of Categorical map via controlling bits when a column is Set as Categorical:

1 = Sort the labels
2 = Allow empty strings to be treated as one category
4 = Exclude Missing Values so that they are not treated as a category
8 = Treat missing values and empty cells as one category (2016 )

Note:

  • @CATS is a combination of these controlling bits which produces cumulative effects, for instance, @CATS = 6 (includes @CATS=4 and @CATS=2) means do not sort, allow empty string and missing values will be excluded. @CATS = 10 (@CATS=2 and @CATS=8) means "allow empty strings as category" and "treat empty strings and missing values as the same category". @CATS = 0 means do not sort the labels, do not allow empty strings and do not exclude missing values for category map.
  • @CATS effects all the analysis tools with group column.
@CBB bool RW 1 0,1 2020b It controls whether to use additional line as column/bar base even if additional line "Y =" (on Axis dialog > Grids tab) is unchecked.

1 = always use additional line as column/bar base,
0 = old behavior, unchecking additional line "Y=" will use bottom axis as column/bar base

@CCFA int RW 85 Positive integer no more than 100 2023 It controls Cell Comment Flyout Position Adjustment: adjustment will happen if the reduction of the size due to the limited space would be more than 100% minus the value of the system variable


0= Preserve the old behavior (no shifting).

Persistent

@CCL bool RW 1 0,1 2023 Carry over all column label information (Long Name, Unit, Comment, etc.) from source columns to the analysis results. Set @CCL = 0 to restore to the old behavior.

This system variable controls X-Functions: smooth, normalize, vnormalize, interp1, interp1trace, and interp1xy.

@CCT int RW 50 Natural number 7.0543 It specifies the default text column cell width.
@CDB bool RW 1 0,1 2019 It determines whether to show missing value in worksheet cell as blank cell or "--". It takes effect in two cases: how to display the missing value when you clear a block of cells (by Edit: Clear menu or DEL key), and how to initialize empty cells when you insert data in the middle of a column.

0 = Roll back to old behavior. missing value always shows as "--".
1 = missing value always show as blank cell.

Persistent

@CDC bool RW 1 0,1 2024b @CDC = 1 to allow Ctrl+Shift+Drag to support duplicate Object with connector. Set @CDC = 0 back to old behavior
@CDD bool RW 1 0,1 2024b @CDD = 1 to enable Ctrl+Drag duplicate Graph Object. Set @CDD = 0 back to old behavior
@CDU bool RW 1 0,1 8.0987 It controls whether to clear duplicate Unique Identifications (UID) upon loading.
@CE bool RW 1 0,1 6.1052 It controls whether to copy Enhanced MetaFile (EMF) to clipboard upon using Copy Page:

0 = Do not copy EMF to clipboard
1 = Copy EMF to clipboard

@CEFDEBUG bool RW 0 0,1 2022b It's for Html control to debug the Chromium Embedded Framework (CEF):

0 = OCefClient is not in debug, debug context menu not show
1 = OCefClient is in debug, debug context menu show

@CEM bool RW 1 0,1 2018b From version 2018b, Origin will treat missing value as empty when consider a worksheet column to be empty or not, which means, if a column contains only missing values, then it is empty.

0 = go back to old way, not to consider column with all missing values to be empty
1 = consider column with all missing values to be empty

@CET int RW 0 Positive integer 2018 Used to adjust the size of the preview image shown when mouse hovers over a worksheet cell inserted graph.

@CET=0, use default size of 250x250 pixels
@CET=1 to 29, disable this feature
@CET>=30 is user defined size in pixels, scale by DPI scale factor

Note that the preview will only show when CET > smallest cell dimension.

@CFCQ bool RW 1 0,1 2025 If @CFCQ=1 cell formula cache will check keywords in quotes. Can set @CFCQ=0 if cell formula goes wrong to see if problem goes away.
@CFDT int RW 900 integer 2020b, updated 2021 Data imported by Connect to Web is cached for a time period equal to @CFDT seconds per 100kB of file size (e.g connected data in a 10MB file is cached for 900 * 100 = 90,000 sec or ~24 hr). Thus, re-import of connected data into the project will use cached data if the time period has not been exceeded. When exceeded, the cached data are deleted. See delete -web
@CFL int RW 1 0,1 2024b it controls whether to override a locked/checked-out Cloud Project File:

0 = it will ask to open as read-only or cancel
1 = it will ask to try to override the lock, or open as read-only, or cancel

@CFM bool R 0 0,1 2020b It returns whether Edit Mode is on.

0 = Edit Mode is off
1 = Edit Mode is on

@CFP bool RW 1 0,1 2018 Controls whether Copy (full precision) copies and pastes "full precision" value or Origin's internal value, when copying and pasting within an Origin instance.

0 = Copy (full precison) copies and pastes Origin's internal (binary) value.
1 = Copy (full precision) copies and pastes "full precision" decimal value.

Note that the conversion from binary (64-bit double-precision) to decimal ("full precision") may result in very small rounding discrepancies.

@CFRL int RW 1600 0, Positive integer 2019b Cell formula recursive limitation. When double click or drag to fill cell formula over @CFRL rows, a massage dialog will open recommending column formula instead. Refer to @DFC for the message dialog details. Set @CFRL = 0 to remove the limitation.


Persistent

@CFS bool R 0 0,1 2024b check whether command is from short cut
@CGL bool RW 1 0,1 2024b @CGL = 1 to allow Ctrl+Drag Graph Object to new layer and create new copy. Set @CGL = 0 back to old behavior
@CGN bool RW 1 0,1 2024b @CGN = 1 to reserve graph object name when copy or paste. Set @CGN = 0 back to old behavior
@CIE bool RW 1 0,1 2021 Show LSP error. When fails to find/run dependency:

1 = show LSP error
0 = do not show LSP error

@CIS bool RW 0 0,1 2021 Enable intellisense for script window.
@CL bool RW 0 0,1 6.0264 It controls whether to use Keep Size option upon pasting layout into word:

0 = Do not keep size
1 = Keep size

@CLA bool RW 0 0,1 2022b @CLA = 0 to set Copy Layout as EMF Image code not to keep size, and will produce bigger image. @CLA = 1 to keep size, old behavior
@CLE int RW 5 Natural number 2021b Percent of width or height from layer edge, from which to exclude contour labels.


Persistent

@CLFT bool RW 0 0,1 2022b When using Custom Formula to display axis in Log scale and setting tick Type to By Custom Position, this variable.determines how to specify the tick position.

0 = Specify the tick position by original values. 1 = Specify the tick position by result values of direct formula. For example, if you want to show ticks in 1, 1000, 1000000 when using direct formula log(x)/log(1000), you can enter 0 1 2 in Position edit box.

See this FAQ for details.

@CLI int RW 15 Natural number 2021b Margin in percent of layer width or height, inside which contour labels will be placed preferentially. Placement is subject to other constraints such as placement of contour lines, presence of other labels, etc.

0 = revert to pre-version 2021b code for placement of labels.


Persistent

@CLN bool RW 0 0,1 2023 @CLN = 0 to not force long name same as short name on loading a window/template, it help to keep the orginal long name
@CLO bool RW 0 0,1 2021b Prevent contour labels from being drawn outside the layer. Typically, when drawn outside the layer, the label will be clipped (cut off) at the layer frame. See Clip Data to Frame.

0 = (default) Prevent drawing outside the layer (prevent cut off labels)
1 = Allow drawing of labels outside the layer (labels may appear cut off).

@CLP bool RW 0 0,1 7.0373 It controls whether to forcibly clip or unclip data to frame for bar/column graphs if Clip Data to Frame checking box under Plot Details:Display did not function properly:

0 = Forcibly unclip data to frame
1 = Forcibly clip data to frame
Note: If Clip Data to Frame box is unchecked, @CLP can function as the switch to turn on/off clip data to frame.

@CLR bool RW 0 0,1 2021b Auto-reposition contour labels on scale change

0 = (default) No
1 = Yes

@CMP int R 0 0,1 2023 it controls whether Add a worksheet to layout window will use context menu's pos
@CMPMT int RW 2000 Positive integer 2016 SR2 It controls the maximum number of total levels in the color-mapped graph.
@CMR bool RW 0 0,1 2021b It controls whether COLORMAP rescale data range in current domain:

0 = yes 1 = no

@CMQC bool RW 1 0,1 2021b MSG_QUEUE_SIZE_TO_DO_CLEAN
@CNB int RW 14155000 Natural number 2022b cell note backgroud color



Persistent

@CNC bool RW 1 0,1 8.0725 It controls whether to automatically create new columns if calling columns do not exist, for instance, call column using col (name) or wcol (i):

0 = Do not create new columns upon calling unknown columns
1 = Create new columns upon calling unknown columns

@CNE int RW 1 0,1 2022b Cell Note Editor @CNE=0, set to 1 to use Origin Rich Text.
@CNF int RW 12 Positive integer 2023 It controls Cell Notes preview font (It’s independent of Notes window font. )



Persistent

@CNL bool RW 1 0,1 7.0543 It controls whether to use the first line label as column long name:

0 = Do not use first line label as column long name
1 = Use first line label as column long name

@CNN bool RW 0 0,1,2,3 2022 Allows pre-populating of worksheet cell Notes with certain elements

0 = "type here"
1 = user
2 = user + date
3 = user + date + time

@CNP int RW 0 0,1,2 2016

It controls how to deal with dot character in naming column through LabTalk:
0 = Allow using dot character in wks.addcol(""test.1"") and wks.col$(wks.ncols).name$=""test.1"";
1 = Remove dot character when using it in wks.addcol(""test.1"") and wks.col$(wks.ncols).name$=""test.1"";
2 = Output error message and break LabTalk execution

If you want to use the wks.addcol command to add a new column with specified name, you might need run the command page.xlcolname = 0; to turn off the Spreadsheet Cell Notation in the workbook, please see FAQ-849 for more information.

@CNS int RW 3 0,1,2,3 2025 Cell Note Syntax:

0 = Plain Text
1 = HTML
2 = Markdown
3 = OriginText

@CO bool RW 1 0,1 9.0 It controls which offset mode to choose for Cumulative option:

0 = Offset plots in layers
1 = Offset plots within each group

@COPU int RW 2 0,1,2,3 2015 It controls whether to copy text to clipboard as UNICODE:

0 = Do not copy to clipboard as UNICODE
1 = Copy to clipboard as UTF16 format UNICODE
2 = UNICODE will be interpreted as @COPU=0 if Japanese is involved, otherwise same as @COPU=1
3 = Copy to clipboard as UTF8 format UNICODE

@COR int RW 45 Natural number 2019 A darkening factor for background shading of unused worksheet cells. Units of factor are 1/10ths of a percent (%); thus, the default value of 45 translates to "make darker by 4.5%". Also, see object property page.outsiderangespecpaint


Persistent

@CPC bool RW 1 0,1 8.109034 It controls whether to apply new behavior to tri-contour plot under the circumstance where non-linear scale is used for Y axis:

0 = Revert tri-contour plot behavior back to version earlier than 8.1
1 = Apply new behavior for tri-contour plot in regard to change Y axis scale as not Linear type
Note: when @CPC=0 (old behavior), if you change Y axis scale to be not Linear for tri-contour plot, you will see some blank in the contour map.

@CPE bool RW 0 Natural number 8.0891 It controls the cases where new Edit control will be applied:

If @CPE=0 (default), new Edit control is only used when codepage is Chinese or Japanese (932, 936, 950).
If @CPE>0, then new Edit Control is always used, otherwise if @CPE < 0 new Edit Control is never used.

@CPGD int RW 0 0,1, -1 2019b

When you Copy Graph as Picture to another application, controls whether DIB is available.
-1 = When you copy an OpenGL graph, or use remote desktop to perform a copy, DIB is included. In other situations, DIB is not copied.
0 = DIB is not supported when copy a graph page.
1 = copy DIB, EMF and COM object.
Note: @CPGD was changed for 2019b and 2022.

@CPKD int RW 0 0,1 2022b @CPKD = 1 to hide Symbol tab in Plot Detail for Circular Packing
@CPKF double RW 0 Positive 2022b @CPKF = 10000 to turn on filter with maximum factor = 10000, i.e if radius of a circle is smaller than maximum circle radius/10000, then we will ignore this point
@CPKL int RW 0 0,1 2022b it controls whether circular packing label show at the single root
@CPKM int RW 0 0,1,2 2022b global packing method:

0 = CPackMethod_ggraph,
1 = CPackMethod_pmenzel,
2 = CPackMethod_Zanhung

@CPL bool RW 1 0,1 8.0891 It controls whether to apply new behaviors in drawing contour plot labels:

0 = Use old behavior to draw contour plot labels
1 = Apply new behavior to draw contour plot labels
Note: when @CPL=0 (old behavior), double click on Labels tab under Plot Details:Color Map/Contours and choose Show All to show all contour labels will end up show no labels.

@CPM bool RW 1 0,1 2019 It controls whether to copy data with mask when you copy data with the Copy etc. context menus:

0 = Use old behavior to copy the data without keeping the mask status.
1 = Copy the data range with mask. But you won't be allowed to paste transpose/paste link/paste link transpose

@CPNB bool RW 1 0,1 2019b Copying and pasting of multiple worksheet cells was changed to be more MS Excel-like:

0 = old behavior of single value copied only to first cell in selection, n values copied only to first n cells.
1 = (default) new behavior of single value copied to all cells in selection, n values copied to even multiples of n cells.

@CPNP bool RW 0 0,1 2020 Prior to Origin 2020, the user could click on a line, symbol, line+symbol or column/bar plot to select it, then press CTRL+C to copy the plot to the clipboard. CTRL+V into a graph window pasted a line plot. CTRL+V into a worksheet cell pasted the plot data.

0 = (default) Better support for copying and pasting graph format but no support for pasting data to worksheet
1 = restore old behavior

@CPRC int RW 1 0,1 2022 clean copy page ratio. Set to 0 to revert back to old behavior
@CPRO bool RW 1 0,1 2022 It controls when copy graph as picture whether to use raster only:

0 = restore old behavior
1 = use raster only

@CPS int RW -1 -1, 932, 936, 949, 950, 1252, 1361 etc 6.1052 It is used to set default string processing codepage when setting language at startup:

-1 = System
932 = Japanese
936 = Simplified Chinese
949 = Korean
950 = Traditional Chinese
1252 = US ANSI
1361 = Korean Johab

@CRL int RW 30000 0, Positive integers 2020b Accumulating a large number of Results Log entries can bloat the project and cause Origin to react sluggishly. On project loading, if the Results Log contains more than a threshold number of entries, an attention message prompts the user to clear the Log.

N = Threshold number of messages to trigger attention message. Default is 30000 entries.
0 = suppress the attention message.

@CS int RW 0 0,1 8.0987 It specifies the maximum column width option to be used while importing a database or file:

0 = Use default maximum column width
1 = Use new maximum column width if the imported data has bigger size than default column width limit.
Note: @CS=0, default maximum column width is 3800.@CS=1, use new maximum size 5848.

@CSA bool RW 1 0,1 2022b Custom-Symbol-AntiAliasing for user-defined symbol. @CSA = 1 to turn on stronger anti-aliasing



Persistent

@CSAO bool RW 1 0,1 2022b it controls whether to draw SVG graphical objects anti-aliased



Persistent

@CSB bool RW 0 0,1 2019 It controls whether to skip blank cell from top when copy worksheet cell and paste.

1 = Skip blank cell at the beginning of selection for copy case. Old behavior.
0 = Do not skip blank cell at the beginning.

Persistent

@CSDND bool RW 0 0,1 2023b it control whether allow Ctrl+Shift+Drag to duplicate graph object. @CSDND=1 to disable
@CSK int RW 0 0,1 2023b it enable connect duplicate sheet with new files. Used by Data Connector's Duplicate sheet with more files context menu
@CT int RW 1 0,1,2 6.9076 It controls which thread option to be used for Origin C compiler:

0 = Peek message
1 = Separate thread
2 = None

@CTD bool R 0 0,1 2024 It return the status whether Origin is in dark mode
@CTP int RW 2 0,1,2 2024 color theme preference:

0 = turn off dark mode 1 = turn on dark mode 2 = follow OS (default)

Persistent

@CTT bool RW 0 0,1 2023 When copy worksheet as HTML/EMF table, Text format (including Unicode text format and OEM text format) will not keep by default. Set @CTT = 1 to include Text format.


Persistent

@CU int R 0 2022 it returns the number of time-updated cloud files
@CUC bool RW 1 0,1 2022 It controls cloud info update

1 = enable
0 = disable

Persistent

@CVC bool RW 1 0,1 8.0725 It controls whether to Copy Link as script format or as its actual value:

0 = Copy Link as script format
1 = Copy Link> as its actual value
Note: if we copy the cell from Book 1, sheet 1, column A, cell 1, Paste Link will display the cell as: cell://[Book1]Sheet1!A[1] rather than its actual value if @CVC=0.

@CVD bool RW 0 0,1 2024 when export matrix window as monochrome image, CVD=0 (default) to use solid dither, CVD=1 to use error diffusion
@CVI bool RW 1 0,1 8.0725 It controls whether to enable cell to info value linking:

0 = Disable cell to info value linking
1 = Enable cell to info value linking

@CVM int RW 1 0,1 2018 It controls whether the Show Columns as Rows (&Hide Data) option shows under View menu.

0= Do not show the option
1= Show the Show Columns as Rows (&Hide Data) option

@CW int R 0 0,1,2 6.1052 It indicates whether it is in the middle of closing all windows in Origin:

0 = It is not in the middle of closing windows
1 = It is closing all windows, but not for Exit purpose
2 = It is closing all windows, and it is for Exit purpose
Note:@CW is used in profiler.ogs

@CWACC bool RW 0 0,1 2016 It specifies the accelerator for copy numeric value in workbook.

1 = Use Ctrl+C as accelerator for Copy(full precision), use Ctrl+Alt+C as accelerator for Copy.
0 = Use Ctrl+Alt+C as accelerator for Copy(full precision), use Ctrl+C as accelerator for Copy.

@CWC int RW 0 0,1,2 2021 It controls whether to show Command Window:

0 = disable Command Window if double-click
1 = do not auto show command window on startup
2 = old behavior
Persistent

@CWS int RW 13 0 to 15 9.1 It is used to specify which worksheet to show in the Change Worksheet context menu by controlling bits:

1 = Only worksheet with same Column Designation will show
2 = Only worksheet with same Column Long Name will show
4 = Only worksheet with same Column Short Name will show
8 = Only worksheet with same Column Index will show
Note: @CWS is a combination of these controlling bits which produces cumulative effects, for instance, @CWS=13 (includes @CWS=8, @CWS=4, and @CWS=1) means worksheet with same Column Designation, Column Short Name and Column index will show.

@CWV bool RW 0 0,1 6.1052 It indicates whether command window is visible upon starting Origin:

0 = Command window is invisible upon start
1 = Command window is visible at start
Note: After you started Origin, close command window @CWV will still be 1.

D

Variable Type Access Default Supported Version Description


@D double R Dynamic 6.1052 It shows current date and time in Julian day number.

Use the $(@D,Dn) notation to display the nth date and time format from the Date Display drop-down list in the Worksheet Column Format dialog box (numbered from zero).
For example ...

type $(@D,D10);

... returns the date format as MM/dd/YY HH:MM:ss in the Script window. (Note: The "D" in Dn must be uppercase.) Origin supports the associated Julian day values for the range 1/1/0100 to 12/31/9999.

Use the $(@D,Tn)notation to display the nth time format from the Time Display drop-down list in the Worksheet Column Format dialog box (numbered from zero).
For example ...

type $(@D,T5);

... returns the time format as HH:mm PM (such as 07:23 PM) in the Script window.
Two additional time formats are supported: $(@D,t5) - 07:23 pm
$(@D,t5*) - 7:23 pm

@DAA int RW 3 Positive 2024 Drag Axis Accelerator, default = 3, which means it will travel 3 times faster than the cursor movement



Persistent

@DACS int RW 2 0 to 3 2024 Drag Axis Crosshair Size



Persistent

@DAM int RW 2 0,1,2 2015 It specifies the default recalculate mode when open a dialog by setting the default value in Recalculate dropdown list:

0 = None
1 = Auto
2 = Manual

@DASI int RW 0 0,1,2 2024b System variable ignore. Drag Axis Scale Indicator, 0 = small crosshair, 1 = small crosshair but thicker, 2 = Thin vertical line to span layer



Persistent

@DASL int RW 1 0,1,2 2024b It controls Drag Scale Animation. @DASL = 1 to show new X1 cross hair, @DASL = 2 to show Cursor Position Line.

Note: @DASL is a combination of these controlling bits which produces cumulative effects

Persistent

@DASR int RW 20 Natural number 2024 it controls the area of dragging axis scale. @DASR = 0 to disable drag scale. Default is 20, means 2% of layer width or height.



Persistent

@DASU bool RW 0 0,1 2020 Enable or disable autosave for UNTITLED projects. Does not affect named projects.

0 = Enable
1 = Disable.

Persistent

@DB bool RW 1 0,1 6.1052 It controls whether to output debug messages to script window:

0 = Enable debug messages to script window
1 = Disable debug messages to script window

@DBA bool RW 0 0,1 8.109034 It controls whether to enable axis metafile:

0 = Enable axis metafile
1 = Disable axis metafile to draw axis immediately

@DBAE bool RW 1 0,1 8.50013 It controls whether to use Enhanced Metafile (EMF) for tick label caching:

0 = Do not use EMF for tick label caching
1 = Use EMF for tick label caching

@DBAW int RW 0 Positive 2021b Dock Bar Auto Adjust Width, to reset toolbar when it become too narrow



Persistent

@DBIMG int RW 15000 Natural number 2020 Limit to the number of images imported per one ADO import.
@DBO bool RW 1 0,1 9.1 It controls whether to enable Origin Script (OGS) debugging section speed improvement:

0 = Disable OGS debugging speed improvement
1 = Enable OGS debugging speed improvement
Note: when debugging a large OGS file, the entire file has to be loaded in order to find out line number of current section name, which is not necessary and slow. @DBO is introduced to improve the speed in this situation.

@DBOGW bool RW 1 0,1 2016 Prior to Origin 2016 , result tables in worksheet-embedded graphs linked to the relevant analysis result sheet data in that book. It was found that result tables in duplicated books still pointed back to the original analysis result sheet data. Due to enhancements to Analysis Templates, specifically the ability to import multiple files into a cloned copy of the active workbook, the default behavior had to be changed. Beginning with Origin 2016 , copies of workbooks containing embedded graphs and linked tables use relative pathing to analysis report sheets rather than pointing to the source data from the original workbook. To restore the old behavior, use the @DBOGW=0.


0 = Use old behavior. Result tables in embedded graphs will maintain links to original source data when copied or cloned.
1 = Update result table links in copied or cloned books to point to analysis results in the containing workbook.

Note: See system variable @UCM.

@DBSV bool RW 1 0,1 2020 Controls display of views in SQL Editor table list.

0 = (default) Hide table views
1 = Show table views

Note that in Origin 2021b and later, you can toggle views in the SQL Editor by clicking View: Show Views in Table List.

@DCA bool RW 0 0,1 2024 Data Cell Auto Color, it control if data cell, like Holder Graph, should use graph background auto color or not. Default is not, so holder graph is now changed to follow worksheet cell background color by default.
@DCAW bool RW 1 0,1 8.510295 It controls whether to activate parent worksheet upon double clicking linked embedded graph:

0 = Do not active parent worksheet upon double clicking
1 = Active parent worksheet that contains the embedded graph upon double clicking
Note:@DCAW=0, double click on embedded graph will open the graph window directly.

@DCC bool RW 0 0,1 8.109034 It controls whether to enable text correction for text object:

0 = Disable text correction for text object
1 = Enable text correction for text object

@DCDC double RW 0 2022 double compare decision. Set to 0 to use double compare relative; 1e-8 is the old behavior
@DCDE bool RW 0 0,1 2017 It controls whether to silences errors generated by CustomDraw

0 = show error;
1 = Don't show error.

@DCEH int RW 1 0,1 2019b It controls wheter double-clicking in a Notes window switches to text edit mode.

0 = double-clicking will not switch to text mode,
1 = double-clicking will switch from render mode to text mode.

Note: this system variable only takes effect on new created Notes window. Once a Notes window has been converted to render mode, changing @DCEH value after that will not change the double-clicking switching mode for this Notes.

@DCENO bool RW 0 0,1 2024 @DCENO = 0 to not always draw client edge outside when drawing window. @DCENO = 1 back to old behavior
@DCGS int RW 151 Positive integer 2020 It determines the number of equally spaced grid points in X or Y direction for the density estimation.
@DCL bool RW 1 0,1 8.50013 It controls whether to remove all user defined labels if all values are empty upon setting:

0 = Do not remove user defined labels even if all values are empty
1 = Remove user defined labels if all values are empty

@DCM bool RW 0 0,1 2018b Before version 2018b, Origin checks data section only when considers a worksheet column to be empty or not, and it is used when import data and Import Mode is set to Start new column. From Origin 2018b, both data and column label rows (Long Name, Comment, .etc) will be checked and then consider column to be empty or not. If a column label cell is merged, Origin will treats the merged block as a unit and look at the columns inside this merged block. It will check if first column in the block is empty or not and use that to determine for the entire merged block.

0 = the new behavior. Take both data and label rows into consideration when check if a column is empty or not.
1 = the old behavior. Only data section is checked and also disable merged label checking when consider column to be empty or not.

@DCR int RW 5 0 to 5 2024 It controls whether the color is reversed when turn on Dark Mode:

0 = Disable color reversal
1 = Only Black color
2 = Only Black/White color
3 = All gray
4 = All color
5 = Follow the Dark Mode Color Mapping worksheet color list
If you use Colormap in the plot, it will not reverse color in any situation.
Persistent

@DCRA int RW 3 0,1,2,3 2024 it controls axes reversal when @DCR = 5:

0 = neither axes nor reference lines fill patterns are reversed.
1 = axes are reversed as if @DCR = 4 ; reference lines fill patterns are not touched,
2 = reference lines fill patterns are reversed as if @DCR = 4 ; axes are not touched,
3 = both axes and reference lines fill patterns are reversed as if @DCR = 4.

@DCRL bool RW 1 0,1 2024 it controls layer background reversal when @DCR = 5:

0 = convert layer background color according to the .ini file if the current color not “really dark” i.e. @GLD (this is the old behavior).
1 = convert layer background color as if @DCR = 4

@DCRM int RW 0 0,1,2,3 2024 it controls color reversal method:

0 = check reduce Saturation, and use HSL to reverse color
1 = HSL
2 = LCH
3 = LAB
Persistent

@DCRO int RW 5 0 to 5 2024 Same as @DCR . This is for Color not in the DarkColors.ini


Persistent

@DCRP int RW 15 Natural Number 2024 the outside percent for @DCR=4, this will affect default @DCR=5 as well. Default DCRP=15, which means all color will be converted to between 15% to 85% of luminosity


Persistent

@DCRT int RW 0 Natural Number 2024 DarkColors.ini matching color with tolerance @DCRT, i.e. when converting color and found color is similar to one of the 1st column in the list, we also convert it using the 2nd column color in the list.


Persistent

@DCRW int RW 1 0,1 2024 it enable worksheet named range support color reverse in dark mode
@DCT bool RW 0 0,1 8.0725 It controls whether to enable translation for operation related escaped cell string:

0 = Enable translation for operation related escaped cell string
1 = Disable translation for operation related escaped cell string
Note: operation related escaped cell string is like ?$OP:A=1. The effect can be seen in the analysis report worksheet when you set @DCT=1.

@DCUNC int RW 5000 Positive integer, 0 2021b Number of milliseconds from loading or changing the source or re-enabling (using menu item Pause Check File on the connector icon) after which the checking of UNC path source will stop on failures.

Set it to 0 to disable the feature.

@DCW int RW 0 0,1,2 2020b It sets the Options dialog of Data Connect to Web.

0 = do not run website scripts
1 = enable Direct URL Access (without using a local file cache)
2 = enable Run Website Scripts

Note:

  1. Bit values are additive.
  2. You will need to set @DCW before connecting to web.
@DCWRVC bool RW 1 0,1 2023 When Wrapped and Rich text style are both enabled in a data cell (right click and select context menu Set Data Style), the cell text will be automatically vertically centered. Set @DCWRVC=0 to disable it.

Note that the style of column label rows has this feature on by default.

@DD int RW 200 Natural number 8.108988 It specifies the hit-test drill down delay in milliseconds.
@DDC int RW 0 0,1,2,4,8,-1 2020b Controls whether to use Data Connector when drag and drop files to a worksheet.

0 = For data type that can be imported by both Data Connector and old import method (imprt X-Functions), Data Connector will be used by default. This is default behavior.
1 = Exclude *.dat files for the default behavior (i.e. when drag and drop a *.dat file into a worksheet, CSV Connector will be used).
2 = Exclude *.xls(x) files for the default behavior (i.e. when drag and drop a *.xlsx file into a worksheet, Excel Connector will be used).
4 = Exclude *.txt files for the default behavior (i.e. when drag and drop a *.txt file into a worksheet, CSV Connector will be used).
8 = Exclude *.csv files for the default behavior (i.e. when drag and drop a *.csv file into a worksheet, CSV Connector will be used).
-1 = Exclude all file types for the default behavior (i.e. always use the old import method to import file when drag-and-drop. This is Origin's behavior before version 2019.

Note:

  • When drag and drop a file into an analysis template with data import settings saved, the old import method (import X-Functions) will always be used.
  • To control whether to use System filter when drag-and-drop files, refer to @IFS



Persistent

@DDE int RW 2000 Natural number 2020 Time in milliseconds allowed for performing "two single-click" selection of a single plotted point. If clicks are too close together, they are interpreted as a double-click (opens Plot Details). If time between clicks exceeds @DDE threshold, clicks are interpreted as isolated single clicks.
@DDEE int RW 0 0 to 3 2022b It controls how DDE execute cmd when the window is disabled:

0 = old behavior
1 = enable the window
2 = skip enable check
These controlling bits can be combined to produce cumulative effects

Persistent

@DDEL int RW 0 0,1,2 8.108988 It determines the behavior of the “Remote data is not accessible. Start Application…” prompt:

0 = Show the prompt
1 = Do not show the prompt and assume “Yes” as answer
2 = Do not show the prompt and assume “No” as answer

@DDES int RW 0 0,1,2,3 8.108988 It determines the behavior of the “Start DDE Link” dialog box:

0 = Show the dialog box if necessary
1 = Do not show the dialog box, assume “Yes” as answer to the dialog
2 = Do not show the dialog box, assume “No” answer to the dialog
3 = Do not show the dialog, assume “No and Remove it “as answer to the dialog

@DDEN bool RW 0 0,1 2022b Determine whether to prevent DDE link checking. If is useful when you copied Excel data and paste as link into Origin, saved the project and then shared it with others who doesn't have access to the original Excel file.
  • Set @DDEN = 1 before launching an Origin project with DDE links to inaccessible Excel file. When open such project, you can then choose menu Edit: Remove Links to convert all links to values. And then resave the project for futter use.
  • Default @DDEN = 0 will turn off this feature. When you open such project, Start DDE Link dialog will pop up for each link. If there are too many DDE links, it will be very annoying and even unable to open the project.
@DDEU int RW 65 0 - 100 2018b A project with large DDE links would cause slowness upon loading because Origin will check every graphs (ok_walk_all_plotobj_dependencies) on every dataset that has DDE link. To speed up this kind of project loading, @DDEU is introduced to indicate the percentage the data plots that need to update relative to all data plots in graphs. If the percentage of the DDE links in a project is larger than @DDEU specified, no checking will be done (skip ok_walk_all_plotobj_dependencies) and just update all graphs.

100 = always check data plot that has DDE link, which is the old behavior
0 = always disable checking

@DDM int RW 3 1~15 2021 Deactivate Delay Minutes, it controls the how soon, origin will check website again. When set to 1, Origin detects deactivation in 1 minute. @DDM cannot be set to more than 15.


Persistent

@DDP bool RW 0 0,1 2020

0 = Allow all graphs to draw upon opening the project.
1 = To speed opening of projects, prevent graphs from drawing upon opening.

@DDXLS bool RW 0 0,1 2016 Prior to version 2016, drag-and-drop import of XLSX files used newer code vs. the older code used for XLS files. This sometimes produced a different result. Beginning with Origin 2016, the import code for both file types was standardized to produce a more consistent result. To use the older XLS drag-and-drop import code, set @DDXLS = 1.
@DEC bool RW 0 0,1 2017 SR1 If the original EMF file for pattern is non-gdi+,it is converted to EMF+ to enable Anti-Aliasing. However, conversion somehow make exporting as EPS with bad quality. This system variable is used to disable conversion of EMF to EMF+.

0 = enable conversion of EMF to EMF+
1 = disable conversion

@DECE bool RW 0 0,1 9.1 It controls whether to enable the Apply button once user gets into editing in edit box and editable combo box:

0 = Do not enable Apply upon editing in edit box or editable combo box
1 = Enable Apply once user gets to editing in edit box or editable combo box Note: it is originally developed only for Axis dialog box. @DECE=1 will immediately enable Apply option with no delay. Upon activating Axis dialog box, @DECE was temporarily set to 1. @ETG is introduced later to implement all Apply editable box.

@DEFU bool RW 0 0,1 2017 When spreadsheet cell notation is enabled in the workbook (see @RCN), the value of @DEFU determines whether Origin updates column formulas when columns are inserted, deleted or moved.

0 = (default) Formula update is enabled.
1 = Formula update is disabled.
Note: certain conditions used in creating the column formula will effectively set @DEFU=1 for the column. See A Note: When Column Formulas do not Automatically Update.

@DEL int RW -2900000 Negative integer 6.1052 It specifies device lower bound to limit the logical coordinates during drawing.
@DENG int RW 7 Positive integer 2018b
2019b
Text files can be encoded in ANSI, UNICODE (UTF8, UTF16BE, etc.). To successfully process a text file, encoding must be known. Typically, the first few bytes are read for a byte order mark (BOM) that signals encoding. If no BOM is detected, Origin will "guess" as to how the file should be processed. The system variable @DENG was introduced to allow the user to disable guessing where there are concerns about speed or accuracy. Other bit values were added in Origin 2019b.

0 = disable guessing
1 = enable guessing
2 = try opening the file as binary first to check BOM (used by OC: ReadFileLines())
4 = if two consecutive zeros are found in the file, treat as ANSI

Notes: Bit values are additive (i.e. 1+2+4=7). In addition, for other bits (2, 4) to take effect, you must enable guessing.

@DET int RW 1 Positive integer 2018 It controls the end value when Origin fill vector with data by specifying first, last and increment value. Used with OC vectorbase::Data fucntion and Labtalk {v1:vstep:vn} notation

100 = Always take the end value specified
0 = end value only as a stop
>=1 = Tolerance of distance of stop value and the last value (in percent). It is to compare with (last- stop)/increment and decide to take stop value or last value as end value. For example. col(1)={1:2.1:10}, if @DET=28, end value is 9.4 because (last value(10) - stop value(9.4) )>28%. if @DET=29, end value is 10

@DETR bool RW 1 0,1 2016 It controls how double clicking outside behaves when in-place editing is on:

0 = Old behavior, double clicking outside will bring up unwanted dialog, etc
1 = New behavior, double clicking will quite in-place edit mode

@DEU int RW 3200000 Positive integer 6.1052 It specifies device upper bound to limit the logical coordinates during drawing.
@DFB bool RW 1 0,1 2021 Decide whether Data Filter uses the maximum row index of the whole worksheet as input range.

1 = Data filter will use the worksheet's maximum row (LabTalk command: wks.maxrows) as input range. If columns in a worksheet have different length, all cells after that column range will be considered empty.
0 = Data filter will use the maximum row of the column to which filter is applied as input range. The old behavior.

@DFC int RW 0 Positive integer 2019b When the user attempts to drag a cell formula across many rows and columns, a message box opens asking the user to choose "Yes" or "No":

0 = (default) Show message box to ask: Answering "Yes" will set @DFC=2, "No" set @DFC=1
1 = Proceed and fill with cell formula
2 = Convert cell formula to column (F(x)=) formula


Persistent

@DFTF int RW 0 2021b control option for data filter bar


Persistent

@DFU bool RW 0 0,1 2021b If set to 1, it will change Origin Default Font to "Segoe UI" after do Reset from Tools Options


Persistent

@DGBV int RW 0 Positive 2024 for vertical pixel shift of the text from the top of the control. If particular Japanese GUI font cannot show well, try it by setting @DGBV to 1 or 2 and see if it helps.
@DGOP int RW 0 0,1,2 2025 duplication option of shared data filter graph with operation

0 = show a message box to ask
1 = duplicate the recalculate operation and associated output
2 = simply exclude the output in the duplicated graph

@DHP int RW -1 -1, positive integer 2020 Determines the limitation of data highlighter. If the selected points exceed this limitation, only the first 5000 points are highlighted.

Default -1 means no limitation.

@DI bool RW 1 0,1 6.1052 It controls whether to show Data Info dialog box:

0 = Do not show Data Info dialog box
1 = Show Data Info dialog box

@DIBSS int RW 0 (0,1) 2022 for tweaking the size reduction as a fraction from default size of the bitmap for DIB creation
@DICE int RW 1 0,1 2021b It controls wether to replace Increment Editor with Build Color Dialog:

0 = use Increment Editor 1 = use Build Color Dialog

@DID int RW 0 0,1 8.500161 It specifies default database import tool dialog mode upon clicking Open Query Builder icon to initiate import of database:

0 = By default choose Query Builder-Create/Edit graphically option in Attention dialog box
1 = By default choose SQL Editor-Enter/Edit SQL strings option in Attention dialog box
Note:this value is read and written to ini file, section Database, key DialogMode.

@DIGI int RW 0 0,1 2022b digitizer may not support some image type(emf, pcx,tga,psd, wmf) after use new opencv image, set @DIDI = 1 will use old bmp image instead
@DIL bool RW 1 0,1 2024b @DIL= 1 to allow remove invalid layer and let Origin continue reading the rest content when loading Origin projects.
@DIO int RW 0 0,1 8.0725 It indicates whether Data Info dialog box is open on start-up:

0 = Data Info dialog box is closed
1 = Data Info dialog box is open
Note: If you manually close Data Info dialog box later, @DIO will not become 0.

@DkL bool RW 1 0,1 2020 Control whether to wipe out cell link, cell formula etc when saving/duplicating workbook/worksheet without data.

1 = keep cell link, cell formula etc upon duplicating
0 = old behavior. Wipe out cell link, cell formula etc upon duplicating

@DKR bool RW 1 0,1 2021b It forces the rectangle dragged for zoom-in must keep layer ratio if the layer is isometric, 0 = off, 1 = on . It takes effect only when you checked the Link Axis Length to Scale with X:Y Ratio option in Layer tab of Plot Details.
@DLB bool RW 1 0,1 9.1 It controls whether to enable the function of “Break” in a doc –e loop:

0 = Disable “Break” command in doc –e loop
1 = Enable “Break” command in doc –e loop
Note: @DLB=0,

doc -e L 
{
      %H = ; 
      break;
};

Will not break from looping.

@DLDG bool RW 1 0,1 2017 SR1 Disable destruction of loose datasets added using LT create -cd/-dd/-nd/-xd commands:

0 = Disable loose dataset destruction.
1 = (default) Enable loose dataset destruction.

@DLDM int RW 20000 -1,0,positive value 2022b whether enable drop line speed up drawing mode, -1 for enable, 0 for disable, for other positive value, enable if data points > @DLDM



Persistent

@DLE bool RW 1 0,1 2015 It controls whether to consider error bar when adding labels to column/bar chart:

0 = do not take error bar into account when adding labels
1 = take error bar into account so the added labels won't overlap with error bar

@DLNPG bool RW 1 0,1 2025 @DLNPG = 1 to make Drop Lines to Next Data Plot inside group only
@DLP bool RW 1 0,1 2020b Disable Label Plot. Prior to 2020b, a designated Label column would plot as a separate dataset and be represented as such in Plot Details. Beginning with 2020b, designated Label columns do not plot as a label dataset but instead, use the Label tab of the plotted data points in Plot Details.

0 = old behavior, Label as dataset in Plot Details.
1 = (default) do not plot the designated Label columns as a label dataset but use the Label tab of the plotted data points in Plot Details to control the data label.

@DLS bool RW 0 0,1 2018b Enable or disable the functionality of the Common Display controls in Plot Details, page level, Layers tab. Does not affect Scatter Matrix plots.

0 = Enable use of Plot Details > (page) Layers tab > Common Display controls
1 = Disable use of Plot Details > (page) Layers tab > Common Display controls

Persistent

@DLTX bool RW 0 0,1 2017 If an OPJ contains LaTeX, it may take some time to open on another computer since it needs to wait for MikTeX checking. This variable controls whether to wait for MikTeX checking when opening the OPJ.

0 = wait for MikTeX checking when open OPJ
1 = open OPJ quickly without waiting for MikTeX checking

@DLWG bool RW 0 0,1 2022 @DLWG=1 to delete loose dataset with graph deletion by code
@DMR bool RW 0 0,1 8.6 SR1 If the roll-up button is missing in the resource-only dialog (LabTalk programmed without any Origin C code), you can set this variable to roll up the dialog using the minimize button

0 = old behavior, cannot roll up dialog if the roll-up button is missing
1 = roll up the dialog using the minimize button

@DMTN int RW 30 Positive Integer 2024 GetNDialog Maximum Tree Nodes, it controls the maximun sweeps show in imppClamp dialog to improve speed
@DMY int RW 1 0,1,2 2025 it controls which format prefer to use if the dash short date data cannot be recognized:

0 = unknow
1 = MM/dd/yyyy
2 = dd/MM/yyyy

@DNB INT RW 16 2,4,16 2019,
updated 2021b
It controls whether to disable the New Workbook dialog. Note that it will take effect right after value change, no Origin restart needs.

2 = Disable the New Workbook dialog, i.e. you will open New Worksheet dialog to construct a new worksheet
4 = Switch to the old New dialog for pressing the hotkey "Ctrl + N"
16 = New Book Dialog

Persistent

@DNS bool RW 0 0,1,2 2019b,
updated 2020
Determines whether to save the Data Connector-imported data upon saving the workbook/project.

0 = For data files, check @FSE; for web data check @FSEW
1 = Always save imported data with the project
2 = For data files, check @FSE; for web data always save with project

See system variables @FSE and @FSEW.

Persistent

@DOE bool RW 0 0,1 8.0197 It controls whether to disable Origin events:

0 = Enable Origin Events
1 = Disable Origin Events
Note: Origin Events here refer to events defined in oEvents.h located in <System Path+”OriginC/OriginLab”>. If @DOE=1, origin events will be disabled so that functions response to this event will no longer work.

@DOM int RW 0 0,1 2017 SR2 It controls whether to suppress the message dialog when delete an operation by deleting the source workbook window, deleting the worksheet containing the operation, or clicking the green lock and selecting the delete menu item.


0 = the message dialog will pop up when delete an operation
1 = disable the message dialog when delete an operation

@DONB int RW 2 0,1,2 2025 it controls how duplicate ShDF-based operation creates hidden new book to hold all output results:

0 = same as normal operation;
1 = new book to hold all results;
2 = new hidden book to hold all results.

@DOR bool RW 0 0,1 2016 It controls whether to ignore the subrange input information when copy operation or repeat operation for all Y columns or repeat this operation for all plots:

0 = Copy operation or repeat operation for other data or plots will ignore source data subrange information
1 = Copy operation or repeat operatio for other data or plots will carry source data subrange information

@DP bool RW 0 0,1 2021b Data Filter dialogs date-picker replaced by simple edit box:

0 = (default) Use a simple edit box for Value, To and From fields.
1 = Revert to use of date-picker control.

@DPA int RW 3 Natural number 8.510295 It specifies the radial polar axis threshold in percentage of 1 inch.


Note: grid lines density reduction towards center is controlled via system variable @DPA. It means % of DPI as a minimum distance between closest grids. E.g. if @DPA=3 (default) and page.resX=600dpi, then closest grids will guarantee at least 18 dots spacing. To turn off this feature set @DPA=0.

@DPD bool RW 0 0,1 2017 SR1 It controls whether to disable graph drawing and some other things that are taking up time on OPJ loading, and totally unnecessary for OPJ search.

0 = enable graph drawing and some updates when OPJ loading and seaching
1 = disable graph drawing and some updates when OPJ loading and seaching

@DPI double RW 0 Positive integer 9.2 SR2 When using a high resolution screen with large DPI setting, the name of panels docking at the left side of Origin workspace may not show properly. Use this variable to set the scaling factor of the font size.

0 = Auto scale the font size to show the panel name properly
1 = Turn off auto scaling
other value = Customize the scaling factor as desired

@DPPM bool RW 0 0,1 2017 SR1 Disable Plot Popup Menu (Large Icons)

0 = (default) Plot Popup Menu enabled
1 = Plot Popup Menu disabled

@DPPR int RW 2 Positive integer greater than 2 2016 SR2 You can create plot by copying XY numeric data from clipboard and pasting it to a graph window. This feature requires at least 2 columns of numeric XY pairs. The system variable determines the lower limitation of N columns of XY pairs that supports this feature.

0 = disable this feature

@DPPT int RW 200 Positive integer 2016 SR2 It determines the plot type when you copy&paste XY numeric data from clipboard to a graph

200 = LINE
201 = SCATTER
202 = LINE+SYMBOL

@DRC int RW 15 Natural number 2022b Ctrl key increment for Data Reader Arrow Key
@DRD int RW 10000 Positive integer 8.0987 It specifies the threshold for number of data points where data reader acceleration with SHIFT key begins to have considerable effects. The normalization of other SHIFT key acceleration parameters with respect to @DRD will make data reader acceleration independent of actual data plot size.


Note: @DRD should be used in combination with @DRM, @DRT, @DRI. Refer to @DRI for detailed explanation.

@DRI int RW 50 Natural number 8.0987 It specifies data reader step increment in percentage of previous step for SHIFT key acceleration.


Note: SHIFT key acceleration can be initiated by holding SHIFT+Arrow key. The effect can be seen more clearly for large data plot. By holding SHIFT+Arrow keys, data reader Increment starts at 5 points and then gradually accelerates controlled by @DRI [% of previous step] in every @DRT [msec] until @DRM [% of data plot size] is reached. These numbers are relative to data plot size normalized with @DRD=10000 points by default. The normalization means slower acceleration rate for smaller data plots (<@DRD points) and higher acceleration rate for larger data plots (>@DRD points). This dependency is logarithmic.

@DRM int RW 10 Natural number 8.0987 It specifies the maximum step size in percentage of data plot size.


Note: @DRM should be used in combination with @DRD, @DRT, @DRI. Refer to @DRI for detailed explanation.

@DRP int RW -1 -1, Natural number 8.510295 It specifies data reader display decimal places.


Note:@DRP=-1 (default), data reader will display data point’s original decimal places. @DRP=0 data reader will display no decimal places. @DRP=1, data reader will display one decimal place.

@DRS int RW 5 Natural number 2022b Shift key increment for Data Reader Arrow Key
@DRSC int RW 50 Natural number 2022b Shift + Ctrl keys for Data Reader Arrow Key
@DRT int RW 200 Natural number 8.0987 It specifies the threshold (in milliseconds) when data reader begins to accelerate upon holding SHIFT+Arrow keys.


Note: @DRT should be used in combination with @DRM, @DRD, @DRI. Refer to @DRI for detailed explanation.

@DRX int RW 16 Natural number 2018 When creating a grouped column/bar plot (at least 2 Y cols), stacked or not stacked and the X axis is numeric, Origin will automatically plot against row number with tick labels set as "Text from Dataset".

0 = disable this behavior
For any value > 0 (incl. the default = 16), enable this feature only if dataset size is smaller than @DRX.

@DSB bool RW 0 0,1 2019b Controls Origin Start menu (Search Bar) visibility and F1 search function

0 = (default) show Start menu and enable F1 for search
1 = Hide Start menu and disable F1 for search


Persistent

@DS int RW 0 0, 1, 2018 2023b Sets or returns the Origin software and project files date-time system

0 = Old behavior. New created project uses Origin's long-time adjusted Julian Day system with "0" at midnight on January 1, 4713 BCE (12 hours later than true Julian Day).
1 = Turn on high precision time. Set @ds =1 or any value > 0, and then import CSV data with higher precision and save the project. The project level system variable @dsp will be set to 1970. When sharing the file with others with @ds=0 (default value), the project will still keep the higher precision date since project level @dsp is 1970. It is useful for instrument data that is prior to 2018.
2018 = If the project is already set to @dsp=2018 (2018 date system, where "0" is Jan 1 2018 00:00), you can still set @ds=2018 for the compatibility.

Persistent

For more information, see Dates and Times in Origin and @DSP below.

@DSI bool RW 0 0,1 2020 It controls whether to disable showing column index in Column List View

0 = show column index ahead of column Short Name in Column List View
1 = not show column index

@DSL int RW -800000 Negative integer 6.9183 It specifies device symbol lower bound to limit the logical coordinates during symbol drawing.
@DSO int RW depends on @DSP 2415018, 2415018.5, -43101 2019 Beginning with Origin 2019, Origin supports 3 date-time systems (see @DSP) and the chosen system is saved with the project file. This read-only system variable (@DSO) returns the difference in days between the current project date-time system and the date 12/30/1899.

2415018 = Default adjusted Julian Day
2415018.5 = True Julian Day
-43101 = 2018 Date

@DSP int RW 0 0, 1, 2018 2019 Beginning with Origin 2019, Origin supports 3 date-time systems. This read-write system variable sets or returns the current system. The current value of @DSP is saved into the project file. Thus, if you wish to use an alternate system (not default), you need to set the value of @DSP for each project before saving.

0 = (default) Origin's long-time adjusted Julian Day system with "zero" at midnight on January 1, 4713 BCE (12 hours later than true Julian Day).
1 = True Julian Day ("zero" is January 1, 4713, BCE at 12:00 GMT).
2018 = 2018 date system, where "zero" is Jan 1 2018 00:00. Use this "2018" system to maximize numeric precision.

See @DSO, above.

@DSRS bool RW 1 0,1 2019 It controls whether to display 24:00 or 00:00 as the beginning of a day in time data

1 = display 00:00
0 = old behavior, display 24:00

Persistent

@DSRT int RW 2 0,1,2 2024b it controls drag scale round to minor tick: 0 = only to major tick, 1 = to minor tick, 2 = to half of minor tick
@DST bool RW 0 0, 1 2017 It controls whether to open Origin Center dialog on Origin startup in all cases except double-clicking on Origin icon to open

0 = Learning Center does not open on startup
1 = Learning Center opens on startup

@DSU int RW 3200000 Positive integer 6.9183 It specifies device symbol upper bound to limit the logical coordinates during symbol drawing.
@DT int R 0 0,1 2024 This System Variable is read only. It relates to the Global Color Theme: Dark Theme or Light Theme

0 = Light Mode
1 = Dark Mode

@DTA bool RW 1 0,1 7.0404 It controls how axis selection behaves:

0 = Axis selection works in old behavior (before version 8)
1 = Axis selection works in new behavior

@DTB int RW 30 Positive integer 7.0476 It specifies the number of data points highlighted upon hitting any one of the data points to make a selection for some data plot.


Note: it is used for data plot hit-test. For grouped data plot, a single hit on any data point will highlight @DTB number of un-overlapped data points from all data plots within the group.

@DTC bool RW 1 0,1 7.0476 It controls whether to create data plot cache for hit-test:

0 = Do not create data plot cache (old data plot hit-test)
1 = Create data plot cache
Note: create data plot cache can improve the speed of data hit-test.

@DTD int RW 640 Positive integer 7.0476 It specifies data plot bitmap cache quantization steps.


Note: @DTD=640 makes the actual bitmap resolution proportional to screen resolution (640*1280, 800*1600), so that 2-3 pixel symbols are selectable.

@DTE int RW 4 Positive integer 7.0476 It specifies the highlighted square symbol size of selected data points upon hitting any one of the data points to select in unit of pixels.
@DTF int RW 10 Positive integer 6.9013 It specifies the minimum distance (in pixels) between two drawing points upon using freehand tool.


Note: @DTF can be regarded as the resolution of freehand drawing tool. The smaller @DTF is, the smoother the freehand drawing would be. If set @DTF=100, freehand drawing looks similar to plot with data points connected by lines.

@DTH int RW 8 Positive integer 6.9013 It specifies draw tool handle size (in pixels).


Note: when click to select a graphic object, there are some green square handles around the object which can be used to adjust the position and shape of the graphic object. These green squares are the draw tool handles mentioned above.

@DTL int RW 300 Positive integer 7.0476 It specifies the length of a click free area which is scattered from the region where inserted object can be selected in percentage of the size defined by @DTO for hit-test.


Note: refer to @DTO for the meaning of click free area.

@DTM int RW 4 Positive integer 6.9013 It specifies the minimum distance (in pixels) you have to drag with mouse before an Origin object (any movable object in Origin) can initiate a move.
@DTN int RW 0 Integer 6.9013 It specifies the step size in pixels when you select an Origin object (any movable object in Origin) and move it by using keyboard keys.


Note: @DTN=0, select an object and press arrow key, it still moves and accelerates when you hold the arrow key still. When @DTN is negative, it will move in opposite direction to arrow key direction. @DTN can also be used as step size for Zoom-Panning Tool and rotation for 3D object.

@DTO int RW 6 Positive integer 6.9013 It specifies the length of a click free area which is scattered from point of click in unit of pixels for hit-test.


Note: click free area refers to area within which single or double click will have no effects, such as to select, bring up dialog box. Point of click defines the region within which Origin object can be clicked to select.

@DTOA int RW 12 Positive integer 7.0402 It specifies the length of a click free area which is scattered from the region where axis can be selected in unit of pixels for hit-test.


Note: refer to @DTO for the meaning of click free area.

@DTOB int RW 6 Positive integer 7.0402 It specifies the length of a click free area which is laterally scattered from the region where axis break can be selected in unit of pixels for hit-test.


Note: refer to @DTO for the meaning of click free area.

@DTOG int RW 0 Natural number 7.0402 It specifies the length of a click free area which is laterally scattered from the region where axis minor grid can be selected in unit of pixels for hit-test.


Note: refer to @DTO for the meaning of click free area. Since axis minor grid selection is no longer available, @DTOG will not function as before.

@DTOL int RW 6 Positive integer 7.0402 It specifies the length of a click free area which is scattered from the region where axis label can be selected in unit of pixels for hit-test.


Note: refer to @DTO for the meaning of click free area.

@DTOM int RW 0 Natural number 7.0402 It specifies the length of a click free area which is laterally scattered from the region where axis major grid can be selected in unit of pixels for hit-test.


Note: refer to @DTO for the meaning of click free area. Since axis major grid selection is no longer available, @DTOM will not function as before.

@DTOS int RW 10 Positive integer 8.0627 It specifies the effective data point selection area in hit-test for data reader cursor in unit of pixels.


Note: within the region defined by @DTOS, single click will bring the data reader cursor to corresponding data point.

@DTP int RW 10 Positive integer 6.9013 It defines the number of new counts allocated for Polyline drawing when already allocated counts have been used up.


Note: This dynamically allocating new count can save space and improve efficiency where directly allocate a large number of counts could be redundant.

@DTQ int RW 12 Positive integer 6.9013 It defines the number of new counts allocated for Bezier drawing when already allocated counts have been used up.


Note: This dynamically allocating new count can save space and improve efficiency where directly allocate a large number of counts could be redundant.

@DTR int RW 100 Positive integer 6.9013 It defines the maximum number of points we use for making an ellipse object.


Note: @DTR=10, the ellipse drawing is not smooth anymore. @DTR actually defines the resolution of ellipse object.

@DTS int RW 20 Positive number 6.9013 It defines the maximum number of points we use for making a drawing using Curved Arrow Tool.


Note: @DTS=5, the curved arrow drawing is not smooth anymore. @DTS actually defines the resolution of curved arrow drawing.

@DTT int RW 6 Positive integer 6.9171 It specifies the effective region in unit of thousandth of layer height around legend border within which single click will only choose legend border so that drag to resize only affects legend box but not the label inside.


Note: beyond the region mentioned above while still inside legend box, a single hit will select the border and along with text inside meanwhile displays green handles around the box.

@DTU int RW 16728064 (RGB(0,64,255)) Natural number 6.1052 It specifies the intermediate transient line color upon making line, polyline, arrow, and free hand drawings in integers which corresponds to RGB color.


Note: For example, RGB(0,64,255) = RGB(00,40,FF), you can use LabTalk command hex3Dec to convert it to decimal number as following: hex2Dec(FF4000)=16728064. The default color is Blue in transient state.

@DTUF int RW 16800000 (RGB(255,255,255)) Natural number 2020b It controls the fill color of the select feedback for the graph objects.This variable is only used to change the fill color for the selecting indicator of the bounding box of the graph objects.

The default value is an internal color code of RGB(255,255,255). You can use the color function to get this internal color code for the desired color.

@DTV int RW 3 0,1,2,3 7.0304 It specifies the argument copy level, however the function of @DTV is no longer for use and replaced by “Link to (%,$), Substitution Level” dropdown list in Programming Control dialog box.


Note: for the legend of a plot, substitution level is 1. If you set it as 0, when you copy the legend it becomes %(1) instead of the text label.

@DTW int RW 10 Positive number 8.500088 It controls how many points per selected 3D surface plot are displayed. It is the step size, so the larger the value is, the fewer points are displayed and size of each point will be larger.
@DTX int RW 0 (RGB(0,0,0)) Natural number 8.108988 It specifies all graphic objects’ handle frame color in decimal integer format. See @DTU to convert standard RGB() color scheme to corresponding decimal number. The default color is Black for the handle frame.
@DTY int RW 32768 (RGB(0, 128, 0)) Natural number 8.108988 It specifies all graphic objects’ handle filling color in decimal integer format. See @DTU to convert standard RGB() color scheme to corresponding decimal number. The default filling color is Green for handles.
@DTZ int RW -1 -1, Natural number 8.0932 It is used to control the zooming of text size in preview panel in text object Properties dialog box:

Negative values = Auto zoom (from 10% to 1000%)
0 = No zoom
Positive values = Fixed zoom factor (e.g. 500 means 500% zoom)

@DUB bool RW 1 0,1 2019 By default, when you use Data: Clear menu or Del key to delete the last data cell in a column, the data is "really" deleted and thus the data series is shrinked. @DUB = 0 to turn off this feature, which means, when you delete a data cell, this cell because missing values and the data series is not shrinked.
@DUE bool RW 0 0,1 2024b @DUE = 1 to delay updating the spark lines (need to pause for 500ms to update)
@DXR int RW 0 0,1 2020 Support plotting from selected columns even though X is on the right side of Y column(s).

0 = plot according to the plot designation in selection, no matter X column is on the left or right side of Y.
1 = X column must be on the left side of Y in selection.

@DZ bool RW 0 0,1,2,3 6.9084 It controls how Origin displays the trailing zeros in worksheet cell, when Default Decimal Digits is not selected in the Display drop-down list in the Column Properties dialog box.

0 = Displays the trailing zeros if not set to the default decimal digits.
1 = Remove trailing zero for set decimal digits
2 = Remove trailing zero for set significant digits
3 = Remove trailing zero for set decimal digits or set significant digits

E

Variable Type Access Default Supported Version Description


@E bool RW 0 0,1 6.1052 It controls whether to turn on hidden dialog box for advanced control over Box Charts:

0 = Advanced dialog box remains hidden
1 = Double click within any box chart will bring up a new Plot Details dialog box
Note: with the new Plot Details dialog box created in version 5.0, you have additional settings for Box Charts as below:
1. The Histogram Plot checkbox adds a scatter histogram to the plot.
2. The Adjacent checkbox moves the scatter histogram to the side of the Box Chart
3. Of the two Symbol Size drop-down lists: The first controls the size of the five 'features' located at the bottom of the dialog The second controls the size of the scatter histogram (and uses its own relative sizing)

@EAB bool RW 0 0,1 2018b It controls whether to keep the Apply button in a GetN dialog always active.

0 = the Apply button becomes inactive after first click and won't be active unless a change is made in the GetN dialog
1 = the Apply button is always active

@EAH ushort RW 7 0,1,2,3 2015, updated 2018b Control output of error, warning and attention messages:

0 = Show error message only in Message Log window
1 = Show error message in both Message Log and as Smart Hint
2 = Show warning messages in both Message Log and as Hint
3 = Show information/attention messages in both Message Log and as Hint

@EAIS int RW 0 0,1 2020b Control whether to execute App's After Install script when install new version of Origin. By default build-in App is re-installed only when a newer version is available, and no need to run After Install script when new version of Origin is installed. Set @EAIS = 1 to run After Install script in case that running the script is necessary.



Persistent

@EAMT int RW 1 0,1 2020b It controls whether use multi-thread when export worksheet data as ASCII file using the X-Function expASC.
@EBPTS double RW 0.3 Positive 2024b It is used to adjust the points factor for edge bundling curves of a Hierarchical Edge Bundling Curve plot
@EBSH bool RW 1 0,1 2024b @EBSH=1 to make error bar of individual plot show/hide together with parent plot
@EC int RW 0 0,1,2,4 2017 SR1 Controls OPJ close and program exit behaviors. EC = 1,2, or 3 (bit values are additive) will dump a message to the Messages Log. Adding bit 4 suppresses message dump.

0 = (default) Close the project, exit the program normally
1 = Do not close current project
2 = Do not exit current Origin instance
4 = Suppress dumping of warning to Messages Log

See: ProjectEvents Script

@ECD int RW 0 0,1,2 2021 It controls which editor to open when you select Edit Color... context menu in Color Manager:

0 = Build Colors dialog
1 = PalEdit X-Function
2 = Simpler Palette Editor
Persistent

@ECEM int RW 0 0,1 2024 enable custom Excel menu in Custom Menu Organizer, 1 = show Excel radio,0 = not show.
@ECS int R 0 2024 return Save Project Error Code
@ED int RW 2 0,1,2 6.025 It control to use which side of Ctrl+Shift key and mouse left click to open the OGS file corresponding to the action that the mouse cursor is clicking to execute in LabTalk editor:

0 = Using right side Ctrl+Shift+ Mouse left click to bring up corresponding system OGS file
1 = Using left side Ctrl+Shift+ Mouse left click to bring up corresponding system OGS file
2 = Using either side Ctrl+Shift+ Mouse left click to bring up corresponding system OGS file
Note: For instance, create a scatter plot, hold Ctrl+Shift keys and use mouse to click on the “New Legend” icon on the toolbar, It will open Standard.ogs file and the yellow cursor will stop at [Legend] section and meanwhile output few lines in script window.

@EDGEBUNDLING int RW 1 0 to 7 2024b Hierarchical Edge Bundling:

1 = Set Save Load
2 = Show Tree Lines
4 = Show All Plot Details Tabs

Note: @EDGEBUNDLING is a combination of these controlling bits which produces cumulative effects

@EDN bool RW 0 0,1 2019 If you have a function in a DLL that accepts a double parameter by value and returns a double and call it from OC passing it NANUM (-1.23456789e-300), the function will not actually get called. This system variable is used to check whether any input is NANUM before calling the DLL function.

0 = not to call DLL function if any input is NANUM
1 = disable this checking before calling the DLL when passed in NANUM

@EEE bool RW 1 0,1 2015 It controls whether to exclude empty sheets while drag-n-drop to import Excel file.

0 = do not exclude the empty sheets
1 = exclude the empty sheets

@EF bool RW 0 0,1 6.9192 It indicates if an entered engineering notation (e.g., 1k) in a non-engineering format column is treated as a text, or as a number:

0 = Treated as text
1 = Treated as numeric

@EFD bool RW 1 0,1 2019b It controls whether to disable the "auto expand size" behavior in worksheet cell edit mode.

1 = when double click on a worksheet cell or press F2 to enter in-place edit mode, edit box becomes bigger and spills to left
0 = disable this "auto expand size" behavior

@EFLC bool RW 0 0,1 2024 Errorbar follow line color, default @eflc=0, error bar auto color follow symbol color.
@EGDCD int RW 1 0,1 8.510295 It controls whether to duplicate workbook as self-contained book when there is any embedded graph:

0 = Do not duplicate workbook as self-contained book
1 = Duplicate workbook as self-contained book
Note: @EGDCD is used to check whether duplicated embedded graph contains any plot from parent book, and if yes, the duplication will duplicate the workbook as self-contained book.

@EGKS bool RW 0 0,1 2022 whether to keep page size when create EMF for export graph
@ELD bool RW 1 0,1 9.0 It controls whether to enable the … button for drop-down list selection in Column Browser dialog box:

0 = Disable the selection of drop-down list
1 = Enable the selection of drop-down list
Note: Run

string grname$ = ""; 
getn (Col) grname$:@BBColumn (Test @BB);

with a workbook window active, @ELD=0, the … button drop-down list selection in column browser dialog box is disabled.

@ELSS bool RW 1 0,1 2024 Excle Load Singe Sheet, to support load single sheet,
@ELWK bool RW 0 0,1 2016 SR2 It controls whether to improve speed on OPJ close when the OPJ has lots of operations

0 = turn off the speed up improvement
1 = turn on the speed up improvement
Note: in version 2017 and later, Origin has largely improved the close speed. You don't need to set this system variable to troggle the speed up improvement.

@EMB int RW 3000 Positive integer no more than 100 2023 It controls how long not to repeat same error message to message log. Unit is 1/100 of a second. @EMB = 3000 means 30 sec.
@EMC int RW 100 Natural number 8.0847 It specifies the maximum number of columns to be exported when worksheet is exported as Image file.


Note: @EMC=0 will disable the limit and export all the columns in the worksheet.

@EMLD bool RW 0 0,1 2022b @EMLD=1 will direct draw graphs inside layouts when EMFs created
@EMP int RW 7 0 to 7 8.109034 It is used to specify enhanced metafile options by adding up the controlling bits:

1 = GDIPlus
2 = Try GDIPlus
4 = Force GDIPlus
Note: GDI stands for Graphics Device Interface. These controlling bits can be combined to produce cumulative effects. For example, the default value 7 is combination of @EMP=1, @EMP=2, @EMP=4.

@EMR int RW 1000 Positive integer 8.0847 It specifies the maximum number of rows to be exported when worksheet is exported as Image file.


Note: @EMR=0 will disable the limit and export all the rows in the worksheet.

@EMRD int RW 2 0,1,2,3 9.1 SR3 It controls whether to draw text via polygons upon drawing EMF in remote desktop environment by specifying the controlling bits:

0 = Do not draw text via polygons
1 = When doing vector export of either EPS or PDF, the value of the system variable @TO will be temporarily switching to 1, which causes any text drawing to be done using polygonal drawing
2 = Similar to 1, except that the text is drawn using polygonal drawing for any EMF generation (not just EPS and PDF).
Note:@EMRD is a combination of these controlling bits to produce cumulative effects, for instance, @EMRD=3 (includes @EMRD=1 and @EMRD=2) it will draw Origin text via polygon with AA enabled for all vector exports (by temporarily setting @TO=2)

@EMS bool RW 0 0,1 8.6 It controls whether to keep original graph size when copying page to Microsoft Word:

0 = Keep Origin graph size when copy paste page into Microsoft Word
1 = Do not keep Origin graph size

@EMTD int RW 1 0,1,2 2024b it controls ENH metafile DIB drawing:

0 = use gid drawing dib
1 = use gdiplus drawing dib
2 = use gdiplus drawing dib and copy page with TextOutModeSimulateWithAAWhenDrawGlyph(same as @TO = 2)

@ENDD bool RW 1 0,1 2022b @ENDD = 1 will get the correct image size for drawing embedded note
@ENDR bool RW 0 0,1 2022b Embedded Note Disable Render, @ENDR=1 to show raw text
@ENM int RW 4 Positive 2022b embedded notes drawing margin



Persistent

@EP bool RW 1 0,1 6.0262 It controls whether to export WMF as Aldus placeable metafile:

0 = Disable export WMF as placeable metafile
1 = Enable export WMF as placeable metafile

@EPS bool RW 1 0,1 2024 it controls whether to replace Text Font which is not recognized in AI in Exported EPS file
@ERE bool RW 0 0,1 2023b Suppress database Empty-Recordset-Error message (Somehow this problem is only for ADO, using ODBC does not have this issue).

0 = SQL leading to no rows is not an error and normal operation will proceed and data range will be added, so worksheet is still locked.
1 = Old behavior. Empty result will generate error and worksheet will not be locked.

@ERI bool RW 0 0,1 7.5711 It controls whether to export raster in Isotropic mode:

0 = This eliminates empty space in raster exports for very elongated bitmaps (when one dimension is much longer than the other with Margin control being Border or Tight)
1 = Export raster in isotropic mode which produce correct text labels

@ERM int RW 0 0,1 8.0987 It specifies expand row mode when add rows for import:

0 = Smart expand mode
1 = Relative expand mode
Note: relative expand mode will add extra @ERP%*current row number rows to the worksheet.

@ERP double RW 5 Positive integer 8.0987 It specifies the amount of row expansion in percentage of current worksheet row number.
@ESC int RW 1 0,1 2018 Enable or disable worksheet cell formulas.

0 = Disable worksheet cell formulas.
1 = Enable worksheet cell formulas.

@ESD bool RW 1 0,1 2024 Engineer Scientific Digit, it controls how to display tick label in Scientific format. 0 = old behavior



Persistent

@ESL bool RW 0 0,1 2020 Allows hotkey combinations such as CTRL+down or CTRL+SHIFT+down to extend selection past blank cells or missing values. This same functionality is temporarily enabled for Mini Toolbar button Extend selection to last row with data.

0 = Allow the selection to be interrupted by blank cells/missing values (behaves as in MS Excel).
1 = Extend the selection beyond blank cells or missing values.

@ETE bool RW 0 0,1 9.0 It controls whether to remove the leading 0 in Scientific display for tick label:

0 = Auto determine the number of digits in exponents display for tick label, based on Min and Max digits of input data. It is equivalent to set Scientific: 1E3 Display as to 1E+03 in Preferences: Options dialog > Axis tab. For example, if the input data range is from 1E05 to 1E11. By default @ETE = 0, 1E+11 will be shown as 2E+11 in tick label, and 1E+05 will be displayed as 1E+05. If the input data range is from 1E+05 to 1E09, then all tick labels show 1 digit only. To show leading 0 as in the old version, please set @SED = 2.
1 = Always remove the leading 0 for Scientific display. It is equivalent to set Scientific: 1E3 Display as to 1E+3 in Preferences: Options dialog > Axis tab.

@ETG int RW 1700 Positive integer 9.1
updated 2021
It specifies how long it takes to activate Apply button after user’s input in unit of milliseconds.
@EU int RW 1 0,1 6.921 It controls how to copy engineering unit:

0 = Copy for edit control, eg, copy micro symbol as ‘u’
1 = Copy as what the unit is actually displayed and then displays it use localized customization.
Note: @EU=0, number 0.00002 will display as 20u instead of 20µ once formatted it as Engineering:1k.

@EV bool RW 0 0,1 2021 Set to 0 to avoid removing whitespace between \q in LaTeX. 1 = old behavior.
@EX bool RW 0 0,1 6.1052 It controls whether to use Image Stream export library from Inso for ordinary metafile:

0 = Do not use export library from Inso for ordinary metafile
1 = Use export library from Inso for ordinary metafile

@EZC int RW 8421500 2018 When the user-defined exporting area is shown on a graph page, this system variable is used to determine the background color of the area outside. The color displays in its decimal value. The default color is gray.
@EZD int RW 0 0,1 2022 It controls whether to open margin dialog if no offset

0 = no dialog
1 = open dialog

@EZT int RW 70 2018 When the user-defined exporting area is shown on a graph page, the outside area is filled with gray color at 70% transparency. You can use this system variable to change the transparency.

F,G

Variable Type Access Default Supported Version Description
@FA bool RW 1 0,1 6.919 It controls the option for Data Display Window to display Real values or Divided by values for data points with scaled axis (Input factor in Divide by Factor box under Tick Labels) upon using Data Reader:

0 = Show coordinates without divide by factor but true value
1 = Show coordinates with divide by factor
Note: @FA=1 will show the scaled value with a scaling factor, for instance 100, rather than its actual value in the format as: [Book1]Sheet1!B[16]: X=16,Y(/100)=0.16
while @FA=0 Data Display Window will show as Book1]Sheet1!B[16]: X=16, Y=16
This function no longer has effects on Version 9.1 but all versions earlier.

@FAC int RW 3 0,1,2,3 2022 Controls autocomplete support in column formulas (Set Values) and cell formulas.

0 = Disable for both cell and column formulas
1 = Enable for cell formulas
2 = Enable for column formulas
3 = Enable for both cell and column formulas

Persistent

@FACC int RW 0 0,1,2,3 2022 LT function auto complete option

0 = prevent upper case and digits
1 = allow upper case
2 = allow digits

Persistent

@FAW bool RW 1 0,1 9.1 It controls whether to use absolute value as weight in fitting if the provided weight data contains negative values:

0 = Apply old behavior where negative weight data will create an error message
1 = Fit with absolute weight for negative weight values

@FBFS int RW 130 Positive integer 2021 It controls the Formula Bar font size in percentage of the standard font size. 100 is the standard font size in Windows controls. Set it to a bigger value to enlarge the font size in Formula Bar.


Persistent

@FBL int RW 1 0,1 2023 It controls file browser whether to use new layout in GetN dialog:

0 = ...Path to open the browse folder dialog, ...Path2 to open the select folder dialog
1 = ...Path to open the select folder dialog, ...Path2 to open the browse folder dialog
See File path Dialog

@FBM bool RW 1 0,1 9.1 It controls the availability of masked data for filtering:

0 = Filtering will not have effects on masked data
1 = Filtering will still be able to access data that is masked already

@FBZB bool RW 0 0,1 2024b @FBZB = 0 to make floating bar rescale no need start from 0. Set @FBZB = 1 back to old behavior
@FCA bool RW 0 0,1 2021 It controls whether the actions of hotkeys "Alt+Enter" and "Ctrl+Enter" follow that of Excel.

0 = Excel-like behavior. "Alt + Enter" will insert a new line in the worksheet cell in edit mode, while typing in a cell and pressing "Ctrl + Enter" will fill a pre-selected group of cells.
1 = old behavior. "Ctrl + Enter" will insert a new line in the worksheet cell in edit mode, while typing in a cell and pressing "Alt + Enter" will fill a pre-selected group of cells.

@FCAS bool RW 1 0,1 2024b It controls whether auto size row height when the font change, 1 = enable, 0 = disable



Persistent

@FCI int RW 20 Natural number 2020b It controls the number of iterations which will fix the peak center from the fitting start.

This system variable added to control the actual number of iterations for system variable @PFFC.
@FCU bool RW 1 0,1 8.0987 It controls whether to use true Unicode code without calling WideCharToMultiByte so that it is independent from codepage and charset settings:

0 = Use old behavior for Unicode code
1 = Enable the use of true Unicode code
Note: @FCU=1, type \(169) in Object Properties dialog will directly show CopyRight icon in a text label in regardless of codepage or charset.

@FD bool RW 1 0,1 6.1052 It controls whether to enable faster single window datasets saving:

0 = Disable faster single window datasets saving
1 = Enable faster single window datasets saving

@FDL bool RW 1 0,1 8.049 It controls whether to enable new fast line drawing:

0 = Disable new fast line drawing
1 = Enable new fast line drawing

@FDP bool RW 1 0,1 2015 SR1 It controls whether to fix dockable panels' tab positions upon re-docking panels back:

0 = Do not fix dockable panels' tab positions so redocked panel will show on the bottom
1 = Fix dockable panels' tab positions as Project Explorer, Quick Help, Message Log, Smart Hint Log, Result Log, Command Window

@FDPC int RW 2 0,1,2 2016

It controls the behavior when clicking close button in Project Explorer:
0 = Will close Project Explorer so that you need to open it again to make it available again
1 = If the Project Explorer is unpinned, click close button will hide it
2 = Click close button will always hide Project Explorer

@FDV bool RW 1 0,1 8.049 It controls whether to enable new poly virtual memory allocation:

0 = Disable new virtual memory allocation
1 = Enable new virtual memory allocation

@FDW bool RW 0 0,1 2021 It determines the first day of a week.

0 = Monday is the first day of a week;
1 = Sunday is the first day of a week.

@FED bool RW 1 0,1 2021 set to 0 to disable RASTER_CACHE_TO_SPEEDUP_WKS_CELL_EMBEDDING_DRAWING



Persistent

@FEDA int RW 50 0, positive integer 2024 The factor to control whether use fast draw when insert image with alpha channel to worksheet cell. The value is image size reduction in percent of the cell size. For example, default 50 means that if the cell size is less than 50% of the image size, then use cache for faster drawing. Set to > 100 to ensure always use cache, and 0 to never use cache.

See also @FEDF.

@FEDF int RW 50 0, positive integer 2024 The factor to control whether use fast draw when insert image without alpha channel to worksheet cell. The value is image size reduction in percent of the cell size. For example, default 50 means that if the cell size is less than 50% of the image size, then use cache for faster drawing. Set to > 100 to ensure always use cache, and 0 to never use cache.

See also @FEDA.

@FGC int RW 2 0,1,2,3 2018b It is used to control whether to enable cache for worksheet floating graph or layout window, to speed up refresh.

0 = disable cache.
1 = enable worksheet floating Graph cache.
2 = enable Layout linked Graph cache.
3 = enable cache for both worksheet floating graph and Layout linked graph.

@FL int RW 10 Positive integer 6.0253 It specifies the margin in percentage for Fit Page to Layers only when LabTalk script:
@FL=5;
page –f;

is being used.

@FLP bool RW 1 0,1 9.1 It controls whether to Fit Layer to Page for the adding layer:

0 = Do not Fit Layer to Page for adding layer
1 = Fit Layer to Page for adding layer

@FLTO int RW 3000000 Positive integer from 200000 to 20000000 2023 Controls the maximum time in microsecond Origin waits for a response back from the concurrent license server.
User must run Origin as Administrator and run @FLTO=N; inside Origin to set system environment variable FLEXLM_TIMEOUT, where N must be a value 200000 (0.2 sec) < N < 20000000 (20 sec). For example, @FLTO=0; will set to minimum 200000 (this is 0.2 sec).

Please see this FAQ page for more information.

@FM bool RW 1 0,1 6.0288 It controls whether to search the end of structure marker (‘\n’) in case of file error for file reading:

0 = Do not search the end of structure marker (‘\n’)
1 = Search the end of structure marker (‘\n’)

@FOP int RW 0 0,1,2 2022b It helps to fix OneDrive open OPJU trouble:

0 = old behavior
1 = it will use the opening of the file by denying the modification to other programs; this option will not work (it will simply fall back to the old way) if the file is currently opened by another instance.
2 = it will make a temp copy of the source file into the temp. directory, and then read it.
If any of the method 1 or 2 fail, it will resort to the default (i.e. old) way of opening files for reading.

@FNS int RW 3 0,1,2,3 2023 Folder-Note-Syntax, it controls Folder Notes syntax:

0 = text
1 = html
2 = markdown
3 = origin rich text (Default)

Persistent

@FPT bool RW 0 0,1 2023 It controls whether Data Plot Index for Auto Axis Titles will exclude function plot:

0 = no function plot
1 = include function plot

@FSE int RW 500 Natural number 2020 Threshold import file size in kilobytes, for excluding Data Connector-imported data upon save. See system variable @DNS

500 = (default); Do not save if more than 500kB.

Persistent

@FSEB int RW 0 Natural number 2020 Threshold database import size in number of Origin worksheet cells x 100, for excluding Data Connector-imported data upon save.

0(x 100) = (default) Do not save any database data.

Persistent

@FSEI int RW 2000 Natural number 2021b Threshold import image file size in kilobytes, for excluding Data Connector-imported data upon save.

2000 = (default); Do not save if more than 2MB.

Persistent

@FSEW bool RW 80 Natural number, -1 2020 Threshold size in number of Origin worksheet cells x 100 for excluding (Data Connector-imported) Web, JSON, Origin, MATLAB data upon save. See system variable @DNS.

80(x 100) = (default) Do not save if more than 8000 worksheet cells.
0 = Never save data from Web, JSON, etc.
-1 = Always save data from Web, JSON, etc.

Persistent

@FSF int RW 1 0,1,2 8.50013 It specifies LabTalk script expression formula mode:

0 = Normal mode, no acceleration
1 = Only NLFit uses fast mode
2 = All use fast mode

@FSK bool RW 1 0,1 2020 Prior to Origin 2020, if you right-clicked on an inactive folder in Project Explorer and chose Save Project As, all project windows would be hidden upon opening, regardless of their Hide/Show status on saving. Default is changed to preserve Hide/Show status on open.

0 = Hide all windows regardless of Hide/Show status at the time of saving.
1 = (default) Preserve Hide/Show status of windows at the time inactive folder is saved.

@FSL bool RW 0 0,1 8.510313 It controls whether to allow find page by short name prior to long name:

0 = Find page by long name as default
1 = Force find page by short name first

@FSLM bool RW 1 0,1 2021b It force line drawing to skip missing value, 0 = off(old behavior) , 1 = on
@FSQ bool RW 0 0,1 2022 set to 0 to make Edit: Find in Sheet (Ctrl+F) open simple Find dialog.



Persistent

@FWA bool RW 1 0,1 2023b Control whether floating windows should be shown together with main window (including minimize action). If @FWA = 0, floating windows and main window work independently.



Persistent

@FWCA int RW 282465
RGB(97, 79, 4)
Natural number 2023b Control floating window(Active) color in Project Explorer


Persistent

@FWCI int RW 426142
RGB(158,128,6)
Natural number 2023b Control floating window(Inactive) color in Project Explorer


Persistent

@FWD int RW 1 0 to 2 2023b It controls the drag directions allowed for window floating

0= All drag directions enabled
1= Horizontal direction only
2= Vertical direction only

@FWLM int RW Natural number 2023b last monitor that float window to. 0 = no info, otherwise 1,2,3 ...



Persistent

@FWOM int RW 3 0 to 5 2023b It decides the location of the Object Manager for new created window when they are floating. Note: this system variable will not changed the existing window setting. It only can affect the new added windows.

0= Hide the Object Manager
1/2/3/4= Object Manager on top/left/right/bottom
5= Object Manager is floating

@FWP int RW 3 0,1,2,3 2023b It control whether to pin floating window when dragging out:


0 = auto unpin
1 = auto pin when drag out but will not auto unpin when drag in
2 = not auto pin when drag out. But if maually pin the floating window and drag in, it will not auto unpin
3 = auto pin when drag out and auto unpin when drag in

Persistent

@FWTB int RW 1 0,1 2023b It controls whether to update floating window tool bar, set @FWTB = 1 to update
@FWY bool RW 0 0,1 2021 It determines the first week of a year.

0 = Week that has at least four days in the new year, which complies with ISO standard 8601, section 3.17;
1 = Week in which January 1 occurs

@FXR bool RW 1 0,1 2025 @FXR = 1 will reset From&To when changing Fx. Set @FXR = 0 to old behavior.
@G int RW 1 0,1 3.78 Display page color within the entire graph window, including outside the page, in Page View mode. @G is independent of system.extbackcolor, if either of them is 0, then gray background will be gone.

0 = display page color within the entire graph window.
1 = display page color outside page as gray.

@GALL bool RW 1 0,1 2023 Gap-Across-Linked-Layers, it controls whether to enable spacing settings for linked layers set:

0 = disable
1 = enable

@GARH int RW 1450 Positive integer 2018b When loading master page the active graph page's dimension will be used to update the loaded master page, based on the orientation of the active page. If the active window is not a graph, then Origin will search for other graphs and decide if Landscape or Portrait should be loaded depending on which types have more. There is also a checking of graph page's aspect ratio. This system variable along with @GARL is used to set the upper and lower bands of the aspect ratio.
  • @GARH: graph aspect ratio high
  • @GARL: graph aspect ratio low

Any graph which aspect ratio is larger than @GARH or smaller than @GARL will not be considered in determination of master page orientation.

@GARL int RW 1200 Positive integer 2018b This system variable along with @GARH is used to set the upper and lower bands of graph page's aspect ratio when loading master page. See details in @GARH.
  • @GARH: graph aspect ratio high
  • @GARL: graph aspect ratio low
@GAS bool RW 0 0,1 8.510295 It controls whether to dump all scripts about every XF variable (except hidden) to script window when click Generate Script in XF dialog:

0 = Dump normally generated scripts
1 = Dump all scripts about every XF variable

@GBC int RW 17 Natural Number 2024 It acess the Page Auto Background Color control on Page tab of Preferences: Options dialog
@GC int RW 11706364 Natural number 8.0645 It is used to specify Object Grid color in numerical values.


Notes:

  • To apply customized color to Object Grid, set the value of @GC first and then go to View:Show to check Object Grid. Use LabTalk function "color" to convert standard RGB color scheme to corresponding decimal number. See @DTU for details. The default Object Grid color is #FC9FB2, that is, 11706364 = color(252,159,178,1).
  • With Origin 2020, the "Object Grid" became the "Layer Grid."
@GCL int RW 7920895 Natural number 2022 Used to set or get the layout page Grid color. Value is Origin's internal color code. Beginning with Origin 2022, use @GCL with color(r,g,b,1) (e.g. color(0,255,0,1) = green) to set layout grid color.
@GCP int RW 16762043 Natural number 2019 Used to set or get the graph Page Grid color. Value is Origin's internal color code. Beginning with Origin 2022, use @GCP with color(r,g,b,1) (e.g. color(0,255,0,1) = green) to set page grid color.
@GDIP bool RW 1 0,1 8.50013 It controls whether to turn on GDIPlus:

0 = Turn off GDIPlus
1 = Turn on GDIPlus Note:refer to @EMP for definition of GDI.

@GDIPB int RW 1 0,1 8.50013 It controls whether to use blend bell shape in Gradient Fill in GDIPlus:

0 = Disable blend bell shape in Gradient Fill
1 = Enable blend bell shape in Gradient Fill

@GDIPC int RW 0 0,1 8.50013 It specifies the Alpha compositing mode in GDIPlus:

0 = CompositingModeSourceOver
1 = CompositingModeSourceCopy

@GDIPCQ int RW 1 0 to 4 8.50013 It specifies the Alpha compositing quality mode in GDIPlus:

0 = CompositingQualityDefault
1 = CompositingQualityHighSpeed
2 = CompositingQualityHighQuality
3 = CompositingQualityGammaCorrected
4 = CompositingQualityAssumeLinear

@GDIPE bool RW 1 0,1 2021 It controls whether to turn on GDIPlus when exporting:
0 = Turn off GDIPlus 
1 = Turn on GDIPlus Note:refer to @EMP for definition of GDI.
@GDIPEB bool RW 0 0,1 2023 GDIPEB=1 to fix buggy bounding rect of gdiplus emf
@GDIPG int RW 1 0,1 8.50013 It controls whether to use Gamma correction in Gradient Fill in GDIPlus:

0 = Disable Gamma correction in Gradient Fill
1 = Enable Gamma correction in Gradient Fill

@GDIPH int RW 0.1 Positive 2024 Draw Text GDIPlus Simulate Height Correction
@GDIPI int RW 5 0 to 7 8.50013 It specifies interpolation mode for general use except for export and copy page in GDIPlus:

0 = InterpolationModeDefault
1 = InterpolationModeLowQuality
2 = InterpolationModeHighQuality
3 = InterpolationModeBilinear
4 = InterpolationModeBicubic
5 = InterpolationModeNearestNeighbor
6 = InterpolationModeHighQualityBilinear
7 = InterpolationModeHighQualityBicubic

@GDIPIE int RW 3 0 to 7 9.100196b It specifies interpolation mode for export or copy page in GDIPlus:

0 = InterpolationModeDefault
1 = InterpolationModeLowQuality
2 = InterpolationModeHighQuality
3 = InterpolationModeBilinear
4 = InterpolationModeBicubic
5 = InterpolationModeNearestNeighbor
6 = InterpolationModeHighQualityBilinear
7 = InterpolationModeHighQualityBicubic

@GDIPL bool RW 0 0,1 2021b It force using anti-aliasing for straight line in legend to workaround align problem, 0 = off, 1 = on
@GDIPP int RW 4 0 to 4 8.50013 It specifies the pixel offset mode in GDIPlus:

0 = PixelOffsetModeDefault
1 = PixelOffsetModeHighSpeed
2 = PixelOffsetModeHighQuality
3 = PixelOffsetModeNone (No pixel offset)
4 = PixelOffsetModeHalf (Offset by -0.5, -0.5 for fast anti-alias perf)

@GDIPPD double RW 100 2017 It specifies GDIPlus pattern DPI when drawing EMF pattern to support Anti-Aliasing. Negative value means to use DPI from file.
@GDIPPM bool RW 2 0, 1, 2 2017 SR1 It controls GDIPlus pattern drawing mode to support Anti-Aliasing for EMF pattern

0 = TextureBrush
1 = iterating one by one
2 = use the new solution to fix the gap issue between periodic boundaries when export Geology pattern as PDF/EPS.

@GDIPPR bool RW 1 0, 1 2017 It controls whether to draw GDIPlus pattern with tight rectangle around the filled area.

0 = do not draw with tight rectangle
1 = draw with tight rectangle

@GDIPS int RW 3 0 to 4 8.50013 It specifies the smoothing mode in GDIPlus:

0 = SmoothingModeDefault
1 = SmoothingModeHighSpeed
2 = SmoothingModeHighQuality
3 = SmoothingModeNone
4 = SmoothingModeAntiAlias

@GDIPW int RW 3 0 to 4 8.50013 It specifies the wrap mode for brushes in gradient fill in GDIPlus:

0 = WrapModeTile
1 = WrapModeTileFlipX
2 = WrapModeTileFlipY
3 = WrapModeTileFlipXY
4 = WrapModeClamp

@GDPI int RW 300 2022 copy page default DPI


Persistent

@GEB int RW 16777215 2021b PNG background color for copy graph. Default value 16777215=color(255,255,255,1).


Persistent

@GED int RW 0 0,1 2025 @GED = 1 to recover @GEFD's value after Export Graph Dialog close so it will not change Dark Mode setting in Preference Dialog
@GEFD bool RW 1 0,1 2024 Graph-Export-Follow-Dark, It is the checkbox "Dark Mode: Copy as displayed, excluding background auto color" in the Page tab of Preferences > Options dialog


Persistent

@GEIH int RW 0 2022 last export image height
@GEIW int RW 0 2022 last export image width
@GEP int RW 2000 2022 when export graph to PNG, if width less then @GEP, then an intermediate larger bitmap will be used to render the EMF and then convert to the final proper size


Persistent

@GET int RW 0 0,1,2 2024b Export graph option for PNG and TIFF:

0 = use leadTool, no EMF involved,
1 = export PNG and TIFF with transparent background, use EMF to convert,
2 = improve the text object's quality when export graph as PNG with transparency.
Persistent

@GETND bool RW 0 0,1 2018b It controls whether to hide the label text "Description" on GetN dialog.

0 = hide the "Description" label text on GetN dialog
1 = Go back to the old look - show the "Description" label text on GetN dialog.

@GFC int RW 17 Natural Number 2024 It acess the Page AutoForeground Color control on Page tab of Preferences: Options dialog
@GJ int RW 35 Positive integer 6.0283 It specifies the tolerance in 10^-9 of matrix element so that this element will not be regarded as 0 if it is no less than @GJ*10^-9 and Gauss Jordan pivoting continues.
@GLD int RW 25 0 to 100 2024 Graph Luminosity Dark, it is the threshold for table to show in white when turn on graph dark mode

Persistent

@GLL int RW 100 Positive integer 2018b It specifies the maximum number of graph layers to do merging. Any graph containing number of layers larger than @GLL will not be shown in the Merge Graph window and thus cannot be merged.
@GLOB int RW 0 0,1 8.0725 Force declared variables in *.OGS file to be available in the session:

0 = Turn off Session scope for LabTalk.
1 = Force Session scope for LabTalk.
Note: @GLOB=1 will allow you to use variables or functions defined in an *.OGS file, at the command line in the Script Window.

@GLT bool RW 1 0,1 9.1 SR1 When the dataset identifier of gadget set to "Plot Legend", the variable controls how to get legend text

0 = the old behavior, just copy argument %(1) of legend, no matter you changed the legend content to other text or not.
1 = get the current legend text.

@GMC bool RW 0 0,1 2018b Edit: Copy Page normally copies an Origin graph object to the Clipboard. When Master Items are present on a graph, Edit: Copy Page places an image object (EMF) on the Clipboard, not the usual graph object.

0 = If the graph contains Master Items, place an image object on the Clipboard.
1 = Place an Origin graph object on the Clipboard but ignore Master Items.

Persistent

@GMH int RW -1 -1,0,1 2017 Determines whether to follow wks.ignorehidden; or in the GUI, the Ignore Hidden Rows... option in Worksheet Properties:

-1 = (default) Follow wks.ignorehidden. Note that each sheet in the book can have a different setting.
0 = Do not skip hidden rows in plotting and analysis. Overrides individual sheet settings.
1 = Skip hidden rows in plotting and analysis. Overrides individual sheet settings.

Note: Introduced in 9.1 w/ default = 0. New default value = -1 added in 2017 .

@GMHC bool RW 0 0,1 2017 If the graph legend contains categorical data, this variable controls whether to rearrange the increment list when apply a filter to the categorical data

0 = rearrange the increment list for the filtered data, the old behavior
1 = do not rearrange the increment list, which means the symbol properties (color, pattern, .etc) do not change after applying filter

@GN int RW 1 0,1 8.1086 It controls whether to allow LabTalk to use Origin C GetN:

0 = Use the original LabTalk GetN dialog box
1 = Use the Origin C GetN dialog

@GNF int RW 100 Natural number 2020b It controls the font size for the control labels when you are using the generic dyna control(GetNBox, DynaControl or DynaBox) to build a dialog.

It accepts the values in percent of internal value, the default value is 100.

@GNH int RW 100 Natural number 2020b It controls the gap between horizontal radio controls when you are using the generic dyna control(GetNBox, DynaControl or DynaBox) to build a dialog.

It accepts the values in percent of internal value, the default value is 100.

@GNL int RW 100 Natural number 2020b It controls vertical gap between each control when you are using the generic dyna control(GetNBox, DynaControl or DynaBox) to build a dialog.

It accepts the values in percent of internal value, the default value is 100.

@GORE bool RW 0 0,1 2023b fix redraw event for normal graph object, set @GORE=1 to rollback
@GOS bool RW 0 0,1 8.1086 It controls whether to disable script execution for graphic object once Moved is chosen as Run After in programming control dialog box:

0 = Enable graphic object script execution upon movement by script rather than dragging by mouse
1 = Prevent graphic object script execution upon movement by script rather than dragging by mouse

@GPC int RW 1 0,1 2022 set to 0 to turn off REMOVE_SOME_GRAPH_CONTEXTMENU
@GPNCM bool RW 1 0,1 2022b Grid Paint No Cancel mode


Persistent

@GRL int RW 5 0 to 15 2024b it controls whether rescale support inion scales for common display:

0 = disable
1 = link layer
2 = common display
4 = left-right link
8 = x-y link

Note: @GRL is a combination of these controlling bits which produces cumulative effects

@GRLS bool RW 1 0,1 2023 It controls whether graph layer is selectable

0 = unselectable
1 = selectable

@GSB bool RW 0 0,1 2023 It is used to temporary close errer messge when change Banded Rows Color
@GSM int RW 1 0,1 2020 Controls click selection behavior on data plots. Prior to Origin 2020, when working with independent (ungrouped) plots, you clicked once on a plot to select the entire plot. Pausing and clicking a second time selected an individual data point. When working with dependent plots (grouped), you clicked once on a plot to select the group. Pausing and clicking a second time selected a single plot. Pausing and clicking a third time selected an individual point. In Origin 2020, click once to select a plot, CTRL + click to select a point and SHIFT + click to select a plot group.

0 = Old behavior
1 = New behavior

@GSS bool RW 0 0,1 2022 It controls whether Graph Size Calculation include data in plots or not:

0 = include
1 = not include

@GSW bool RW 0 0,1 2024 By default @GSW = 0 make graph embedded sheet follow workbook dark mode even for holder sheet, set @GSW=1 to follow graph window type
@GT int RW 230 103 to 249 6.0251 It specifies default plot type.


Note: 200 = Line
201 = Scatter
202 = Line+Symbol
230 = Unknown
Refer to Plot Type IDs for more details.

@GTS bool RW 1 0,1 8.510295 It controls whether to enable graph text font size correction for Copy Page settings under Advanced for Keep Size option:

0 = Disable graph text font size correction
1 = Enable graph text font size correction

@GU bool RW 1 0,1 2021b Graph page support undo:

0 = Disable 1 = Enable

@GUS bool RW 0 0,1 8.0951 It controls whether to use short name or long name for page in GUI:

0 = Page use short name in GUI
1 = Page use long name in GUI

@GVC bool RW 2 0,1,2 2024 Graph-Virtual-Color @GVC will be used for graph/layout to control:

0 = keep it as white
1 = using virtual color
2 = follow GUI dark mode setting

H,I,J,K

Variable Type Access Default Supported Version Description
@HAI bool RW 1 Natural number 2017 It specifies whether to hide AI Image type from expGraph X-Function.


0 = Show AI image type, same as previous verisons
1 = Hide AI image type

@HBAS int RW 10 Natural number 2025 It controls Histogram Auto Binning improvement for arithmetic sequences:

<=1 = disable this improvement
>=2 = @HBAS set the number of data to check if they are arithmetic sequences. If they are arithmetic sequences, assume the difference between consecutive terms is delta, bin size=delta, bin begin should be min-delta/2, bin end is max+delta/2.

@HBC int RW RGB(152, 251, 152) 2021b start button hint background color


Persistent

@HBF double RW 4 Positive integer 6.1052 It specifies the factor to make automatic bin size estimate before the plotting of histogram.


Note: the expression to calculate bin size is as: bin = (max - min) / (1 + factor * log10(npts)). If @HBS and @HBN are not specified, @HBF will be used to make automatic bin size estimate.

@HBM int RW 0 Natural number 7.221 It is used to force the number of bins to @HBM in regardless of what bin size might become before the plotting of histogram.


Note: @HBM is for number of bins that is not rounded so that it is the exact number of bins (could be non-integers). @HBM=0 means this global variable is not used. The priority of @HBM is behind @HBN.

@HBN int RW 0 Natural number 7.221 It is used to specify the number of bins and allow rounding before the plotting of histogram.


Note: @HBN=0 means this global variable is not used. The priority of @HBN is behind @HBS.

@HBS double RW -1 -1, Natural number 7.221 It is used to specify the bin size before the plotting of histogram.


Note: @HBS=-1 means this global variable is not being used and default auto bin size will be used.

@HL bool RW 0 0,1 6.1052 It controls whether or not to call CListCtrl::GetHeaderCtrl() from COKOldBaseListCtrl::GetHeaderCtrl() to get the header control of list control:

0 = Call CListCtrl::GetHeaderCtrl
1 = Do not call CListCtrl::GetHeaderCtrl()

@HLM int RW 5 0-100 2019 It specifies the Heatmap label margin in the percentage of layer size when font size is set to <Auto>.
@HPT bool RW 0 0,1 2024b Show/Hide project path in Origin title bar. Set @HPT = 1 to hide the path in title bar. Note that you will need to set the value before opening a project.
@HTDD int RW 0 0, Positive integer 2018 It controls whether to allow dragging and dropping file to HTML dialog to open it.

0 = prevent file from dropping onto HTML dialog
non-zero value = enable dropping file onto HTML dialog to open it

@HTM int RW 0 0,1 2022b It controls whether to hide the HTML Report menu from right-click Sheet tab:

0 = no HTML Report menu
1 = bring back HTML Report menu

@HTMLV double RW 5 Positive 2022b HTML version, if @HTMLV >= 5.0 HTML file is exported using v5.0 format(otherwise html4)
@HTTPMR int RW 0 0,1 2022 set to 1 to set http manual redirect
@HVW bool RW 0 0, 1 2020 Determines where videos listed on the Learning Resources tab of Learning Center are played:

0 = E videos will always be installed, even if user doesn't install Help files. Localized videos (C, G, J) will only be installed with Help files. Learning Center should preferentially play locally-installed file if it exists. For C, G, J check for localized file, then for locally-installed E file. If localized file or locally-installed E file not found, go to video page on originlab.com.
1 = Force Learning Center to always open video page on originlab.com.

Persistent

@HWP int RW 0 0,1,2,3,4,5 2018b It is used to decide Smart Hint window position.

0 = default value of bottom-left corner
1 = center of Origin workspace
2 = top-left corner
3 = top-right corner
4 = bottom-left corner
5 = bottom-right corner

Persistent

@IA int RW 2 1,2 2018 The import ASCII tool is refactored in Origin2018. This system variable controls whether the old or the new import tool is used.

@IA = 1: always use the old impASC tool when you run it by

  • File Menu
  • Tool Bar
  • LabTalk Script (run -xf impasc)
  • Reimport (from old .ogw workbook created in Origin2017 or earlier version)
  • Drag and Drop (with old .oif filter created in Origin2017 or earlier version)


@IA = 2: always use the new impASC tool when you run it by

  • File Menu
  • Tool Bar
  • LabTalk Script (run -xf impasc)
  • Reimport (from old .ogw workbook created in Origin2017 or earlier version)
  • Drag and Drop (with old .oif filter created in Origin2017 or earlier version)


@IA = 1 or 2

  • Reimport (from new .ogw workbook created in Origin2018 or later version): new impASC
  • Drag and Drop (with new .oif filter created in Origin2018 or later version): new impASC
  • Batch Process (with new .ogw/.oif created in Origin2018 or later version): new impASC
  • Batch Process (with old .oif filter created in Origin2017 or earlier version): old impASC
  • Import Wizard: old impASC
@IAD bool RW 0 0,1 2020 Set @IAD = 1 to allow the old way of importing date data. It is useful when the import file has more than one custom format and file size is small. Note that it has no effect if the file is large and multi-thread is used, so this system variable will be usful only for smaller files.
@IAMT int RW <auto> 2020 It determines the number of threads to use when import. It will be auto detected by logical processors. Set @IAMT to 0 or 1 to disable multi-threading.
@IAS int RW 10 Positive integer 2020 It determines the least file size (in Megabytes) to enable multi-threading when import.
@IBAO bool RW 0 0,1 2022 It controls the Graph's Import Button whether works for the active page only:

0 = all
1 = active only
Persistent

@IBP bool RW 1 0,1 2019 From Origin 2019 we improved the GUI of By Point tab of Color Chooser. Set 0 to disable this improvement and use the old By Point GUI.
@ICT int RW 250 Positive integer 6.0294 It specifies the contour bitmap caching threshold upon creation.
@ICTBS bool RW 1 0,1 2023 @ICTBS = 1 will draw icon on title bar with a better size. Set @ICTBS = 0 will restore the old behavior
@ID int RW 0 0,1 6.0192 It controls whether to disable idle tasks upon using data reader:

0 = Do not disable idle tasks upon using data reader
1 = Disable idle tasks upon using data reader

@IDA bool RW 1 0,1 2021b whether use absolute index:

0 = no
1 = yes

@IDD bool RW 0 0,1 2025 Set @IDD to 1 to use <last used> Excel Sheet in Excel connector for both drag-n-drop import and LabTalk/Python import codes.

By default (@IDD = 0), only when import Excel file with drag-n-drop, <last used> of Excel Sheet in Excel connector will be used. Other import methods (open Excel connector from menu, or use LabTalk/Python codes) will use first sheet in Excel file.

@IDT bool RW 0 0,1 2025 Set @IDT = 1 to import date and time data as text. The default value 0 means auto-setting column type as Date/Time when detecting the import data as date/time format.
@IE int RW 0 0,1 6.0295 It controls whether to have extra points for operation inside baseline upon subtracting baseline:

0 = Do not have extra points
1 = Have extra points

@IEE int RW -1 -1,0,1 2021b It controls which tool to use when you click Insert Equation button:

-1 = ask
0 = insert equation tool
1 = LaTeX app

Persistent

@IEUL bool RW 1 0,1 2023b Image Export Update Link, set @IEUL = 0 to completely prevent link update on export.
@IFE int RW 1 0,1 2018 SR0 From Origin 2018, we support excluding file extension when appending file name to Comment. Set @IFE = 0 to revert back to old way.
@IFS int RW 0 0,1,2,4,8,-1 2020b Controls whether use System filter when you drag-and-drop files to import data:

0 = (default) Use the user-defined filter if it exists, otherwise use the System filter. This is default behavior.
1 = Exclude *.dat files for the default behavior (i.e. if there is a user-defined filter for *.dat files, show the relative System filter in the Select Filter dialog to let user select, otherwise use the System filter).
2 = Exclude *.xls(x) files for the default behavior (i.e. if there is a user-defined filter for *.xls(x) files, show the relative System filter in the Select Filter dialog to let user select, otherwise, the System filter will be used).
4 = Exclude *.txt files for the default behavior (i.e. if there is a user-defined filter for *.txt files, show the relative system filter in the Select Filter dialog to let user select. If no any user-defined filter, the system filter will be used.
8 = Exclude *.csv files for the default behavior (i.e. if there is a user-defined filter for *.txt files, show the relative System filter in the Select Filter dialog to let user select, otherwise the System filter will be used.
-1 = Exclude all file types for the default behavior (i.e. always show relative System filter in the Select Filter dialog to let user select, otherwise the System filter will be used. This is Origin's behavior before version 2020b.


Persistent

@IGC bool RW 0 0,1 2022 It controls whether it can show Insert Graph Dialog or insert graph menu:

0 = no
1 = yes
Persistent

@IHCB int RW 0 0,1,2 2015 It is used to control how to import filename to workbook comments for import ASCII and import Wizard when Append Filename to Workbook Comment is enabled:

0 = Append file name to workbook comments
1 = Prepend file name to workbook comments
2 = Replace workbook comments with file name

@IHCC int RW 0 0,1,2 2015 It is used to control how to import filename to column comments for import ASCII and import Wizard when Append Filename to Column Comment is enabled:

0 = Append file name to column comments
1 = Prepend file name to column comments
2 = Replace column comments with file name

@IHCS int RW 0 0,1,2 2015 It is used to control how to import filename to worksheet comments for import ASCII and import Wizard when Append Filename to Worksheet Comment is enabled:

0 = Append file name to worksheet comments
1 = Prepend file name to worksheet comments
2 = Replace worksheet comments with file name

@IHR bool RW 1 0,1 9.0 It is used to control Copy/Insert/Delete/Clear operations to ignore or unhide hidden rows/columns for range manipulation:

0 = Unhide rows/columns
1 = Ignore hidden rows/columns

@II bool RW 1 0,1 2017 SR1 It controls whether to enable interpolation for bitmap drawing. Notice: use @GDIPIE to further toggle interpolation quality.

1 = enable interpolation
0 = disable this feature

@IICM int RW 1 0,1 2022 whether insert image to cell use media :

0 = use bmp
1 = use media

@ILC int RW 3 0 to 3 6.0293 It is used to specify layer clipping initialization settings by controlling bits:

1 = Clip axes
2 = Clip axis break
Note: @ILC=3 is a combination of @ILC=1 and @ILC=2, which means it will clip both axes and axis break.

@ILD int RW 0 0,4,8,12 6.0293 It is used to specify layer drawing sequence in layer initialization settings by controlling bits:

4 = FRAME_GRID_AFTER
8 = FRAME_AXIS_AFTER
Note:@ILD is a combination of the controlling bits, @ILD=0 means both bits do not work. This system variable is no longer used anymore, the drawing sequence now is replaced by the corresponding check box Grid on Top of Data and Data on Top of Axes respectively in Data Drawing Options panel under Display in Plot Details dialog box.

@ILE bool RW 0 0,1 2022b it controls whether to Ignore Linking Error when load dll, @ILE=1 means Ignore Linking Error
@ILM int RW 0 0,1 2022b It is used to specify how to show the plot labels(such as axis label) when the parameter substituted isn't found.

0 = Show the label substitution as blank(default value)
1 = Show the label substitution as ###

@ILS bool RW 1 0,1 2015 It controls whether to check "Link Axis Length to Scale with X:Y Ratio" in the Plot Details dialog (layer level Size/Speed tab) when creating a Image plot.

0 = uncheck the checkbox by default
1 = check the checkbox by default

@IM int R By Origin version 0,1,2 8.0725 It indicates the version of Origin:

0 = Regular version (Origin)
1 = Image Analysis Module version
2 = Professional version (OriginPro)

@IMG int RW -1 -1, 1 to 29 8.0487 It is used for setting the image format used for saving images into an OPJ file:

-1 = Origin will check image bits per pixel and choose best format to use
1 = FILE_PCX
2 = FILE_GIF
3 = FILE_TIF
4 = FILE_TGA
5 = FILE_CMP
6 = FILE_BMP
10 = FILE_JPEG
15 = FILE_WMF
16 = FILE_EPS
Note: The allowed values for @IMG are any values defined by LEAD Tools for their supported image formats.

@IMGA int RW 300 Positive 2022 the image/graph width after "w=" in Origin Rich Text for pasting link into Note sheet


Persistent

@IMGB int RW 0 0,1 2022 Prior to Origin 2021b, images inserted to the graph window (not as layer background) were inserted as type = BMP, with interpolation enabled by default. In Origin 2021b, the same image was inserted as type = OIMAGE, which did not support interpolation and which, in some cases, resulted in a poorer quality image. Use @IMGB = 1 to force image type = BMP. Does not apply to images inserted as layer background.

0 = insert as OIMAGE
1 = insert as BMP


Persistent

@IMGCP bool RW 1 0,1 2022 When copy Image window by Ctrl+C and paste to other places, whether to keep the pasted image’s data type same as source image’s.

0 = Copy image window will lost data type (Uint8). Old behavior.
1 = Copy image window should keep the data type same as source.

@IMGD int RW 1 0,1 2022 Determines whether an image file dropped onto an empty portion of the Origin workspace, opens in the Image window or a matrix window:

0 = open in matrix window
1 = open in Image window
Note: Files dropped onto a matrix window will import to the matrix window, regardless of the value of @IMGD.

@IMGDI int RW 420 0,1 to 1000 2022 Controls the degree of image darkening outside of the Image Window ROI. Setting @IMGDI = 1000 will cause outside area to display as black.

0 = disable darkening

@IMGE int RW 0 0,1 2022 how to open Image Window from image cell:

0 = double-click
1 = Ctrl+double-click

@IMGEAA bool RW 1 0,1 2024b to control whether do image smoothing or not when export.
@IMGH int RW 0 0,1 2023b It controls Inserted Image dimension whether keep height or not when resize to keep aspect ratio, set @IMGH = 1 to keep height


Persistent

@IMGJ int RW 95 0 to 100 2022 JPEG quality (the higher is the better)
@IMGL int RW 0 0,1 set to 1 to get logical rect
@IMGQ int RW -1 -1, 2 to 255 8.0588 It is used to specify the quality factor for image format defined by @IMG used for saving images into an OPJ file:

-1 = PQ1 (Perfect Quality 1) for FILE_CMP format
2 = Highest quality
255 = Highest compression
Note: FILE_JPEG (@IMG=10) can also use quality factor 0 which is lossless compression. FILE_CMP (@IMG=5) can also use quality setting -9 to -1, with -1 being PQ1 (Perfect Quality 1). The quality settings are defined by LEAD Tools.

@IMGR double RW 0.5 Positive double 2021b It controls the arbitrary rotate degree for "Rotate Arbitrary Deg Clockwise" mini toolbar button in Image Window
@IMGS int RW 0 0,1 2022 It controls whether to force images in graph as single frame, except for multi-files
@IMGT int RW 200 Positive 2022 width of the inserted graph/image for "w=" in Origin Rich Text


Persistent

@IML int RW 800 0,positive integer 2022b The threshold file size (in kb) larger than which the inserted image (to a graph) will be auto-set as "Link File". Set @IML=1 to always insert image as linked.


Persistent

@IMPS bool RW 1 0,1 2021b When importing with the CSV or Excel Connectors, disables all sparklines and removes Other Options button from the Connector dialogs.


0 = Disable sparklines on import.
1 = (default) Allow user to add sparklines on import with CSV or Excel Connectors, via Other Options dialog (available from both Connector dialogs).

@IMPT int RW 2 0,1,2 8.0987 It specifies the long string supported mode for mixed type columns (Text numeric columns) in CSV import:

0 = Import long string as note
1 = Import long string as truncated text
2 = Import long string as long element without truncation

@INBS int RW 30 Positive integer 2021 It controls the total buffer size for getting names from INI (Origin C functions INIFile::GetSectionNames and INIFile::GetKeyNames). Default is 30, means buffer size is 30*1024 by default.
@INCBG double RW 15 Positive double 2021 Increment step of Larger/Smaller Break Gap button on mini toolbar.
@INCBL double RW 1 Positive double 2021 Increment step of Larger/Smaller Break Length button on mini toolbar.
@INCBMH double RW 1 Natural number 2022b Bar Map Height
@INCBMW double RW 0.2 Natural number 2022b Bar Map Width
@INCDHS double RW 5 Positive double 2021 Increment step of Larger/Smaller Hole Size button on mini toolbar of Doughnut graph.
@INCFS double RW 1 Positive double 2021 Increment step of Increase/Decrease Font Size button on mini toolbar.
@INCGOR double RW 45 Positive double 2021 Increment angle of Graph Object Rotate Clockwise/Conter-Clockwise button on mini toolbar.
@INCLT double RW 1 Positive double 2021 Increment step of Increase/Decrease Line Thickness button on mini toolbar.
@INCPR double RW 10 Positive double 2021 Increment angle of Pie Rotate Clockwise/Conter-Clockwise button on mini toolbar.
@INCRS double RW 20 2022 Ridgeline Scale
@INCSG double RW 5 Positive double 2021 Increment step of Larger/Smaller Gap button on mini toolbar for column, doughnut, box chart.
@INCSPS double RW 0.1 Natural number 2022b spiral plot size
@INCSS double RW 1 Positive double 2021 Increment step of Increase/Decrease Symbol Size button on mini toolbar.
@INCTL double RW 1 Positive double 2021 Increment steps of Longer/Shorter Ticks button on mini toolbar of axis tiick length.
@INCTLR double RW 15 Positive double 2021 Increment angle of Rotate Clockwise/Conter-Clockwise button on mini toolbar of axis tiick labels.
@INCTOR double RW 90 Positive double 2021 Increment angle of Text Object Rotate Clockwise/Conter-Clockwise button on mini toolbar.
@INF bool RW 0 0,1 8.600097 It is used to control keyword “INF” labtalk accessibility:

0 = Do not allow LabTalk to access keyword “INF”
1 = Allow LabTalk to access keyword “INF”

@INS bool RW 1 0,1 2022b Simple Version Symbol Map cannot switch font when @INS=1
@IPB int RW 150000 Positive integer 2019b The threshold number of rows in an imported ASCII file that will trigger display of a progress bar.


Persistent

@IPC bool RW 1 0, 1 2021b Support import of Unicode fullwidth forms.

0 = disable support
1 = enable support

@IPDB int RW 1 0,1,2 2020 Determines data protection mode when running Database import:

0 = no protection
1 = protected, except reorder
2 = protected

Notes:

  • Changes to the default value must be made before data import.
  • This system variable is NOT Persistent. See this FAQ on permanently changing the value of a system variable.
@IPDC int RW 2 0,1,2 2020 Determines data protection mode when importing via Data Connector:

0 = no protection
1 = protected, except reorder
2 = protected

Notes:

@IPKF int RW 0 0,1,-1 2024 Control which column Format type(s) will be kept after importing CSV file via CSV Connector.

0 = keep Date/Time Format type,
1 = keep Text/Date/Time Format type,
-1 = keep any column Format type.

@IPL bool RW 0 0,1 9.1 It controls whether to ignore set Printer option for adding layer from template:

0 = Ignore set Printer option for adding layer
1 = Default behavior for set Printer options for adding layer

@IPR int RW 20 0, Positive integer 2019b CSV Data Connector will set column format to Numeric to speed up importing when the source file has more that @IPR * 1000 of lines,

0 = do not set column to Numeric in any case.

@IRE int RW 1 0,1 2019 All sheets in the new Excel file replace existing data or not when using "Import Replace Existing" mode to import multi-sheet Excel file.

0 = Old behavior. Only the first sheet replace the existing data sheet. The rest will be imported into new sheets.
1 = All sheets in the new file will replace existing data in target sheets only by one.

@IS bool RW 0 0,1 7.0486 It controls whether to enable intellisense:

0 = Disable intellisense
1 = Enable intellisense

@ISC int RW 40 -1,0,Positive integer 8.108988 It specifies the number of columns for AutoSize column width when import file.


-1 = Enable AutoSize column width for all columns
 0 = Disable Autosize for all columns

See also, wks.isc

@ISE int RW 0 0,1,2,3 2019b When this system variable was introduced there was only a single Import Mode for all selected files. Support was later added so that during multi-file import, you could treat the first file and all subsequent files differently (e.g. 1st File Import Mode could be Replace Existing Data, Multi-File (except 1st) Import Mode could be Start New Books). For the purposes of this system variable, "import mode" refers to either 1st File or Multi-File settings. Option =3 added for version 2019b.

0 = Use active book/sheet for imported data when no Template Name is given. When named template is specified, the first sheet in file will always use specified sheet in template (does not apply to GUI) and if not specified, use the 1st sheet in template; subsequent sheets will use the empty sheets in template for importing, if existing in template.
1 = Skip active empty book/sheet for import when no Template Name is given, instead creating a new sheet/book for import. When a named template is used, all sheets in file will use specified sheets in template (does not apply to GUI) and if not specified, use the 1st sheet in template for importing rather than the empty sheets if existing in template.
2 = When Template Name is given, all sheets in file will use empty sheets if existing in template for importing rather than specified sheet in template and if not specified, it is the 1st sheet in template.
3 = Find next existing sheet (exclude report sheets/single-cell sheets, etc.) to import into (not strictly empty) or if no sheet found, create a new one.

@ISST bool RW 1 0,1 2022b it will use style tool to insert symbol when @ISST=1
@IWC bool RW 0 0,1 2023 @IWC = 0 will Insert Worksheet to Layout and show one column if sheet is empty


Persistent

@IWP int RW 800 Positive integer 2021b It determines the threshold width/height of an image less than which the image will be opened in Actual Size mode.


Persistent

@IXY bool RW 0 0,1 2022 It controls whether to use image or layer's XY scale when transfer image data from graph object:

0 = get image's XY scale
1 = get layer's XY scale
Persistent

@J bool RW 0 0,1 6.0197 It indicates whether current window is in moveable selection:

0 = There is no movable selection
1 = There is movable selection
Note: movable selection refers to situation where applied data reading tool’s markers are movable, such as when Data Selector is on then @J=1.

@JM bool RW 0 0,2 7.5822 It controls how to display missing values:

0 = Display missing value as double-dash (“--“)
2 = Display missing value as blank. Note: You must refresh the window when changing @JM.

@KA bool RW 0 0,1 6.0445 It indicates the state of Alt key:

0 = Button up
1 = Button down

@KB double R 22.53125 2021b size in kbytes in Project Explorer
@KBS double R 22.54785 2021b saving size, that excluded data that will not be saved into opju
@KBSO bool RW 1 0,1 2023b It controls whether to Show Saving Size in PE



Persistent

@KC bool RW 0 0,1 6.0445 It indicates the state of Ctrl key:

0 = Button up
1 = Button down

@KCA bool RW 1 0,1 2016 It controls the behavior when using Ctrl + Shift + Arrow to select worksheet cells:


0 = Ctrl + Shift + Arrow will select cells till column or/and row end
1 = Ctrl + Shift + Arrow will select cells before first empty/missing values, hold Ctrl+Shift key again to hit arrow will select cells till next non-empty or non-missing values.

@KDM int RW 20000 Positive integer 2020 Toggle between different methods when calculates Kernel Density plot.

When the number of plotting data points is more than @KDM, both binned and interpolation will be used.
When the number of plotting data points is equal to or smaller than @KDM, no binned and no interpolation will be used.

@KDM1D int RW 5000 2022 When number of point of distribution curve is more than @KDM1D, we will use new algorithm to speed up
@KDT int RW 30000 Positive integer 2020 The threshold of number of points to toggle multi-threads for Kernel Density calculation. If the number of plotting data points is more than @KDT, multi-threads will be called.
@KEL bool RW 0 0,1 2016 SR1 Controls copying of empty column label rows when choosing Copy (including label rows) from a worksheet selection's shortcut menu:


0 = Empty column label rows are excluded.
1 = Empty column label rows are included when copying and pasting.

@KOC int RW 1 0,1 2022b It controls whether keep only one connect between two objects:

0 = old behavior
1 = keep only one connect

@KS bool RW 0 0,1 6.0445 It indicates the state of Shift key:

0 = Button up
1 = Button down

L

Variable Type Access Default Supported Version Description
@LATA bool RW 1 0,1 2022b LaTeX Available status
@LATEX int RW Depends on Origin State 0,1,-1,-2,etc 2016 It returns the status of initiation of LaTex environment before using LaTex app:

0 = Latex not initiated yet 1 = Latex initiate properly already -1, -2, etc = Attempted Latex initiation but ended in error

@LATEXVA int RW 0 integer 2023b Additional vertical shift to LaTeX characters when mixed with Origin Text. The shift is in percentage of the font height of the enclosing Origin Text. By default, the LaTeX characters inserted into an Origin Text object will be aligned vertically to the text. In case you see the alignment still has a slight offset or you want to shift LaTeX vertically, set this system variable:
  • positive value to shift LaTeX down a bit,
  • negative to shift it up.
@LATW int RW 3 0,1,2,3 2025 it control whether to use LaTeX directly, without putting inside \q( ):

0=off
1= new workbook
2 = always
3 = never use, hide Use LaTeX checkbox in Worksheet Properties dialog as well
Note: if use LaTeX directly, LaTeX equation will show in axis title and legend, and show in the column label row if rich text is on
Persistent

@LAW double R 1.201 2019 It returns the number of seconds since a window was last activated.
@LBC int RW RGB(0,64,255) RGB(0,0,0) to RGB(255,255,255) 2021b Layout page background color


Persistent

@LBW bool RW 0 0,1 2017 It controls whether to change the linear bar width with axis scale type,

0 = do not change the bar width with scale type.
1 = change the bar width with scale type.

@LC3P int RW -1 -1,0,1,2 2017 It is used to control the shape of line ends for 3d openGL.

-1 = the line ends follow the default settings of that object itself. For example, drop line and connection line end in a semi-circle (protuberant), and vector has a square line cap by default.
0 = the line ends show as semi-circle (protuberant)
1 = the line ends show as square (protuberant)
2 = the line ends show as square (not protuberant)

@LCA int RW 2 0,1,2 8.510295 Controls shape of the XY axis line and tick caps:

0 = Line cap round
1 = Line cap square
2 = Line cap flat

@LCAL int RW -2 -2,-1 2018 It is used to specify the axis line end:

-2 = square for Cartesian coordinates and polar radial (but not angular) axes; round for other coordinate systems.
-1 = axis line end follows the control of @LCA

@LCAS int RW 1 0,1 2018b It is used to toggle between sharp arrow and round-head arrow.

0 = round-head arrow, old behavior
1 = sharp-head arrow

@LCG int RW 2 0,1,2 2015 SR1 Controls the shape of the line cap for arrow, line and polyline objects:

0 = Line cap round
1 = Line cap square
2 = Line cap flat

@LCP int RW 0 0,1,2 2019 It controls the line end cap for plots.

0 = the end of line to be round
1 = the end of line to be square
2 = the end of line to be flat

@LCPD int RW -1 2021b It controls whether to set end of drop line to be flat:

-1 = follow main plot 2 = flat

@LCR int RW 1 0,1,2,-1 2017 SR1 Controls the shape of the line cap for rectangular objects:

0 = Line cap round
1 = Line cap square
2 = Line cap flat
-1 = Use the value of @LCG when drawing rectangular objects

@LCS bool RW 1 0,1 2025 It enable symbol auto line cap style. Set @LCS = 0 to old behavior.
@LCT int RW 1 0,1,2 2017 SR1 Controls the shape of the line cap for frame around text and legend objects:

0 = Line cap round
1 = Line cap square
2 = Line cap flat

@LDC bool RW 0 0,1 2018b It controls double-clicking on the graph legend will open the Properties dialog or enter the in-place edit mode.

0 = double clicking on legend will enter the in-place edit mode
1 = double clicking on legend will open the Properties dialog

Persistent

@LF int RW 2500 Integer>=500 6.0231 It is used to set the smallest number of pixels between a matrix’s row/column grid in permillage.


Note: @LF(default 2500)/1000 is 2.5 pixels. Set @LF to be smaller will allow more data points to be used to draw a contour plot.

@LFAU int RW 1 0,1,2 2022b Whether to auto-load "Linked File" image inserted into a Graph window. You can set the image as "linked" by right clicking inside the Image window and check Linked File menu.

0 = Disable auto-load feature. When you open a project with linked image, a down arrow button will show on the graph. You can click the button to re-load the image manually.
1 = Auto-load image in all visible Graphs/Layouts of the project.
2 = Auto-load image in the active window only.

Persistent

@LFC bool RW 1 0,1 2022b Whether to allow linked images in a Graph window to be auto-updated when the image file is changed. The image is inserted into a Graph window by menu Insert: Image from File. You can set the inserted image as "linked" by double-clicking the image to open it in a separated window, and then right clicking on the image to check Linked File menu.

1 = Image in graph is auto-updated when source image file has change.
0 = Image will not update. You will need to reimport the image manually to see the updates.

Persistent

@LFP bool RW 1 0,1 2024 @LFP = 1 to show progress bar when opening project files
@LGGOH double RW 0 2022 layout grid horizontal offset
@LGGOV double RW 0 2022 layout grid vertical offset
@LGGSH double RW 0.5 2022 layout grid horizontal spacing
@LGGSV double RW 0.5 2022 layout grid vertical spacing
@LGGSV double RW 0 0,1 2022 layout grid display unit, 0 for inch, 1 for cm
@LGS bool RW 0 0,1 2021b It controls whether graphs in Layout Page are selectable or not, i.e. the Graphs Selectable button in Layout Mini Toolbar
@LIAL bool RW 0 0,1 2023b layer invalidate activate layer, 0 for false (default), 1 for true (old behavior)
@LID bool RW 0 0,1 6.1052 It controls which dialog box to show up upon double clicking layer icon:

0 = Bring up Layer Contents dialog box
1 = Bring up Plot Setup dialog box

@LIDB int RW 1 0,1 @LIDB = 1 to make Lock icon draw better, 0 = old behavior
@LIP bool RW 1 0,1 7.5832 It controls whether to bring up Plot Setup dialog box when add a plot to a graph through Insert: Plot to Layer with data already selected:

0 = Bring up Plot Setup dialog box even if data already being selected
1 = Skip Plot Setup dialog box if data already being selected

@LKN bool RW 1 0,1 2020b It controls whether use numeric comparison when running Lookup function. Lookup() function's 1st and 2nd argument are string type.

0 = Directly uses string comparison to get the results. Old behavior in Origin 2020 and earlier versions.
1 = Internally convert the string argument to numeric and then do numeric comparison.

@LL int RW 40 0 to 100 6.1052 It is used to specify the critical overlap percentage between data range and axes range beyond which drag-and-drop operation will trigger rescale action and check the Rescale on Apply checkbox on Layer Contents dialog box.


Note: @LL is calculated by divide the overlap area with total data area in percentage. The area is the product of x, y lengths.

@LLAB int RW 1 0,1,2,3 2023b Specify how to show the legend for area plot:

@LLAB=0, show line entries only
@LLAB=1, show line entries and fill area entries both
@LLAB=2, show fill area entries only for Fill to Base; show line entries only for Fill to Next Plot
@LLAB=3, show fill area entries only for Fill to Base; show line entries and fill area entries both for Fill to Next Plot
Note: To see the effect, please reconstruct legend after changing the value.

@LLE int RW 35 Positive Integer 2021b Max number of legend entries to show in Browser Graph.



Persistent

@LLF int RW 20 0 to 100 7.0493 It is used to specify the critical outside layer area in percentage for triggering rescale action upon using NLSF to add data.


Note: it is defined similarly to @LL but only for NLSF to add data.

@LMDTT int RW 1024 2021b Large Matrix Memory Threshold
@LN bool RW 1 0,1 7.5892 It controls whether to use short name or long name for all display:

0 = Use short name for all display
1 = Use long name for all display

@LNCS bool RW 0 0,1 2022b It controls whether column long name is case sensitive in LT search:

0 = no
1 = yes
Persistent

@LNS bool RW 0 0,1 2024 New layer name restriction that two strings only with space difference will be treated as different and allow to use for two sheet names. For example, you can now rename two sheets in the same workbook as "JEONJU, KS" and "JEON JU, KS", respectively.

Set @LNS=1 to rollback to old behavior, that is, cannot define a string for worksheet name if there is only space difference with another sheet in the workbook.

@LOADA int RW 0 0,1 2024 set @LOADA = 1 enable to convert the colors in the graphs of the loaded project to Auto. This convert should happen only if page virtual color is not white and Origin is in dark mode. If we have polymorphic pointer, then we convert the colors if black to auto. For Style Holder, we first handle line color if black and consider other cases later.
@LOG int RW 0 0,1,2,3,10+ 2020, updated 2021 Turn on debug log file. Logging can be automatically disabled after multiple sessions.

0 = Logging disabled
1 = Generate separate log files for each instance, turn off logging after 3 sessions
2 = Multiple instances share the same log file
3 = Same as =1 but will not auto turn off after 3 sessions
10 = A value of 10 or larger will turn off logging after the @log number of sessions


Persistent

@LP int RW 700 Positive integer 6.0189 It defines the maximum number of points we use to draw a single line segment in polyline drawing.


Note: @LP actually defines the resolution of polyline drawing.

@LP3 bool RW 0 0,1 6.1052 It controls whether to turn on or off the use of @LP for 3D plot.

0 = Turn off @LP for 3D plot
1 = Turn on @LP for 3D plot

@LPA bool RW 0 0,1 2019b When import data by Data Connector, this system variable determines whether to protect the column labels from editing. Set @lpa = 1 to enable this feature.
@LPC int RW 1 0,1 2025 @LPC = 1 to support Panel Column Info in Legend
@LPR bool RW 1 0,1 2022 set to 0 to fix bug when zoom in line plot "Exclude broken Missing Values", set to 1 to keep old behavior
@LPS int RW 16000 Positive integer 8.50013 It specifies the maximum number of points used to draw a single line segment for drawing semi-transparent line plot.


Note: @LPS overrides the @LP when make a semitransparent line plot.

@LPSI int RW 0 -1,0,1 2024b It controls the Line Plot Speed Improvement:

-1 = automatically turn on the speed improvement under specific condition (e.g. only when there’s one color modification and it is either increment or indexing).
0 = old behavior, which is simply do nothing
1 = force turn on the speed improvement

@LRBM double RW 5 2022 layer rescale 3d bar base plane margin
@LRCL double RW 95 2021b Confidence level for Add Fitted Curves button in mini toolbar
@LSA int RW 1 0,1 2023b Legend Symbol Anchor, it control whhether to start a new section with legend symbol(\l()) in normal text object:

0 = legend symbol works like normal text.
1 = legend symbol need to start a new section for alignment( insert ^() before symbol )

@LSPC bool RW 1 0,1 2016 It is used to control how the step line connection and fill area behave in the polar coordinate.

1 = Horizontal direction should be along the circle of the same radius, vertical direction should go towards center of polar.
0 = turn off this feature

@LSSM int RW 200 Natural number 8.1088 It determines how to save long strings in separate maps:

0 = Only strings longer than 252 characters will be saved in the map
1 = @LSSP percentage of long strings will be saved in the map
No less than 2 = The total number of elements in the dataset is compared with the value of @LSSM:
If the total number of elements in the dataset is smaller than @LSSM, it will work like @LSSM=0, otherwise it will work like @LSSM=1

@LSSP int RW 60 Positive integer 8.0987 It is used to estimate temporary series element size in mixed datasets for saving in percentage.


Note: @LSSP is used in combination with @LSSM.

@LST bool RW 0 0,1 2015 It is used to control whether to apply system theme when adding new layers to existing graph:

0 = Do not apply system theme when adding new layer
1 = Always apply system theme to newly added layer
Note: only if current graph's theme is set as system theme that adding new layers to it will apply the theme of existing graph.

@LT int RW 1 0,1,2,3 2017 SR1 Controls how two semicolons in a line of script (e.g. ";;" or ";};") are treated.

0 = Treat a second semicolon as the beginning of the next script and delay execution of next script.
1 = Only allow a semicolon placed at the beginning of a script to delay execution of that script (See, Leading Semicolon for Delayed Execution).
2 = Starting with 2017 SR2, when script is protected inside { }, it will not trigger ErrorPro. However, if you want to restore the previous behavior, set @LT = 2.
3 = 1+2, i.e. Only allow a semicolon placed at the beginning of a script to delay execution of that script. And trigger ErrorPro when script is protected inside { }.

@LTG int RW 0 0,1 2023 It controls whether to open Protect Sheet Option dialog when worksheet is locked by menu or SetProp code:

0 = not open
1 = open

@LTNR int RW 3 0,1,2,3 2022 LT Named Range control:

1 = enable block
2 = explicit cast
Persistent

@LTQ bool RW 0 0,1 2015 It controls whether to execute the whole content of queue command (command following ";")

0 = do not execute the queue command
1 = execute the queue command

@LTR bool RW 0 0,1 2022b @LTR = 1 can block the LT substitution
@LTXB int RW 0 0,1,2,3 2024 It help display new LaTeX object in old Origin versions better:

0 = old behavior in build 2023b and earlier
1 = save SVG info in the LaTeX object
2 = save Metafile in the LaTeX object
Note: @LTXB is a combination of these controlling bits which produces cumulative effects

@LTXS bool RW 0 0,1 2024b @LTXS=1 to allow LATEX substitution
@LTXTO int RW 80000 Positive integer 2016

It specifies the timeout value in unit of ms when initiating MikTex packages to be used in LaTex app.

@LtxTP int RW 150 Positive integer 2016 SR2

It specifies the timeout value in unit of second when downloading MikTex packages to be used in LaTex app.

@LUQ int RW Depends on language -2 to 5 8.0891 It is used to determine the delimiter for Unit when Unit appear as string in Axis Title or Legend:

-2 = Use custom string to specify how to show the Unit Label at Axis Title or Legend
-1 = Auto. It will be translate to 1 and Unit Label will appear as (Unit) for Japanese and English version; It will be translate to 2 and Unit label will appear as [Unit] for German version
0 = Unit label will not appear at Axis Title or Legend but only the long name
1 = Unit label will appear as (Unit) (Default if Japanese and English)
2 = Unit label will appear as [Unit] (Default if German version)
3 = Unit label will appear as {Unit}
4 = Unit label will appear as /Unit
5 = Unit label will appear as -Unit

@LUQO int RW -1 -2 to 5 8.0891 It is used to determine the delimiter for Unit when Unit appear as string in Axis Title or Legend:

-2 = Use custom string to specify how to show the Unit Label at Axis Title or Legend
-1 = Auto. Unit Label will appear as (Unit) for Japanese and English version; Unit label will appear as [Unit] for German version
0 = Unit label will not appear at Axis Title or Legend but only the long name
1 = Unit label will appear as (Unit) (Default if Japanese and English)
2 = Unit label will appear as [Unit] (Default if German version)
3 = Unit label will appear as {Unit}
4 = Unit label will appear as /Unit
5 = Unit label will appear as -Unit

@LW int RW 0 Natural number 6.1052 It specifies the default line width when create data plots.


Note:@LW=0 will disable this system variable.

@LWP bool RW 0 0,1 2023 It controls whether to pin the active window, i.e exclude the window from arrange windows:

0 = not pin
1 = pin

@LWT int RW 60 Positive integer 2023b LATEX waitting time for SVG drawing


Persistent

M

Variable Type Access Default Supported Version Description
@MAP bool RW 0 0,1 2021b Matrix Apply Palette , 0 = apply to all objects, 1 = apply to active object only.


Persistent

@MAS int RW 1 0,1,2 2024 it controls where to show Red Dot:

0 = turn off completely
1 =click axis, layer frame and outside frame, show red dot
2 = click axis only
Persistent

@MAZ bool RW 0 0,1 9.1 It specifies whether treating Missing value As Zero when calculate average for column:

0= Treating Missing value as non-existing
1= Treating Missing value as zero

@MB3D bool RW 1 0,1 8.50013 It indicates whether matrix 3D bar plot has lighter/darker effect:

0 = Lighter/darker effect does not exist
1 = Lighter/darker effect exist

@MBC int RW 127 (color(127,127,0,1)) Natural number It is used to specify the color for Missing value in image view and in thumbnails for Matrix image.


@MBD bool RW 1 0,1 2024 it determines whether in Dark Mode dark message box appears
@MBL bool RW 1 0,1 8.0987 It controls whether to use "Modern" look for buttonized objects:

0 = Revert back to old drawing code of text button
1 = Buttonized objects will have "Modern" look

@MBS int RW 5 0 to 100 8.108988 It specifies the critical percentage of cells that have missing values over which it will trigger missing values to be set as mask.


Note: if @MBC is not -1 or bigger than 100, @MBS will be disabled.

@MC int RW 1 0 to 23 6.1052 It specifies the color for data masking by using global color index:

0 = Black
1 = Red
2 = Green
3 = Blue
4 = Cyan
Note: the color number of @MC+1 corresponds to Individual Color list in Origin or the index of general color palette.

@MCA int RW 100 Natural number 2020b It is used to specify the maximum of columns(variables) to decide whether auto import the columns(variables) without opening the Data Connector Browser.

The files with less columns will be imported automatically; the files with more columns will trigger the Data Connector Browser to import partially.
This system variable is for the case when variables (columns) has different length and matrix will never be considered.
Persistent

@MCAC int RW 100 Natural number 2020b It is used to specify the maximum columns if the variables are of same length to use workbook.

If the maximum been extended, just use matrixbook to restore the data; other wise, use the workbook to restore the data.
Persistent

@MCLA int RW 2 0,1,2 2020b Better legend entry alignment.

0 = no separate alignment between text and symbol.
1 = separate alignment between text and symbol, and text alignment follow GUI setting, which will insert ^(u) before text.
2 = separate alignment between text and symbol and text will align to symbol, which will insert ^(lu) before text if symbol is on left of text, insert ^(ru) before text if symbol is on right of text.

@MCMG int RW 20 Natural number 2015 It specifies the minimum column gap between legend entry columns when dragging legend entries into multiple columns for 2D graph in percentage of font height.


The column gap is measured from first legend column's entry end to the second legend column's entry start.

@MCS int RW 4 Positive integer 2021 It controls the minimum columns from Semicolon separator to skip Comma as separator. Basically if at least 4 columns detected using semicolon, then no longer check for Comma as separator. But in some case, for example, comma separated into 6 columns while semicolon only 5, Origin will consider comma as a better separator then semicolon. To disable this change, user can set this system variable to a big number like 100.
@MCWL int RW 15 Positive Integer 2021 It determines the maximum width for column Long Name to resize. Generally speaking, column width will be resized to show the whole long name text in one line when import/connect to a file. Long Name text wider than @MCWL will be wrapped.


Persistent

@MCXG int RW 1000 Natural number 2015 It specifies the maximum column gap between legend entry columns when dragging legend entries into multiple columns for 2D graph in percentage of font height.


The column gap is measured from first legend column's entry end to the second legend column's entry start.

@MD bool RW 1 0,1 6.0257 It controls whether to allow the access to masked cells by LabTalk syntax data1_b[i] (for version earlier than 8.0) or cell(i,j).

0 = Enable the access to masked cells
1 = Disable the access to masked cells
Note:mask cell(1,2)(has value) in @MD=1, type cell(1,2)=; in command window will show "--" missing value. Set @MD=0, re-execute cell(1,2)=; will display the value in masked cell.

@MDF int RW 0 0,1 2023 It controls whether to have Map Data folder when Insert Map to graph:

0 = not to add MapData folder and add Map1 book(hidden) to root instead
1 = add MapData folder

@MDI bool RW 1 0,1 2022b Disable/enable Snap Windows. Does the same thing as Window: Snap Windows (Ctrl+F12). Setting is remembered between sessions.

0 = disable
1 = enable
Persistent

@MDIF int RW 1 0,1 2023b for menu Windows: Float Windows


Persistent

@MDL bool RW 0 0,1 2023 It controls whether to add Map Data legend when insert Map to graph:

0 = no
1 = add(old behavior)

@MDS int RW -1 -1, Positive integer 6.1052 It specifies the size of a data point upon using Move Data Points to move data.

-1 = Default size 6
Note: set @MDS=20 and select Move Data Points in a scatter plot, you will see the points ready to be moved are enlarged.

@MDT int RW 1 0,1 2022b set to 1 to replace the Draw Data toolbar button with Graph Annotator app, set to 0 to keep old behavior
@MEA bool RW 0 0,1 2018 It controls whether run mask event on the active layer.

0=Mask event triger on the sheet what changed mask.
1=Mask event triger on the active layer/sheet.

@MFC bool RW 1 0,1 6.1052 It controls whether to make object cache metafiles stored in memory as bits to save on GDI handles or not:

0 = Do not store object cache metafiles in memory as bits
1 = Store object cache metafiles in memory as bits
Note: this system variable must not be changed while there are any graphs with caches in the project (the best is to close the project before changing this system variable).

@MFRLA int RW 2 0,1,2 2023b It help to fix the issue: child windows became tiny in both low and high DPI in not-maximized Origin:

2 = When saving on lower resolution monitor and opening on higher resolution monitor, it will resize so the workspace will NOT be tiny and squeezed. If saving on higher resolution monitor and opening lower resolution monitor, the size will only adjust if it does not fit (otherwise it will be left unchanged).
1 = Resize no matter saving on lower resolution monitor and opening on higher resolution monitor or vice versa. It fixes earlier versions issue of saving on lower resolution monitor and open in higher resolution monitor (see 0 below) but casues issue the other way around. If saving on higher resolution monitor (e.g. using only 1/4 of whole screen) and open on lower resolution monitor, Origin will resize to take 1/4 of whole screen. All child windows may look tiny and squeezed.
0 = Old behavior before Origin 2023b of no resizing at all and use info. in OPJU. Therefore if saving on lower resolution and opening on higher resolution, windows will be tiny and squeezed. No issue when save on higher resolution monitor and open on lower resolution monitor.

@MGC bool RW 0 0,1 2024 it controls whether turn all matrix object to gray scale when run LT command “matrix -g” and “matrix -ig”

0 = apply to active matrix object only
1 = apply to all matrix objects in the layer

@MGDI int RW 6000 0,Positive integer 2022 it control the number of total GDI objects
@MHF int RW 1000 0,Positive integer 2023 Mas History File. It controls the max number of File entries to keep in OriginProjHistory.txt in UFF. You can turn this off by setting this value (not registry) to be 8 or less.
@MHL int RW -1 2021b When use mainheader = -1 to indicate scan subheader, you can set @MHL >= 0 as main header lines and still scan sub-header
@MIC int RW 20 Positive Integer 2016

It specifies the maximum number of cells to be inserted when inserting variables using hunting button. If hunt more than 20 cells, only the first 20 (@MIC default value) cells will be inserted.

@MKX bool RW 0 0,1 2023b

Use built-in SVG-based LaTeX tool when clicking Insert Equation button. Set @MKX = 1 to go back to old behavior, which depends on @IEE.

@MLAM int RW 64 2021 It determines the number of nodes when the tree is created for browser purposes in Matlab Connector
@MM bool RW 0 0,1 6.1052 It controls whether to enable masking to have effect on data analysis:

0 = Enable masking effect in analysis
1 = Disable masking effect in analysis

@MMA int RW 12 Positive 2022b max second to find te last active window for Insert menu
@MMC int RW 5 Positive 2022b max second to find te newly created window for Insert menu
@MMS int RW 20 0, Positive integer 2018 It represents the pixels mouse moved in 0.1 second as the speed that the mouse must travel slower than to show the sub-level of the Plot popup menu. Set @MMS=0 to disable auto popup and only click to popup the sub-level menu.
@MMT int RW 8 0, Positive integer 2018b Controls the time during which the newly created window of propert type will be added automatically.

When you add graph or matrix as new sheet by Add Graph/Matrix as Sheet menu, or insert graph/layout into worksheet cell by Insert Graph context menu, or add graph/layout as a floating graph by Add Graph context menu,

  • if the current folder has only one available window of proper type, or has a window newly created during 10*@MMT second, then it will be added without asking.
  • After 10*@MMT second the hunt dialog will be open to let you choose the desired window.
@MNL int RW 80 Natural number 2019 It controls the maximum number of lines ocu_read_text_file_lines reads.
@MOE int RW 0 0,1,2,3 2021b Controls display of File: Open Excel (XLS, etc) and File: New Excel (workbook).

0 = Both are hidden
1 = Display File: Open Excel
2 = Display File: New Excel
3 = Both are displayed

@MOL int RW 0 0,1 2023b When import the consecutive yearly average for a range data from NetCDF file, it controls the matrix name whether only shows with the year

0 = Only shows with year
1 = Not only shows with year

@MP bool RW 0 0,1 6.1052 It controls whether to hide masked data points in plot:

0 = Do no hide masked data points (shown with color defined by @MC)
1 = Hide masked data points

@MPA bool RW 1 0,1 2015 It controls whether to disable collapsible context menu feature:

0 = Turn off collapsible menu feature
1 = Keep collapsible menu feature on

@MPC bool RW 0 0,1 2015 It controls whether to turn on collapsible menu editing mode for window main menu and column context menu:

0 = Turn off collapsible context menu editing mode
1 = Turn on collapsible context menu editing mode
Note: Once @MPC is set to 1, for most of the context menus you can see there are checkboxes on the left side of the items. You can uncheck some of the boxes and then set @MPC to 0 to create a shorter list for that context menu with the rest of items collapsed within the double down-arrow button on the bottom.

@MPD int RW 20 Natural number 2015 It specifies the critical time (in seconds) beyond which current collapsible context menu will auto expand to full menu without hovering over the double down-arrow icon on the collapsible menu bottom.
@MPE int RW 1 0,1,2 2021b When copying data, it controls whether to check and resize the matrix automatically when matrix layer has only one matrix object:

0 = turn off 1 = check the size and resize the matrix if necessary 2 = force matrix to whatever size from copying
Persistent

@MPEH bool RW 0 0,1 2015 It control whether the collapsed menu expands when mouse hovers over More (>>) button.

0 = do not expand menu when mousing over >> button, you need to click on >> button to expand it.
1 = menu expands when mousing over >> button.

@MPGS int RW 1 0, 1 2018b It controls whether to force the size of the pages in the multipage PDF file made of graphs to be the union of the sizes of all the graphs, when export multiple graphs to a PDF file.

0 = Force the size of the pages in the multi-page PDF file portrait 8.5" x 11".
1 = Use the graph size of the pages in the multipage PDF file.

@MPGF int RW 0 0, 1 2018b It controls whether to set all the margins to 0 (both left-right and top-bottom), when export multiple graphs to a PDF file.

0 = Keep the relative sizes of all pictures on different PDF pages
1 = Set all the margins to 0 (both left-right and top-bottom). When it is set, the relative sizes of all pictures on different PDF pages will not any more be preserved. Instead, each page will be filled as much as possible, while maintaining the aspect ratios of individual pictures.
Note: When it is on, then it probably does not make much sense to set @MPGS as well.

@MPGW int RW 8.5 Natural number 2018b It controls the width of PDF pages in the multipage PDF export of graphs in inches.

Note:This variable is used only when @MPGS=0.

@MPGH int RW 11 Natural number 2018b It controls the height of PDF pages in the multipage PDF export of graphs in inches.

Note:This variable is used only when @MPGS=0.

@MPL int RW 100 Positive integer 8.510295 It specifies the critical data label number that will trigger OpenGL render to use mechanism other than bitmap rendering to render the data labels in order to reduce bitmaps.
@MPT int RW 1 Positive integer 2015 SR1 It controls how often a menu item is used in order to be auto added to short list of collapsible menu. For instance, set @MPT = 2 means expanding double down arrow to use an collapsed menu item twice, it will be automatically added to the short list of collapsible menu.
@MPPL int RW 10000 Positive integer 2016 SR1 The maximum count of polypolyline/polpolygon per drawing.
@MPS int RW 20 0, Positive integers 2021 Threshold number of colors to determine whether the imported palette is saved as a color list (.oth) or a palette (.pal) file, when importing one of the supported palette formats. 0 = import all files as .pal.


Persistent

@MRP int RW 35 0 to 500 2025 number of recent projects that can show under File: Recent Projects.


Persistent

@MRPA int RW 1 0,1 2025 @MRPA = 1 to show accelerator key in Recent Projects list opened from File menu


Persistent

@MRPHP int RW 0 0,1 2025 @MRUPHP = 1 to hide file path in the Recent Projects list opend from File menu


Persistent

@MRSBS int RW 4000 Positive integer 2018b Maximum XY re-sample boundary size. Once exceeded, @TCSM is set to 0 to automatically roll back to pre-2018 behavior.
@MRU int RW 31 0, 1,2,4, 8, 16 2017 SR1 It controls whether to enable recently-used menu items and loading theme menu items.

0 = disable recently-used menu items for all menus
1 = enable recently-used-items for Plot menu
2 = enable recently-used-items for Analysis menu
4 = enable loading theme into menu
8 = enable user-defined templates for Plot menu
16 = enable recent file items for File: Recent... menus
Note: @MRU is a combination of controlling bits. For example, @MRU=7 means enable both recently-used menu (@MRU=1 for plot menu and @MRU=2 for analysis menu) and loading theme menu items (@MRU=4).

@MRUA int RW 9 Positive integer 8.0891 It specifies the default list size of most recently used ADO where the list corresponds to list in File:Database Import under New.
@MRUB int RW 8 Positive integer 8.0612 It specifies the default list size of most recently used books where the list corresponds to list in File:Recent Books.
@MRUE int RW 9 Positive integer 8.0612 It specifies the default list size of most recently used exports where the list corresponds to list in File:Recent Exports.
@MRUG int RW 9 Positive integer 8.0612 It specifies the default list size of most recently used graphs where the list corresponds to list in File:Recent Graphs.
@MRUI int RW 9 Positive integer 8.0612 It specifies the default list size of most recently used imports where the list corresponds to list in File:Recent Imports.
@MSC int RW 1 0,1 2021 It controls when color map will save in matrix objct:

0: only during SetPalette (new behavior)
1: OnModify (original behavior)

@MSF int RW 0 2021 It represent the maximum number for Total points increase factor during triangulation. Default is 0, means no limit. Set to, like, 5000, which will allow the project to load and draw without getting stuck.


Persistent

@MSG int RW 0 0,1,-1 2023 It controls output to Message Log when export graph.

0 = Output both graph message and file path link
1 = Only output the file path link
-1 = No output on Messages Log
Persistent

@MSL int RW 4 Positive 2022 Statistics info. on status bar will be disabled on large matrix with row*col > @MSL*1000000


Persistent

@MSM int RW 30 2021b It controls the map matching condition for Insert Map feature. Set to 0 will disable minimum size requirement. Default 30 means layer range need to be at least 0.3% of the map width and height.
@MSN int RW -1 -1, Positive integer 9.1 It is used to specify the maximum series number of box plot that can be plotted.


Note: @MSN=-1 uses default limit for series number of box plot.

@MSS int RW 10 Positive integer 2020b It controls the threshold number of matrices, larger than which will show the thumbnail area using slider in the matrix window.

This variable works for almost all data connectors except Origin Connector.
Persistent

@MTC int RW 5 Natural number 2020 Speed of mini toolbar fade-out as user mouses away from toolbar.


Persistent

@MTD int RW 119 Natural number 2020 Distance from hot spot (click point on graph) to mini toolbar popup.


Persistent

@MTG int RW 30 Natural number 8.6048 It specifies the Time Stamp gap in seconds when dumping message to Message Log window.


Note: if Origin dump two subsequent messages to Message Log window within the time @MTG, it will only Time Stamp the message once. Otherwise, each message has its own Time Stamp.

MTH int RW 0 2022 it controls whether to turn off mini toolbar in object manager:

@mth=0 (default) turn on all mini toolbar in window and object manager
@mth=1 turn off all mini toolbar in window
@mth=2 turn off mini toolbar in Graph window ONLY
@mth=4 turn off mini toolbar in Book window ONLY
@mth=16 turn off all mini toolbar in object manager
@mth=32 turn off mini toolbar in Graph window in object manager
@mth=64 turn off mini toolbar in Book window in object manager
Persistent

@MTI bool RW 0 0,1 2021 mask mode]:

0 = by rectangular region
1 = by row index number


Persistent

@MTNM bool RW 1 0,1 2023b Control the slider of Flip Through dialog of browser plot.

0 = One drag moves the slider one step
1 = Drag can continously move the slider by steps.

@MTPF int RW 500000 2022 Multithreading has been implemented for line profile on Image Stack. For multithreading to be used the total number of points to be averaged over for all the points on the profile line, obtained as the product of the number of points to average over for a single point, multiplied by the total number of points on the profile line and multiplied by the number of frames, must be greater than or equal to the system variable @MTPF
@MTS int RW 100 Positive integer 2020b It controls when uses the mouse position to show the mini toolbar.

The system variable is used to set the threshold screen distance(in pixels) between the mouse position and the top-right corner for selection that has a bounding box(like layer, text, or worksheet selection): Within this distance, the mini toolbar will always be shown at the top-right corner of the selection; beyond this distance, the mini toolbar will show beside the mouse position.
Persistent

@MV bool RW 1 0,1 6.0257 It controls whether to enable masking for vector arithmetic:

0 = Disable masking for vector arithmetic
1 = Enable masking for vector arithmetic
Note: @MV=1 (default), vector arithmetic such as assign value for a vector col(B)=col(A), masked data in col(A) will show as “—“ (missing value) where @MV=0 will disable vector masking.

@MVD bool RW 0 0,1 2021 It controls the column with missing setup(wks.col.missing):

0 = enable
1 = disable so those column values can be edited

@MVE bool RW 0 0,1 2015 SR1 It controls whether to automatically expand all variables upon importing Matlab files:

0 = Disable automatic expanding of imported Matlab variables
1 = Set it before call impMatlab.oxf or after the import, click on a cell link to recursively expand all variables

@MXY int RW 30 2022 variation in determine isometric. If data has 20% variation, so can set @MXY=210 to let it pass.


Persistent

@MZ bool RW 1 0,1 2017 SR1 Disable the Reminder Message that shows when you select the Scale In tool (dotool 1) and click on a graph without dragging out a rectangle.

0 = Disable the message
1 = Show the Reminder Message

N

Variable Type Access Default Supported Version Description
@N int RW 0 0,1 6.1052 It controls whether to output system messages to Script Window:

0 = Do not output system messages to Script Window
1 = Output system messages to Script Window
Note: for instance @N=1, when you export a graph as EMF file, it will dump EMF generation information to Script Window.

N42P int RW 3 0,1,2,3 2022 It controls how to parse LiveTimeDuration values when Import Gross count data:

1 = remove the PT prefix
2 = separating Sat the end by a space
These controlling bits can be combined to produce cumulative effects

@NADTFG int RW 1 0,1 2024 @NADTFG = 1(default ): use new a_d test for gamma. If set to false, use old value to calculate P-value
@NAE bool RW 0 0,1 2015 It controls whether to disable Window Activate/Deactivate events upon opening/closing projects:


0 = Enable Window Activate/Deactivate events upon project open/close
1 = Disable Window Activate/Deactivate events upon project open/close

@NAEF bool RW 0 0,1 2015 It controls whether to disable non-active windows' Window Activate/Deactivate events upon switching folders:


0 = Enable Window Activate/Deactivate events upon switching folders
1 = Disable Window Activate/Deactivate events upon switching folders

@NBS int RW 1 0,1 9.1 It controls whether to apply new bar plot selection behavior:

0 = Keep old behavior (Single click will select all bars with 1 square in bar center, click again to select single bar with 1 square in bar center and edge highlighted.)
1 = Apply new behavior (Single click will select all bars with 4 squares at corners and 4 squares on edges, click again to select single bar with 1 square at center, 4 at corners and 4 on edges.)

@NBSP bool RW 1 0,1 9.4 SR1 When compiling code, treat non-breaking space (ASCII code 160) as space (ASCII code 32).

0 = Treat non-breaking space as space
1 = Treat non-breaking space as written

Note: When pasting code examples from some versions of the Edge browser, it has been noted that copied non-breaking space is pasted as ASCII code 160, as opposed to ASCII code 32. This usually results in compilation errors. Use this system variable to prevent this behavior.

@NC int RW 200 Positive Integer 2018 Grouped box charts (Plot: Grouped Box Charts - Indexed) rely on one or more columns of values (Group Column(s)) to define groups for statistical comparison. When the selected data are to be grouped into more than @NC groups, an attention message prompts the user to confirm that the calculation should proceed. In addition, graph previews are disabled. Disable checking by setting @NC=-1.
@NCAD bool RW 0 0,1 2021b it decide whether the averaging result matrix objects are in doubles or in the original type:

0 = (default) the averaging result matrix objects are in same data type as the original. 1 = to produce the averaging result matrix objects as double.

@NCAPQ bool RW 0 0,1 2021b It controls whether NetCDF average allow partail quarters:

0 = (default) partial quarters at the end will be cut off 1 = partial quarters at the end will used as is

@NCH bool RW 0 0,1 2023 Decide where in the Matrix Book Organizer to save import info tree when importing NetCDF file.

0 = set the import info tree into sheet level;
1 = set import info tree to Imported Files area, like XML and JSON

@NCP int RW 0 0,1 2022b @NCP = 1 to prevent cell comment pop up
@NCTT double RW 10 2021b It is a percentage of the average time increment in the time variable of the NetCDF file. By default it is 10%. If you have problem about averaging irregular NetCDF file, it may be necessary to increase this percentage.
@ND double RW 1E-14 Small positive number 6.0247 It specifies the default resolution in comparing two doubles (reference formula (v2-v1)/(abs(v1)+abs(v2)).
@NDI bool RW 1 0,1 8.50013 It controls whether to use new Data Info dialog box or old one:

0 = Use old Data Info dialog box
1 = Use new Data Info dialog box

@NDM int RW 5 Positive integer 2022b Notes Display Margin, in points


Persistent

@NE bool RW 1E-14 Small positive number 6.025 It is especially used as the resolution in axis increment computation similar to @ND.
@NETPM bool R 1 0,1 2023 Get Internet Connected State
@NF int RW 17 Positive integer 8.0725 It specifies the critical number of significant digits that will trigger double to string conversion.
@NFC int RW 0 0,1 2024 It controls where new folder is added when using New Folder Toolbar button

0 = Use root folder as parent to add new folder.
1 = Use current folder as parent to add new folder.

@NFFJ bool RW 1 0,1 2023 No Free Flexlm Job. It prevent FreeJob from being called on exit. Set to 0 to get old behavior.
@NG double RW 0.7 Positive number 8.0988 It specifies the threshold modifier for Gaussian model that depicts how the noised data fits the Gaussian model.
@NI int RW 2000 Positive integer 6.029 It specifies the maximum number of points a line plot has to have in order to trigger extreme range checking.


Note: in situations like large vertical lines are not drawn can be improved by increasing the value of @NI.

@NIM int RW 15000 Positive integer 6.029 It specifies the maximum number of points used for interpolated curve for extreme value checking.


Note: when the maximum points has reached, it will no longer interpolate.

@NLC bool RW 1 0,1 8.50013 It controls whether to use new Layer Contents dialog box or old one:

0 = Use old Layer Contents dialog box
1 = Use new Layer Contents dialog box

@NLE bool RW 0 0,1 8.108988 It controls whether to apply new LabTalk expression evaluation mechanism:

0 = Revert back to old mechanism
1 = Apply new mechanism

NLFS int RW 2 0,1,2 2021b It controls the activate report sheet behavior:

0 = no
1 = activate report sheet
2 = show message box

@NLI int RW 3 0 to 3 8.108988 It controls whether to allow NLFit tool to preserve self-adjusting internal parameter(mu) from one fit call to the next in step by step iteration by using controlling bits:

1 = NLFITITERSYS_BETTER_BRING_INTO_BOUNDS
2 = NLFITITERSYS_PRESERVE_MU_BETWEEN_FIT_CALLS
Note: @NLI is a combination of both controlling bits, so @NLI=3 (default) is to use both methods. @NLI=0 is to revert to old behavior so when we click Fit directly or click 1 iteration one by one in sequence until converged, the fitted results are slightly different.

@NLS bool RW 1 0,1 2025 it control linked graph in HTML mode's notes window:

0 = linked graph use PNG
1 = linked graph use SVG

@NLT int RW 1 0,1 2022b @NLT = 0 to use old line tab in plot detail
@NNT bool RW 0 0,1 2022b @NNT=1 turns off cue-banner for Notes window


Persistent

@NOD int RW 3 0 to 9 8.0725 It specifies output mode for Debug messages:

0 = OUTMSG_NONE (Do not output debug message)
1 = OUTMSG_CMD_OUT (Current command prompt output, can be Command Window or Script Window)
2 = OUTMSG_CMD_OUT_OPEN_SCRIPT_WIN (if no current command prompt output, will open Script Window)
3 = OUTMSG_CB_CMD_OUT (Code Builder command output)
4 = OUTMSG_CB_COMPILER_OUT (Code Builder compiler output)
5 = OUTMSG_SCRIPT_WIN (classic Script Window regardless of current command prompt)
6 = OUTMSG_SCRIPT_WIN_FORCE_OPEN (force even auto-hide Script Window to open)
7 = OUTMSG_MESSAGE_LOG (Message Log Window output)
8 = OUTMSG_MESSAGE_LOG_OPEN (Message Log Window output, but only show red icon rather than open auto-hide window upon dumping messages)
9 = OUTMSG_MESSAGE_LOG_FORCE_OPEN (force even auto-hide Message Log Window to open for message dump)

@NOE int RW 8 0 to 9 8.0725 It specifies the output mode for Error messages. It uses same same values as those for @NOD.
@NOI int RW 8 0 to 9 8.0725 It specifies the output mode for Info messages. It uses same same values as those for @NOD.
@NOP int RW 50 Positive integer 2018b Maximum number of panels in trellis and cluster plot, over which dialog preview will be disable.
@NOR int RW 8 0 to 9 8.0725 It specifies the output mode for Result messages. It uses same same values as those for @NOD.
@NOW int RW 8 0 to 9 8.0725 It specifies the output mode for Warning messages. It uses same same values as those for @NOD.
@NPEB int RW 40 Natural number 8.1088 It specifies the number of steps in progress bar for ASCII export.
@NPER int RW 2000 Natural number 8.1088 It specifies the minimum number of rows to trigger progress bar to show for large data ASCII export.


Note:@NPER=0 will disable showing progress bar.

@NPES int RW 3 0 to 7 8.1088 It specifies the mode of how often to update ASCII export progress bar:

0 = Disable (disable update status bar)
1 = SI_EVERY (update status bar for every row)
2 = SI_SLOWEST (update status bar in slowest speed)
3 = SI_SLOW (update status bar in slow speed)
4 = SI_MEDIUM (update status bar in medium speed)
5 = SI_MFAST (update status bar in medium fast speed)
6 = SI_FAST (update status bar in fast speed)
7 = SI_FASTEST (update status bar in fastest speed)

@NPF bool RW 1 0,1 2015 It controls whether to use new Project Explorer(PE) Find dialog box:

0 = Revert to old PE Find dialog box
1 = Use new PE Find dialog box

@NPI int RW 0 Natural number 8.50013 It specifies the maximum number of page import info file nodes.


Note: @NPI=0 means there is no limitation of number of import info nodes, upon import it will keep adding new nodes. If @NPI is some positive integer, when the number of import nodes reaches @NPI, the top file node will be removed and then replaced by a new node.

@NPO int RW 800 Natural number 8.0725 It specifies the minimum number of lines to trigger progress bar to show for large data ASCII import.


Note:@NPO=0 will disable showing progress bar.

@NPP int RW 0 -1 to 101 2018b Speed up project loading and screen redraw times by controlling repaint of overlapped windows. By lowering the value of @NPP, you can prevent repaint of a greater number of partially-covered windows (e.g. to repaint only those windows that are completely uncovered, set @NPP=1).

0 = Block repaint if > 70% of graph window is covered.
1-100 = Block repaint if > N% of graph window is covered.
101 = Only repaint active graph window.

Persistent

@NPS int RW -1 -1,0,1 9.6b Specify which language you prefer to preview the script lines in the notes window when you press Ctrl +M keys.

-1 = Origin Rich Text
0 = HTML language
1 = MarkDown language

@NPYC bool RW 1 0,1 2021b The Python Console added Intellisense in Origin 2021b. Use this system variable to control whether to use the old Python Console (no Intellisense) or the new Console.

0 = use the old OC-based Console without Intellisense.
1 = (default) use the new VC-based Console with Intellisense.


Persistent

@NRE RW bool 1 0,1 2023b HTML and Markdown syntax of Notes window use CEF engine so it can use HTML, CSS, and JavaScript. This would be useful to show MathJax equation in the notes window with HTML/Markdown syntax. With this change, menu File: Print Preview and Page Setup will be disabled, and menu File: Print... will export Notes in Chrome/Edge browser style.

Set @NRE=0 to return to old html browser (IE style).

@NRM int RW 0 0,1 9.1 Prevent scale changes upon selection of Scale In/Scale Out/Scale Zooming Panning Tool to rescale plot when rescale is set as Manual (≤ v2016) or Fixed (> v2016):

0 (default) = Scale From/To values can be modified when you use rescale tools even if rescale is set to Manual/Fixed
1 = Prevents changing of From/To values by rescaling tools if rescale is set to Manual/Fixed

@NRS int RW 3 -1,0,1,2,3 2022b Note-Render-Syntax, it controls Notes window syntax:

-1 = none
0 = text
1 = html
2 = markdown
3 = origin rich text
Persistent

@NRSC int RW 0 0,1 2019 SR0 From Origin 2019, Smith chart handles complex with negative real better. Set @NRSC = 1 to turn off this improvement.
@NS bool RW 0 0,1 8.1086 It controls whether to always use Origin numeric separator setting:

0 = Do not use Origin numeric separator setting
1 = Always use Origin numeric separator setting

@NSNU bool RW 0 0,1 2021b Set to 1 to control no update series to speed up
@NSS bool RW 1 0,1 2025 it controls what Save Notes As to save if there's cell link in Note Window:

0 = link code
1 = link value

@NSV bool RW 0 0,1 6.0168 It controls whether to enable LabTalk objects to set global variables (Numeric System Variables):

0 = Disable LabTalk objects to set numeric system variables
1 = Enable LabTalk objects to set numeric system variables

@NSW bool RW 0 0,1 2018 SR0 It controls whether replace the Script Window as Scintilla based.

0=Turn off Scintilla for Script Window
1=Replace Script window as Scintilla based
Persistent

@NTT int RW 1 0,1 2022 create axis table from normal ticks, set to 0 to keep old behavior
@NU int RW 1 0,1 2024b @NU=1 to enable notes deletion’s undo support
@NWM int RW 1 0,1 2018 Notes window is Scintilla based from Origin2018. The window now has a left margin by default. Set system variable @NWM to 0 to turn off this margin.
@NWN bool RW 0 0,1 2023 it controls analysis output whether to copy source long name if output name is specified with new keyword:

0 = copy from source
1 = use specified name

@NWVA int RW 1 0,1 2020b When the Page View has been set to Window View,

0 = Old behavior, the resizing won't consider the overall bounding layer box for all the dimension linked layers. In this mode, for a multiple axes graph, some axes might not be shown up in Window View.
1 = Default behavior, the resizing will consider the overall bounding layer box for all the dimension linked layers. Make sure that all axes of a multiple axes graph will be shown up in Window View.

@NXR int RW 1 0,1 2020b Determines whether to normalize X data by Standard Deviation (stddev) or Mean in Polynomial Fit if X range is small relative to its Mean.

1 = Subtract X by Mean first, and then do polynomial fit on the subtracted data. Note that the calculated polynomial coefficient here is the "transformed coefficient". If "Fix Intercept" option is checked, we will not subtract Mean even if X is very large.
0 = divide X by stddev, the old behavior

O

Variable Type Access Default Supported Version Description
@O int RW 1 1,2 6.1052 It indicates current printer orientation as set in Page Setup:

1 = Portrait
2 = Landscape

@OCAC bool RW 0 0,1 6.1052 It controls whether Origin C function should convert LabTalk string by standard C style string:

0 = Do not convert
1 = Convert LabTalk string (“\t\n” etc will be considered as standard C escape codes)

@OCB bool RW 0 0,1 6.1052 It controls whether to Enable Breakpoints in Code Builder:

0 = will uncheck the Enable Breakpoints icon in Debug toolbar
1 = Enable Breakpoints is checked so it will enter debug mode and enable all breakpoints
Note: @OCB will be automatically set to 1 from 0 when open Code Builder.

@OCBL bool RW 1 0,1 6.1052 It controls whether to clean up unwanted information after linking:

0 = Disable cleaning up
1 = Clean up after linking

@OCC bool RW 1 0,1 6.1052 It controls whether to enable class member access control:

0 = Disable class member access control
1 = Enable class member access control

@OCDL bool RW 0 2024b It's to check/control download thread for function okutil_http_download when the download in a separate thread. When get, it return progress when downloading, otherwise last download error code will be returned. When set @OCDL > 1, means to abort the thread, the value means wait seconds. Here's the example.
@OCE bool RW 1 0,1 6.1052 It indicates whether Origin C is ready for LabTalk to call X Functions etc:

0 = It means Origin C did not finish compiling so that X Function cannot be called by LabTalk at this time
1 = Origin C compiling is finished and X Function is ready to be called by LabTalk

@OCEC bool RW 1 Positive integer 6.1052 It specifies the checking level for numeric to Origin C pointer casting:

0 = Disable checking
1 = Reset redundant pointers to NULL pointer (needs exhaustive testing)
>1 = Report error and stop execution

@OCL int RW 0 0,1 6.1052 It controls whether to lock current Origin file up:

0 = Do not lock up current Origin file so when you close it, it will close regularly
1 = Current Origin file is locked up so when you try to close it, it will bring up a dialog window mentioned “Origin is locked by system variable try setting @OCL=0” before you can close the opj file.

@OCM int RW 1 0,1 2024b @OCM=0 to hide "Open from Cloud" main menu
@OCS bool RW 1 0,1 6.0 It controls whether to allow you to create an OCB file or OP file:

0 = The compiler will not create an OCB file or OP file
1 = The compiler will create an OC file or OP file

@OCSB bool RW 1 0,1 6.0 It controls whether to generate binary OCB files or OP files:

0 = Generate an OP file at compile time
1 = Generate an OCB file at compile time
Note: the OP file will be saved in the same folder as its source file and have the same file name, but with the OP extension. Only if @OCS=1, this variable is meaningful.

@ODBCA int RW 0 0,1 2019 SR0 It controls to choose which ODBC driver, Unicode or ANSI driver. Note that different driver may give different speed. Default changed to 0 in Origin 2020.

0 = (default) Use Unicode driver
1 = Use ANSI driver

Persistent

@OE bool RW 0 0,1 6.1052 It controls whether to enable project file locking when open it in Origin:

0 = Enable locking
1 = Disable locking
Note: when you open a same file twice in Origin, the second file is set as Read-Only which means file is locked. Open opj for the first time, set @OE=1, open same opj again is not a locked Read-Only opj file.

@OGL bool RW 1 0,1 9.0 It decides whether an OpenGL or a non-OpenGL 3D graph will be created when creating 3D graphs:

0 = Non-OpenGL
1 = OpenGL

@OGLAP int RW 4 0,1,2,3,4,5,6,7 2023b it controls whether each axis can be modified in a 3D graph layer:

0 = no
1 = Cartesian Layer
2 = Ternary Layer
3 = Tetrahedral Layer
@OGLAP is a combination of both controlling bits

@OGLBC bool RW 0 0,1 2023 3d bar clipping method, true for vertex, false for drawing
@OGLCH int RW 6 1 to 24 9.0 It specifies the highlight color in OpenGL following the Origin color palette:

1 = Black
2 = Red
3 = Green
6 = Magenta (default)

@OGLCP bool RW 1 0,1 2021b coplanar plot Z depth follow plot order:

1 = enable
0 = disable

@OGLDL bool RW 1 0,1 9.0 It controls whether to enable using display list drawing for 3D OpenGL graph:

0 = Disable using display list drawing
1 = Enable using display list drawing
Note:some video cards do not support display list drawing. If plots disappear after transparency is on, set @OGLDL = 0.

@OGLDP bool RW 0 0,1 2023b Fix the display problem of strange color block on 3D OpenGL graph, which is caused by AMD graphics card.

Set @OGLDP=1 to enable this fix. See this FAQ for details.

@OGLEO int RW 7 0 to 7 2018 It specifies the exported 2D Graph Objects, Axis Titles and Axis Labels as vector graphic.

0= Axis Labels, Axis Titles, and 2D Graph Objects are not exported as vector graphic.
1= Axis Labels are exported as vector graphic.
2= Axis Titles are exported as vector graphic.
3= Axis Labels and Axis Titles are exported as vector graphic.
4 =2D Graph Objects are be exported as vector graphic.
5= Axis Labels and 2D Graph Objects are be exported as vector graphic.
6= Axis Titles and 2D Graph Objects are be exported as vector graphic.
7= Axis Labels, Axis Titles, and 2D Graph Objects are exported as vector graphic.

@OGLEVT int RW 0 0,1 2024 OGL EXPORT VECTOR TRANSPARENT DISABLE, @OGLEVT = 1 to disable transparent background
@OGLF int RW 1 0,1 9.0 It controls which method is used for rendering text for 3D OpenGL graph:

0 = using Texture
1 = using Polygon text

@OGLFA int RW 1 0,1,2 9.0 It controls the full screen anti-aliasing algorithms for drawing 3D OpenGL graph:

0 = No Anti-Aliasing
1 = Multi-Samples Anti-Aliasing
2 = Fast Approximate Anti-Aliasing
Note: the function of @OGLFA is identical to the option in Preference:3D OpenGL Settings:Settings:Enable Anti-aliasing.

@OGLFAB bool RW 1 0,1 2015 It controls whether to enable the improvement of OpenGL graph quality with transparency.

1 = When insert an OpenGL graph with transparency into a worksheet cell, set value to 1 to ensure the inserted graph quality looks good.
0 = When export as Vector type/copy page of an OpenGL graph with transparency, set value to 0 to disable the improvement.

@OGLFAE int RW 1 0,1,2 9.0 It controls the full screen anti-aliasing algorithms for 3D OpenGL graph exporting and printing:

0 = No Anti-Aliasing
1 = Multi-Samples Anti-Aliasing
2 = Fast Approximate Anti-Aliasing

@OGLFAL bool RW 0 0,1 9.0 It controls whether allow multi-sampling anti-aliasing when only support 2 samples. Only apply to AAT_MSAA.

0 = turn off multi-sampling anti-aliasing
1 = allow multi-sampling anti-aliasing

@OGLFB bool RW 1 0,1 9.0 It controls the feedback behavior when click to select a 3D OpenGL based plot, such as 3D surface, 3D wall, 3D ribbons:

0 = Reverse the color of the 3D plot
1 = Show the frame of the plot

@OGLFBSN int RW 100 Positive integer 9.0 It controls the number of feedback symbols when click to select a 3D OpenGL based plot, such as 3D surface, 3D wall, 3D ribbons.
@OGLFBSS int RW 5 Positive integer 9.0 It controls the size of feedback symbols when click to select a 3D OpenGL based plot, such as 3D surface, 3D wall, 3D ribbons.
@OGLFL int RW 0 0,1 9.0 It controls whether enable lighting for flatten surface

0 = disable lighting for flatten surface
1 = enable lighting for flatten surface

@OGLFP int RW -1 -1,0,1 2025 It controls whether text object DBI drawer use GDI plus:

-1 = old behavior
0 = disable
1 = enable

@OGLFSH bool RW 1 0,1 2022b it controls whether 3d scatter use fast hittesting
@OGLGD bool RW 1 0,1 9.0 It controls the gradient fill mode for 2D and 3D OpenGL plot when negative value exists:

0 = Gradient direction of negative value is the same as positive value
1 = Gradient direction of negative value is opposite to positive value

@OGLHT int RW 1 0,1 2023 It controls whether to allow disable ogl hittesting:

0 = disable
1 = enable

@OGLPF bool RW 0 0,1 9.1 It controls whether to apply new behavior to 3D OpenGL graph to prevent inversion or rotation of graph once transparency is turned on in virtual machine environment on Mac:

0 = Fix transparent 3D OpenGL graph inversion in virtual environment
1 = Fix transparent 3D OpenGL graph automatically rotate in virtual environment

@OGLPS int RW 36 2022 text unit scale for 3D bar fill pattern


Persistent

@OGLL int RW 3 0,1,2,3 9 line shading mode

0 = use OpenGL's build-in shading mode
1 = simulate lines by cylinder if needed, for example when width exceeds OpenGL limitation or in dash style
2 = simulate lines by cylinder
3 = simuate by cylinder except bad quality, for example the line width is too small

Note: Only Axis Tick/Axis Grid/Drop Line will following this setting, others already use 0.

@OGLLE int RW 3 0,1,2,3 9 line shading mode for exporting and printing .etc

0 = use OpenGL's build-in shading mode
1 = simulate lines by cylinder if needed, for example when width exceeds OpenGL limitation or in dash style
2 = simulate lines by cylinder
3 = simuate by cylinder except bad quality, for example the line width is too small

Note: Only Axis Tick/Axis Grid/Drop Line will following this setting, others already use 0.

@OGLSC bool RW 0 0,1 9.0 It controls whether to enable slice drawing for clipboard for 3D OpenGL graph:

0 = Disable slice drawing for clipboard
1 = Enable slice drawing for clipboard

@OGLSE bool RW 0 0,1 9.0 It controls whether to enable slice drawing for high quality EMF export for 3D OpenGL graph:

0 = Disable slice drawing for EMF export
1 = Enable slice drawing for EMF export

@OGLSL bool RW 1 0,1 9.1 It controls whether to enable shearing for OpenGL graph axis labels and titles:

0 = Disable axis labels and titles shearing
1 = Enable axis labels and titles shearing

@OGLSLA double RW 0.4 0 to 1 9.1 It specifies the self-lighting ambient color factor for lighting in 3D OpenGL graph.
@OGLSLAS double RW 0.6 0 to 1 9.1 It specifies the self-lighting ambient color factor for 3D scatter symbol lighting.
@OGLSLL bool RW 1 0,1 9.1 It controls whether to enable shearing for axis labels if they are in axis plane for 3D plot:

0 = Disable shearing for axis labels
1 = Enable shearing for axis labels

@OGLSLT bool RW 1 0,1 9.1 It controls whether to enable shearing for axis titles if they are in axis plane for 3D plot:

0 = Disable shearing for axis titles
1 = Enable shearing for axis titles

@OGLSP bool RW 1 0,1 9.0 It controls whether to enable slice drawing for high quality printing for 3D OpenGL graph:

0 = Disable slice drawing for high quality printing
1 = Enable slice drawing for high quality printing

@OGLSR bool RW 1 0,1 9.0 It controls whether to enable slice drawing for raster export for 3D OpenGL graph:

0 = Disable slice drawing for raster export
1 = Enable slice drawing for raster export

@OGLSS bool RW 1 0,1 9.0 It controls whether to determine smart slice size smartly when copy OpenGL graph page

0 = disable this feature
1 = copy page using smart slice size

@OGLSSB bool RW 0 0,1 9.0 It controls whether to use single blit in slice drawing for 3D OpenGL graph:

0 = Use single blit in slice drawing
1 = Do not use single blit in slice drawing

@OGLSSM int RW 570000 Positive integer 9.0 It specifies the maximum pixel size of OpenGL window to do copy page using smart slice size.


Note: larger @OGLSSM will lead to better quality. If the graphs have trouble to be sent to PowerPoint, set @OGLSSM to be a smaller value, like 490000.

@OGLSST int RW 1920000 Positive integer 9.0 It determines the threshold of the screen size when @oglss = 1.
@OGLSV bool RW 1 0,1 9.0 It controls whether to enable slice drawing for vector export for 3D OpenGL graph:

0 = Disable slice drawing for vector export
1 = Enable slice drawing for vector export

@OGLSW bool RW 0 0,1 9.0 It controls whether to enable slice drawing for print preview for 3D OpenGL graph:

0 = Disable slice drawing for print preview
1 = Enable slice drawing for print preview

@OGLT int RW 1 0,1 9.0 It specifies the transparent render algorithm for 3D plot:

0 = Turn of transparency
1 = Use Depth Peeling algorithm for transparent render

@OGLTFO int RW 100 Positive integer 2017 SR1 It specifies/reads the speed factor of rotating a 3D graph. Default 100 means 100% full speed to rotate the graph. 50 means half speed. Max speed factor=200%; Min speed factor=10%.
@OGLTFR int RW 100 Positive integer 2017 SR1 It specifies/reads the speed factor of resizing a 3D graph.
@OGLTFS int RW 100 Positive integer 2017 SR1 It specifies/reads the speed factor of skewing a 3D graph.
@OGLV int RW 4 1,2,3,4 9.0 It specifies/reads which OpenGL version currently supported by Origin:

1 = OpenGL version 1.x
2 = OpenGL version 2.x
3 = OpenGL version 3.x
4 = OpenGL version 4.x

@OGLVS int RW -1 9.0 It controls the vertical synchronization when play 3D Animation

-1 = synchronization with monitor's refresh rate
0 = disable synchronization
positive integer = specify a fixed video frame period

@OGLVSS int RW -1 Natural number 2017 It controls the geometry slice size in 3D Vector Plot. The variable can be set to make 3d vector plot displays faster in high DPI or big monitor.
negative value = smart detect by data size.
0 = Default value of slice size (64)
positive value = custom
@OH int RW 0 Natural number 6.1052 It controls whether to force OPJ loading to hide all windows and force Project Explorer view mode to be hide all:

0 = Disable hiding all windows upon loading OPJ
> 0 (greater than 0) = Force hide all windows upon OPJ loading

@OIMGD bool RW 1 0,1 @OIMGD = 1 to use cv_Mat_DrawToHDC to draw image
@OLCID int R 1033 Natural number 2017 It returns the locale of the resource which Origin is currently running.

1041 = in Japanese mode
1033 = in English mode
1031 = in German mode

@OMA bool RW 1 0,1 2025 it control whether Object Manager show Axis object:

0 = no (old behavior)
1 = show in normal 2d cartesian layer

@OMBHP bool RW 1 0,1 2020b Control wheter to show plots in Object Manager panel for Browser Graph. After changing the value, you will need to switch to other window to see the change.

1 = not show plots in Object Manager. Select plots in the PlotSelector panel on the left side.
0 = show plots in Object Manager. Select and control plots from both PlotSelector and Object Manager panels.

@OMRLL bool RW 0 0,1 2025 it control whether to show reference line label on Object Manager:

0 = no
1 = yes(old behavior)

@OMTL int RW 20 -1,Natural number 2024b if @OMTL <= 0, object manager will show object's name, if @OMTL > 0, it's the max length for object manager to show object's name and text



Persistent

@OPC bool RW 1 -1,0,1 2025 @OPC != -1 to enable operation cache to speed up worksheet manipulation
@OPD bool RW 0 0,1 2017 Origin 2017 introduced a combined Object Properties + Programming Control dialog. This system variable controls which object dialogs display in the workspace:

0 = the new object properties dialog is opened
1 = enable the two old dialogs (double-click to open the object properties dialog, and ctrl+alt+double-click to open the programming control dialog).

@OPJ int RW 0 0,1,2,3 2018b It controls whether default to use the new file type (OPJU) when save the project and use the new file type (OGGU) when Copy Page to other software.

0 = Project to use new file type (OPJU) and copy graph page as new file type (OGGU)
1 = Project to use old file type (OPJ), but copy graph page as new file type(OGGU)
2 = Project to use new file type (OPJU), but copy graph page as old file type (OGG)
3 = Both will use old file type(OPJ & OGG)

Persistent

@OR bool RW 1 0,1 6.1052 It controls whether to save OPJ to separate temporary files first before save to final OPJ file:

0 = Do not save to temporary files so it will save to OPJ file directly
1 = Save OPJ file to temporary files before save it to final OPJ file
Note: @OR is introduced to prevent saving loss when there is not enough disk space upon saving OPJ.

@ORIF int RW -1 2022 OpenCV Read Image Flags

-1 = return the loaded image as is (with alpha channel, otherwise it gets cropped). Ignore EXIF orientation.
0 = always convert image to the single channel grayscale image (codec internal conversion).
1 = always convert image to the 3 channel BGR color image.
2 = return 16-bit/32-bit image when the input has the corresponding depth, otherwise convert it to 8-bit.
4 = the image is read in any possible color format.
8 = use the gdal driver for loading the image.
16 = always convert image to the single channel grayscale image and the image size reduced 1/2.
17 = always convert image to the 3 channel BGR color image and the image size reduced 1/2.
32 = always convert image to the single channel grayscale image and the image size reduced 1/4.
33 = always convert image to the 3 channel BGR color image and the image size reduced 1/4.
64 = always convert image to the single channel grayscale image and the image size reduced 1/8.
65 = always convert image to the 3 channel BGR color image and the image size reduced 1/8.
128 = do not rotate the image according to EXIF's orientation flag.

@OS bool RW 0 0,1 6.1052 It controls the behavior for offsetting plot for overlapped scatter data points when Overlapped Points Offset Plotting check box under Symbol tab in Plot Details dialog box is checked:

0 = Align overlapped scatter data points in a horizontal line
1 = Put overlapped scatter data points into multi-layers

@OSG int RW 125 Positive integer no less than 100 6.1052 It specifies the gap between overlapped scatter data points in percentage of symbol width for offsetting overlapped data points.


Note: the gap is calculated from scatter symbol's center to another scatter symbol's center, therefore @OSG=100 indicates there is no gap between two overlapped scatter data points.

@OSP int RW 0 0,1 2022 open sample project:

0 = Append project to new folder of current project
1 = Open project in new instance of Origin

@OVS bool RW 0 0,1 2016 SR2 Controls whether constants defined in the session (Script/Command windows) are written to the orgvar.ogs file in User Files when Origin closes:

0 = (Default) do not save additional constants to orgvar.ogs.
1 = save constants defined in the session to orgvar.ogs.

For more information, see FAQ-286

P,Q

Variable Type Access Default Supported Version Description
@PALAC bool RW 1 0,1 2019 SR0 It controls whether to use the darker axis lines when its color is set to Auto.

0 = old behavior, the Auto axis line color uses the Fill color of plot
1 = For any plot types, if the axis line is set to Auto color, which follows the Fill color of the plot, the axis line uses the darker version of fill color.

Persistent

@PAR int RW 0 0,1 2018b It controls whether to auto-rescale axis when the axis Rescale type is set to "Auto" and then you hide/show data plots.

0 = the axis will not auto-rescale when you hide/show a data plot even though you already set the axis Rescale type to "Auto". You will need to force a rescale by clicking the Rescale button.
1 = the axis will auto-rescale when you hide/show a data plot when you set the axis Rescele type to "Auto".

@PBAA bool RW 1 0,1 2023b improve the algorithm of baseline detection in Quick Peak , @PBAA to rollback
@PBN bool RW 0 0,1 6.1052 It controls whether to turn off build-in progress bar:

0 = Show build-in progress bar regularly
1 = Turn off build-in progress bar

@PBO bool RW 0 0,1 2018b Set @PBO = 1 to rollback to the old way of project backup machanism, which is only single backup.opj or backup.opju for all files, dependent on if project was opened in opj or opju format.


Persistent

@PCCT bool RW 1 0,1 2024b @PCCT = 1 to allow pie chart combine text column as sunburst. Set @PCCT= 0 back to old behavior
@PCI bool RW 0 0,1 2022 it controls whether preserve client image. It helps to fix crash caused by deleting preview graph
@PCF int RW 1 0,1 2020b It decide whether to use relative references when copy and paste a cell formula.

1 = update the pasted cell formula depending on use of relative references. For example, if copy cell formula "=A1/B1" to 2nd row, it will become "=A2/B2"
0 = use absolute references so cell formula will not change when copy and paste

@PCT int RW 10000 Natural Number 2015 It specifies the threshold (in KB) to save preview images above which compression will take place to zip images.
@PCW bool RW 0 0,1 6.1052 It specifies the behavior for pasting when paste a copied smaller size column to a larger size column:

0 = Paste the smaller size column into the larger column directly without clearing larger column first so the rest elements of larger column remain in the larger column
1 = Clear up the elements in larger column before pasting smaller size column into it, so extra elements in larger column will no longer exist

@PDACF int RW 30 0 - 100 2019 SR0 When set the distribution curve color of histogram to Auto, this system variable controls the auto color variations. The auto distribution curve color follows the bar Fill Color but is darker version by default. If plot fill color is set to None or Auto, it follow border color. This system variable determines the darkness varying from the fill color in percentage. Darker when its value increases.


Persistent

@PDBMI bool RW 0 0,1 2023 @PDBMI = 1 to enable bitmap cache for matrix image view mode, and to use advance highlight feedback mode on SVG subpath, 0 for disable (default),
@PDBN int RW 2 0,1,2 2022b control whether to enable bitmap buffering of the note window

0 = disable bitmap buffering
1 = enable bitmap buffering, the bitmap will be created & used during each painting process and discarded afterwards.
2 = (default) enable bitmap buffering, keep reusing the bitmap whenever it's possible (provided no graphical object needs redraw). In such case, when the window is covered by another window, it will simply reuse the existing bitmap for drawing instead of running into the time-consuming drawing process.

@PDC int R -1 2025 return active page's dependent page number and follow @PEDC rule
@PDHELPACTIVEPAGE int RW 1 0,1 6.1052 It controls the behavior for finding Help topics when we click ? icon in the top right corner in Plot Details dialog box:

0 = Bring up a generic page with a list of Plot Details tab pages
1 = Bring up the page to the Help topic closely related to the active tab in Plot Details dialog box
Note: @PDHELPACTIVEPAGE=1, use ? icon to find Help topics will bring up same page as when you hit F1 key to find Help topics

@PDRM int RW 0 0,1 2019 SR0 It controls whether to disable put temp file into Recent File List when back project by LabTalk save command. By default SaveProjectNoData XF will put TMP file to the recent list if saving by LT. Set @PDRM=1 to disable it.
@PDRO bool RW 0 0,1 6.1052 It controls whether to enable Write access to string %D:

0 = string %D can be Read&Write
1 = string %D is Read Only

@PEC int RW 1 1,2 2019b By default, when Clip Data to Frame is on, any plot symbol or associated data label that lies on the layer frame, is drawn in full, to include any portion that lies outside the frame.

1 = Clip plot symbols and labels at the frame. In this case, all data points lie on the axis line will be shown partially.
2 = Do not clip plot symbols and labels at the frame. In this case, if the XY values of a data point are inside the axis scale, it will be drawn completely even though part of it (error bar, label, etc.) lies outside the frame.

@PED int RW 1 0,1 2019 SR0 Whether to pop up the confirm message box asking window deletion multiple times when deleting multiple folders or windows.
  1. When deleting folder(s),
    @PED = 1 pops up the message box 1 time only and it will always delete all contents under the folder.
    @PED = 0 pops up message box for every folder deletion.
  2. When deleting multiple windows,
    @PED = 1, the pop up message box shows 2 buttons only: Yes, No. "Yes" means "Yes to All".
    @PED = 0, the pop up message box shows 4 buttons: Yes, Yes to All, No, Cancel. The message box pops up for every window deletion.
@PEDC int RW 1 0,1,2 2025 it control when you right click at a Book/MBook in PE, whether to include Browser Graph for Dependents:

0 = no
1 = include browser graphs
2 = browser graphs only

@PEF bool RW 0 0,1 2018 From Origin 2018, sub-folders will not be listed in the Project Explorer's bottom panel. You can set this system variable to 1 to go back to the old behavior.

0 = do not show sub-folders in the Project Explorer's bottom panel
1 = show sub-folders in the Project Explorer's bottom panel

@PEFN int RW 0 0,1 2023 It controls whether to open the Folder Notes window.

Run @PEFN=1 to open the Folder Notes window
Run @PEFN=0 to close the Folder Notes window .

@PEK int RW 0 0,1 2022b It controls whether needs to hold Ctrl key to see the previews image of Workbook, Graph windows in Project Explorer sub-panel .

0 = Hovering on a window produces a popup preview.
1 = Need to hold Ctrl key and then hovering on a window to see the previews

@PEM bool RW 0 0,1 6.1052 It controls whether to show parser error messages in Script Window:

0 = Do not show parser error messages in Script Window
1 = Show parser error messages in Script Window

@PEMF int RW 1 0,1 2022 which image to create for Copy as Image and paste:

0 = prefer emf
1 = prefer dib

@PEN int RW 0 0, Positive integers 2020 Maximum number of windows to show per folder when switching between Project Explorer (PE) folders. Priority given to most-recently active windows. Notes windows are not affected. May improve system performance by limiting the number of windows redrawn each time the PE folder is opened.

0 = (default) Show all windows.

Persistent

@PENP bool RW 1 0,1 2022b @PENP=1 makes Notes window's PE preview similar to Graph window's


Persistent

@PER bool RW 0 0,1 6.1052 It controls whether to remove “Windows in Active Folder & Subfolder” item from View:View Windows:

0 = Remove “Windows in Active Folder & Subfolder” item
1 = Keep “Windows in Active Folder & Subfolder” item

@PERB bool RW 1 0,1 2015 SR1 It controls whether to apply new behavior to rename workbook in Project Explorer:

0 = Revert to behavior as in Origin 9.1 so click to in-place edit workbook Long Name only
1 = Apply new behavior so a SN/LN toggle will appear to allow rename either Short Name or Long Name of a workbook

@PERL int RW 1 Positive integer 2021 It controls how many empty rows to add into worksheet after pasting data.
@PES bool RW 1 0,1 6.1052 It specifies whether to show Project Explorer window when add a new folder:

0 = Do not show Project Explorer upon adding new folder
1 = Show Project Explorer upon adding new folder

@PESFPL bool RW 1 0,1 2021b @PESFPL=0 to disable this feature. Origin loads (not supported if appending) the project files saved from PE subfolders and then show/hide loaded windows correctly even though they were saved incorrectly( The windows will first be shown, then hidden)
@PESH int RW 500 Natural Number 2015 SR2 It controls the height of the comment tooltip in Project Explorer so as to control how many lines to show in tooltip. Note @PESH=0 is to completely disable book comment tooltip.
@PESI int RW 128 32 to @PEST 2016 SR1 It specifies the Extra Large Icon size in lower panel of Project Explorer which cannot exceed @PEST.
@PESL int RW 500 Natural number 2019 SR0 It controls the size of the image inserted in the Notes window's HTML mode. Need to refresh the window to take effect.
@PESS int RW 7 -1,0,1,2,3,4,5,6,7 2018b Controls display of previews, both in (a) Project Explorer and (b) Windows File Explorer (both file icons and Preview Pane):

0 = Do not save previews into project files. This prevents Windows File Explorer previews but displays previews in Origin's Project Explorer.
1 = Save graph preview into project file so graph preview will show in Windows Explorer.
2 = Save worksheet preview into project file so worksheet preview will show in Windows Explorer.
4 = Save matrix preview into project file so matrix preview will show in Windows Explorer.


Notes:

  • The above values are additive.
  • When there are multiple windows, the active window is used as preview.
  • Save the project file to see the change.


-1 = Turn off all image preview features, both in Windows Explorer and in Project Explorer.

@PEST int RW 200 100 to 400 2015 It specifies the preview image size when hover mouse over graph file list in Project Explorer.
@PEV bool RW 1 0,1 2021b PE View Mode:

0 = None 1 = View Windows in Active Folder

@PEW bool RW 1 0,1 6.1052 It controls whether to show Project Explorer path in Window title:

0 = Do not show Project Explorer path in Window title
1 = Show Project Explorer path in Window title

@PEWP int RW 1 0,1,2 2019b Controls what is previewed when mousing over a worksheet window in the bottom pane of Project Explorer:

0 = Compressed Image
1 = Summary and List View
2 = Summary and Raw Data


Persistent

@PFFC int RW 3 1,2,3 2016 When using "Fit until Converged" tool to fit peaks, the peak center handling is not dimension sensitive so that you may get the wrong peak direction at the end. To deal with this problem, this system variable is added to automatically fix peak center for 20 iterations. See @FCI to change the number of iterations.

0 = Turn off automatic fixing of peak centers
1 = this behavior works for 1D peak fit
2 = this behavior works for 2D peak fit
3 = enable for both 1D and 2D peak fit

@PFACF int RW 65 0 - 100 2019 SR0 When set the Fill/Pattern color of Box, Column, Bar plots (and their variations) to Auto, this system variable controls the auto color variations. The auto fill/pattern color follows the border color but is lighter version by default. This system variable determines the lightness varying from the border color in percentage. Lighter when its value increases.


Persistent

@PFNC bool RW 0 0,1 2013 @PFNC = 1 to force fill area between plots draw twice
@PFNCSX bool RW 0 0,1 2024b set @PFNCSX = 1 to enable Fill to Next Plot share X. This can reduce data size to avoid Origin hangs when batch plotting Fill Area graph
@PGG int RW 20 Positive integer 2020 The gap of page/layer grid that is currently being shown. When changing, it will update the display accordingly.
@PGGOH double RW 0 2022 page grid horizontal offset
@PGGOV double RW 0 2022 page grid vertical offset
@PGGSH double RW -- 2022 page grid horizontal spacing
@PGGSV double RW -- 2022 page grid vertical spacing
@PGGU bool RW 0 0,1 2022 page grid display unit, 0 for inch, 1 for cm


Persistent

@PGI bool RW 0 0,1 2023 pie geometry options keep independent in independent group, @PGI = 1 for independent, @PGI = 0 for dependent
@PGL bool RW 0 0,1 2021 It works for the mini toolbar button to hide/show legend:

0: hide legend
1: show legend, and create one if legend does not exist

@PGRO int RW 10 Positive Integer It set the minimum percent of overlap in each dimension between the source rectangle and the page pasted: if the overlap in at least one dimension is smaller than the system variable, the old behavior with the last click will be used. Therefore, to disable the feature and return to the old behavior, set the system variable to a value greater than 100.
@PGT bool RW 1 0,1 2019 SR0 It determines the theme used for plots in a group,

0 = using the plot's own theme
1 = using group theme, old behavior

@PGUNDO int RW 1 0,1 2017 It controls whether to support undo after modifying function plot in the Plot Details dialog.

0 = disable undo
1 = enable undo

@PGXOF double RW 1 2017 X-direction scaling factor(multiple factor) of Geology Pattern
@PGYOF double RW 1 2017 Y-direction scaling factor(multiple factor) of Geology Pattern
@PHKAR bool RW 1 0,1 2023b It controls whether page set height will keep aspect ratio:

0 = no, old behavior
1 = yes, default

@PIMG int RW 1 0,1 2022 it controls paste DIB and Bitmap in Graph:

0 = as BMP
1 = as IMAGE

@PLCSR int RW 0 0,1 2017 It determines how the pattern is assigned when a incremental pattern list is applied to color scal levels. Suppose the number of patterns is x, the number of color levels is y, n=ceil(y/x), m=floor(y/x).

0 = floor way, a pattern should apply to every m color levels
1 = ceil way, a pattern should apply to every n color levels

@PLIH int RW 1 0,1 2016 It controls how to treat the hidden columns in worksheet when plotting:

0 = Plot the hidden columns anyway but hide them in the graph
1 = Ignore hidden columns when plotting from selection.

@PLLG bool RW 1 0,1 2016 It controls whether to automatically reconstruct legend when plotting from menu Plot: User-Defined or plotting from template library with or without Plot Setup:

0 = Automatically reconstruct legend in above cases
1 = Do not update legend in above cases

@PMC int RW -1 -1,0,Positive integer 2018 It controls whether to save the Preview and Thumbnail in opju/oggu file that showing in Windows Explorer, and set the maximum number of previews can be saved.

-1= Enable to save the Preview and Thumbnail, and there is no limit for the number of the previews.
0= Disable to save the Preview and Thumbnail.
Positive integer= Enable to save the Preview and Thumbnail, and set the the maximum number of previews.

@PMO int RW 0 0,2 6.1052 It controls whether to apply new behavior to data plot legend with first data point symbol size 0:

0 = Since first data point has symbol size 0, so there will no symbol icon in Legend box
2 = Use first non-zero symbol size as the symbol icon size in Legend box

@PMR bool RW 0 0,1 2024 Plot Menu Rendering, it help to speed up plot menu opening:

0 = scale image in drawing(quicker);
1 = scale image in loading(icon is clearer)


Persistent

@PMS int RW 5 Positive integer 2023b Number of found seperator to stop seperator consistency checking in import and parse text data from clipboard
@POS bool RW 0 0,1 6.1052 It specifies whether plot order should depend on selection order or not:

0 = Plot order is independent of selection order
1 = Plot order is dependent of selection order
Note: @POS=1, select column B and Ctrl select column C, D to make a plot will be different in legend from select column D first and Ctrl select column C, B to plot.

@POX double RW 0 0 to 100 6.1052 It specifies the overlap in horizontal direction in percentage of Printer Page Size upon printing multiple pages when Graph Page Size is larger than Printer Page Size.


Note: @POX=0 (default) means there is no overlap in horizontal direction between two adjacent pages.

@POY double RW 0 0 to 100 6.1052 It specifies the overlap in vertical direction in percentage of Printer Page Size upon printing multiple pages when Graph Page Size is larger than Printer Page Size.


Note: @POY=0 (default) means there is no overlap in vertical direction between two adjacent pages.

@PP int RW 3 0,1,2,3 6.1052 It specifies where to use Master page by controlling bits:

1 = Use master page for print and export
2 = Use master page in layout
Note: @PP is a combination of both controlling bits, @PP=3 (default) means master page can be used for both print, export and in layout. To use master page for print, export or in layout, @PP has to be used in combination with the check item in Display: Use Master Items in Plot Details dialog box.

@PPBLN int RW 1000 Positive integer 2020 It controls the maximum number of input data points to output baseline data to "info" Notes in Quick Peaks gadget's result. When input data is larger than @PPBLN points, baseline data will not output to Notes window inserted to "info" column of Result sheet.
@PPBMA int RW 100 Positive integer 2020 It controls the maximum number of peaks to show base markers and integrated areas in the ROI box of Quick Peaks gadget. When more than @PPBMA number of peaks are found, no base markers and integrated areas is shown in the ROI.
@PPC int RW 40 Positive integer 2022 The divider for the size of the Screen Reader cursor on Image window from image width.
@PPCP int RW 1000 Natural number 2203 It controls parallel plot curve points to speed upparallel drawing. Positive value for export only, negative value for both export and screen drawing
@PPI bool RW 1 0,1 2016 It controls how "dotool -r" command picks points:

0 = Simulate mouse click around given index and find closest point then return its index
1 = Directly go to the position of input index

@PPL int RW -100 2022b maximum number of polylines per call for polypolyline
@PPR bool RW 0 0,1 2023 Protected Page ROI, @PPR = 1 will enable rectangle tool on protected page
@PPS double RW 1 0.5 to 2.0 2018b Used to scale Plot menu icon size.
@PPSFP int RW 10000 Natural number 2023 @PPSFP=10000 means select feedback will be automatically closed when parallel plot's number of lines are over 10000. Negative value means no size limitation
@PRI bool RW 1 0,1 9.1 It controls whether to force data plot to use row index as X instead of its actual cell value if it is a mixed type column and predominantly text type such as Text & Numeric:

0 = Use default column value as X
1 = Force use row index as X

@PS int RW 1 0,1 2019b When you click on a click on a line/symbol/line&symbol/column or bar plot, corresponding worksheet data are highlighted. This system variable turns data highlighting in the worksheet ON or OFF.

0 = disable worksheet data highlighting
1 = (default) enable worksheet data highlighting

@PSFF int RW 25 Natural Number 2018b When you select a plot in Object Manager under a layer or group, the selection will be highlighted while the unselected ones will fade out. Then, you can use this system variable to control the degree(in %) of fading out for these unselected plots.

Setting to a negative value will turn off the fade-out selection mode and go back to the old selection behavior--showing all data points in bold.

@PSFFC int RW 10 Positive Integer 2021 Control the degree(in %) of fading out for the unselected plots in the Chord diagram. When you select a node or link in the Chord diagram, the selection will be highlighted while the unselected ones will fade out. This system variable is used to control the degree(in %) of fading out for the Chord diagram. See @PSFF for a general control.
@PSL int RW 1 0,1 2025 when use Plot Setup to make new plot, @PSL = 1 will auto select next layer after add plot
@PSM int RW 20 0, Positive integer 2018b It controls the size change threshold to trigger the auto-rescaling of elements to fit the graph window size when change the graph page dimensions. The size change is in unit of % of page. For example, if @psm = 20, the size change will need to be at least 20% before the auto-rescaling of elements is performed. It should be a positive integer between 0 and 100:

100 = disable the auto-rescaling feature<br. 0 = always auto-rescale all elements

@PSMM int RW 1 0,1,2 2021b It controls the Highlight Plot when Mouse Over feature:

0 = always off 1 = follow page setting 2 = always on

@PSRMAX int RW 30 -1,Natural Number 2024 Plot Scale Range maximum ratio of whole scale range to using whole scale range, set to -1 use old behavior.
@PST bool RW 0 0,1 6.1052 It controls whether to use SPACE as separator when copy and paste string into cells:

0 = Use SPACE as separator so if you copy a string with multiple tokens (separated by SPACE) and paste into one cell in worksheet, the content is separated and pasted into multiple cells across columns
1 = Force use TAB as separator so it will paste the string with multiple tokens (separated by SPACE) into a single cell

@PSTLR bool RW 1 0,1 2016 It controls whether to allow pasting value from a cell as link to multiple cells:


0 = Do not allow, Paste Link option will not be available when multiple cells are highlighted
1 = Enable paste the value from a cell to multiple cells as link

@PSTSEL bool RW 1 0,1 2016 It controls whether to select the graphic object after copy and pasted from another plot:

0 = Old behavior, do not select the graphic object after copy and paste
1 = New behavior, select copy and pasted graphic object.

@PSTU int RW 5 0 to 5 9.1 It specifies the mode for pasting UNICODE:

0 = Do not do UNICODE
1 = Always try to get UNICODE and paste it as a collection of single UNICODE escapes if found on clipboard
2 = Try paste UNICODE as a collection of single UNICODE escapes if found on clipboard, but only if at least one wide character has non-zero high byte
3 = Like @PSTU=1, but pasted as one escaped UNICODE node
4 = Like @PSTU=2, but pasted as one escaped UNICODE node
5 = UNICODE will be interpreted as @PSTU=0 if Japanese is involved, otherwise same as @PSTU=4

@PSV bool RW 0 0,1 2021 It controls if Origin allows stepping into python source files in versioned package folder:

0 = not allow
1 = allow

@PT int RW 3 0,1,3 2017 It controls whether to show tooltips of the source data when mouse hovers over a data plot.

0 = Do not show tooltips
1 = Enable showing tooltips for 2D graph
3 = Enable showing tooltips for both 2D graph and 3D OpenGL graph

@PTI int RW 1 0,1 2018b Controls display of data point tooltip when hovering on a data point.

0 = Disable data point tooltip
1 = Show data point tooltip

@PU int RW 0 0,1,2,3,4 2023 It controls whether to show notification icon on the right of main menu bar.

0 = Do not show notification icon
1 = Enable showing notification icon with number 1
2 = Enable showing notification icon with number 2
3 = Enable showing notification icon with number 3
4 = Enable showing notification icon with number 4

@PWNA bool RW 0 0,1 2023b It controls whether pinned windows should be on top of other windows in the new folder after switching folder:

0 = on top
1 = no

@PWS int RW 0 0,1 2023b It controls whether to keep the pinned window showing when switching folders.

0 = Do not show
1 = Enable showing

@PWTXT bool RW 1 0,1 2018 From Origin 2018, copying from Word and then pasting into Origin graph will paste as text by default. If you want to paste Word content as Word object, use Paste Special menu. This default behavior can be changed by setting system variable @PWTXT = 0.

0 = copy paste Word content as Word object by default
1 = copy paste Word content as text by default

@PWZAY bool RW 0 0,1 2021b For 3D Bar in 2 Planes, treat Z as Y when plot from worksheet selection, 0 = off (default), 1 = on
@PXLTXT bool RW 1 0,1 2018 From Origin 2018, copying Excel cells and then pasting into Origin graph will paste as text by default. If you want to paste Excel cells as Excel object, use Paste Special menu. This default behavior can be changed by setting system variable @PXLTXT = 0.

0 = copy paste Excel as Excel object by default
1 = copy paste Excel as text by default

@PYC bool RW 1 0,1 2021 Get/Set the status if Python Console is open or close.

1 = Python Console is open,
0 = Python Console is close.

@PYFV int RW 3 0,1,2,3 2021 If a Python call is in Set Column Values/LabTalk and the function does not have type specified (either via annotations or via docstring) for the return value and/or for the arguments where column name is passed, this system variable determines the type of the argument passed to Python to be a list or a scalar number.

0 = if call Python from Set Column Values/LabTalk, scalar will be passed as the first argument and Origin will expect a scalar to be returned; one Python call will be made for each row.
1 = if call Python from LabTalk, list will be passed as the first argument and Origin will expect a list to be returned; only one Python call will be made.
2 = if call Python from Set Column Values, list will be passed as the first argument and Origin will expect a list to be returned; only one Python call will be made.

Note that bit values are additive.

@PYI bool RW 1 0,1 2015 It controls whether to turn on console like interactive execution when executing Python script in Script Window :

0 = Disable interactive execution
1 = Enable interactive execution

@PYO bool RW 1 0,1 2021 Determine whether to output Python print immediately for Enbedded Python.

1 = real-time output,
0 = output at the end, old behavior.

@PYOW bool RW 1 0,1 2023b It controls the python output window in Code Builder:

0 = output pane
1 = Result Pane

@PYP int RW 0 0,Positive integer 2023 It controls python to use individual package folder. When @PYP is not zero, it will be the Python Package folder index, i.e. if @PYP = 1 the folder will be PyPackage1


Persistent

@PYS bool RW 0 0,1 2021 Whether to prevent using Python in Script Window.

0 = Prevent using Python in Script Window. You will need to use Python Console instead. If Python GUI is enable in Script Window, restarting Origin will revert it back to LabTalk GUI.
1 = Allow using Python in Script Window.

Persistent

@PYV int RW 3 3 2015, updated 2021 It controls which version of Python to be used as embedded Python in Origin:

3 = Use Python version 3.8.3 as embedded Python version in Origin

@QCM int RW 1000 Positive integer 2020 Control the maximum columns to allow SQL selection in Origin Connector.
@QCT int RW 5 3,5 2015 SR0 It is for the contour speed issue:

5 = fix our contour line to fit new filling algorithm
3 = turn off this implement. If contour with missing value has problem( such as, takes a long time to be exported ), can set @QCT = 3 to work around

@QCTF int RW 50 2022 factor of none color contours to force using transparent mode to rendering contours
@QCTT bool RW 0 0,1 2017 It controls the delicate transparency mode in contour graphs. Turning on the delicate transparency mode (@qctt=1) makes transparent fill works fine in contour graphs with huge levels, but slow.

0 = turn off the mode
1 = turn on the mode

@QDHT int RW 0 0,1 2023 It controls whether to quit data highlight mode when switches to worksheet from graph:

0 = still in data highlight mood
1 = quit data highlight mood

@QMSV bool RW 0 0,1 2021 Determine the axis title substitution notation "?" refers to the first visible data plot or not. The "?" substitution notation follows settings of Plot Details> page level> Legends/Titles tab> Data Plot Index for Auto Axis Titles. It uses the first data plot by default. This system variable determines whether to skip the invisible plot.

1 = skip the invisible plot. When settings in the Plot Details dialog is using the first data plot, it means first visible plot.
0 = the old behavior. The 1st plot means the first data plot (visible or not).

R

Variable Type Access Default Supported Version Description
@R2SZ double RW 1E-307 2021b Threshold for considering a double value to be 0. Set it to 1.0E-290 to restore the old behavior.
@RA int RW 0 0,1 6.1052 It controls whether to automatically switch the side of Y axis from GUI if X scale is reversed:

0 = Disable auto switch the side of Y axis in regardless of X scale
1 = If X scale is in reverse, Y axis will automatically switch from Left side to Right side from GUI and Reverse option in X Axis: Scale page in Plot Details dialog box is checked.
Note: automatically switch to reverse axis will not work from script.

@RAI int RW 1 0,1 6.1052 It controls whether to automatically switch the side of Y axis from GUI if X scale is reversed for image graph:

0 = Disable auto switch the side of Y axis in regardless of X scale
1 = Automatically switch the side of Y axis from Left to Right if X scale is in reverse conditionally on that there is at least one image graph in active layer

@RAL int RW 15 Natural Number 2024 Round Axis Limit, in percent of the major increment for the closeness of the final result to a major tick. @RAL = 0 for no rounding.


Persistent

@RAN bool RW 1 0,1 2016 Controls seed value algorithm used by LT functions (when seed is not specified) to generate random numbers in Origin. This also controls behavior of GUI methods for generating random datasets. The new algorithm incorporates the system tick count (generated by the system timer) to seed the random number functions. The old method (@ran=0) always generated the same sequences, in the same order, on startup. Hence the new method is more nearly random:

0 = Use old seeding algorithm.
1 = Use new seeding algorithm that incorporates system tick count.

@RAO int RW 1 0,1 2022b It controls whether Repeat Analysis can output to same sheet, @RAO=0 to disable
@RBA bool RW 0 0,1 6.1052 It controls whether project script needs to be run by author only:

0 = Run by anyone
1 = Run by author only

@RBBF bool RW 0 0,1 2020b It controls whether the bar width of color scale will follow the font size change of the labels of color scale:

1 = the value for Color Bar Thickness will not change, but as it is based on the unit in % of current color scale label font height, the bar width will follow up the font size change of labels. 0 = change label font size will modify the value for Color Bar Thickness, so the color bar width will not change accordingly.

@RCA bool RW 1 0,1 2025 @RCA = 1 to improve Reportsheet Cell Alignment
@RCC int RW 0 0, Positive integer 2020b Font color of the connected sheet in the Data Navigator.


Persistent

@RCD int RW 8224125 0, Positive integer 2020b Font color of the disconnected sheet in the Data Navigator.


Persistent

@RCH int RW 11842815 0, Positive integer 2020b Background color when you highlight or select a row in the Data Navigator.


Persistent

@RCL bool RW 1 0,1 2021b It controls how Set Value access report table cell:

0 = puts numeric or cell values obtained by resolving cell links to report tree node and returning those values
1 = returning cell links

@RCN int RW 15 Natural number 2017 SR1, 2019 Enables or disables spreadsheet cell notation (SCN) in the workbook.

0 = OFF in all new books.
1 = Cell notation is turned ON for new books created from the New Workbook toolbar button.
2 = When importing, cell notation behavior follows active book; if cell notation is OFF in active book, then OFF in all new books. If ON in active book, ON in all new books.
4 = Most analysis X-Functions (exceptions listed below) have an Auto Spreadsheet Cell Notation on New Book check box that is shown in X-Function Tree View mode (exceptions are wsplit, wsplit_book, merge_book, wmove_sheet). When this box is checked and this bit is enabled, any new workbook created for X-Function output will have SCN turned on (Auto On) regardless of the SCN-state of the active book.

Analysis X-Functions which will not be affected when bit is on:
  • Split Worksheet: wsplit - output follows source book state.
  • Split Workbooks: wsplit_book - output follows source book state.
  • Worksheet: merge_book - if SCN is OFF in ANY source book, will be OFF in output.
  • Move Worksheet: wmove_sheet - output should follow source status.

8 = Added in 2019. Cell notation is turned ON for all workbooks created by LabTalk win -t command or X-Function newbook.

Notes:

  • Default in 2017 SR1 = 7; default in 2019 = 15.
  • To return to 2017/2018/2018b behavior, set RCN = 7.
  • Bits are additive. To turn cell notation on for books created from the New Workbook toolbar button (+1), import follows active book (+2), and conforming X-Function analysis tools (+4), but OFF for new books created by win -t or newbook, set @RCN = 7.
  • See @SCNI, below.
@RCT int RW 1 0,1,2 2016 It controls the rescale behavior when plotting using cloneable template:

0 = Do not rescale
1 = Rescale only first layer if found having data plot
2 = Rescale all layers

@RCW int RW 1 0,1 2019b Control whether to adjust column label width or height of the analysis result columns.

0 = Adjust the height of label row automatically to show all info in the label rows.
1 = Old behavior. Adjust the width of label row.

@RDFI int RW 0 0,1 2025 It controls whether to create index column when send data frame to Worksheet:

0 = not create index column to Worksheet
1 = create index column to Worksheet

@RDP int RW 1 0,1 2019B Whether to reset dialog position on new Origin session startup.

0 = dialog positions will always be remembered. 1 = dialog positions will be remembered within a session but reset to default on new startup.

Persistent

@RDQ int RW 1 0,1 2024 When Column Longname has unmatched double quote, @RDQ = 1 to replace beginning double quote and ending double quote with unicode U+201C and U+201D.

@RDQ=0 to delete the last quote(old behavior)

@RDRC int RW 200 Positive integer 2022b if original Report Data has columns larger then @RDRC, generate report will simply remove all original columns instead of try to preserve them, which will be faster
@RDS int RW 2000 Positive integer 6.1052 It specifies the recordset chunk size for database reading.
@RDV int RW 500000 Positive integer 6.1052 It specifies maximum supported vector size that can go into report data without passing by reference.
@RED int RW 0 0,1 2024b Change Redo and Nonlinear Fit hotkeys.

0 = Implement hotkey Ctrl + Y for menu Edit: Redo and change Nonlinear Fit to Ctrl + SHIFT + Y
1 = Old behavior. Nonlinear Fit uses hotkey Ctrl + Y

@RFCE int RW 1 0,1 2025 @RFCE = 1 to check recent local files when loading Recent Origin Files list. Set @RFCE = 0 if Origin got stuck when clicking File menu or open Recent Origin Files dialog


Persistent

@RFN int RW 1 0,1,2 2025 it control whether to check network files exist when opening Recent Origin Files dialog:

0 = no check. If disable check network files exist, then Recent Origin Files dialog will open fast.
1 = check and use FindFirstFile method(default)
2 = check and use GetFileAttributes method

@RGBS bool RW 0 0,1 2016 It controls which type of color string to show on color button when you selected a single color:

0 = Color button shows color with HTML color notation
1 = Color button shows color with RGB(red, green, blue) notation

@RGO bool RW 1 0,1 2015 It controls whether to resize color scale upon resizing the graph:

0 = Do not rescale color scale upon resizing graph
1 = Resize color scale upon resizing graph

@RHR bool RW 1 0,1 9.0 It controls whether to reset hidden rows or not when clear worksheet for import or save analysis template:

0 = Do not reset hidden rows
1 = Reset hidden rows only if there is any non-empty filter

@RL int RW 1 0,1,2,3,4 6.1052 It specifies the resource language:

0 = Default language
1 = English
2 = German
3 = Japanese
4 = Chinese

@RLC int RW 40 Positive integer 6.1052 It specifies the column auto resize limit upon highlighting columns and double click the divider between columns to auto resize column width. @RLC = 0 means unlimited amount of columns.
@RLL int RW 1 0,1 2024b set @RLL = 0 to disable the REFLINE_LABEL_THEME_MATCH_BY_X_Y_INDEX improvement to refline label theme
@RLP int RW 100 Positive integer number of points for reference line
@RLR int RW 70 Positive integer 6.1052 It specifies the row auto resize limit upon highlighting rows and double click the divider between rows to auto resize column width.
@RLS int RW 0 0,1 6.1052 It controls whether to switch the display language of report sheet to English temporarily if the main language is Japanese or German:

0 = Report language is kept the same as Origin display language
1 = Report language is temporarily switched into English

@RLSLX int RW -1 2025 horizontal panel column for Stats Reference Lines
@RLSLY int RW -1 2025 vertical panel column for Stats Reference Lines
@RLW bool RW 0 0,1 6.1052 It controls whether to apply new format to save Result Log Window:

0 = New format, binary storage record-by-record
1 = Old format, one string which has to be parsed on loading

@RMC int RW 0 0,1 2021b It controls the default choice for the 4 choices reminder message box:

0: no by default 1: yes by default, the same behavior in old version

@RMD bool RW 2 0,1,2 2016 It controls the behavior over whether date time data entry should use last entry's value as default:

0 = Use current year and current month or day if not specified (If part of Date is missing, the supplement would be today's date. If part of time is missing, the supplement is 00 for missing slots.)
1 = Use current year but assume 1st of the month, and Jan if not specified (If part of Date is missing, the supplement gets 1 as month value and 1 as day value instead of changing according to current date.
2 = Use last entered year but assume 1st of the month and last entered month is not specified (If part of Date is missing, use last entered year and use the 1st of the month. The last entered month is not specified.)
Note: if you only entered day for Date, you are not allowed to enter 31 (show as missing value) supposing current month is April which does not have 31 days when @RMD=0, whereas @RMD=1 will show 31 as day directly in regardless of current month limitation.

@RML bool RW 1 0,1 2018b From Origin 2018b, if you have multi-layer graph and layers are linked, clicking the Rescale button will rescale the axis ranges of all linked layers, no matter the axes are linked or not, or which layer are active. Set this system variable @RML = 0 to roll back to the old behavior, which will only rescale the active layer if the axes are not linked.



Persistent

@RMT int RW 3000 Positive integer 2020 The threashold of partial import resulted rows beyond which multi-threaded code is used. Otherwords, if the number of rows imported is less then @RMT, single thread is used.



Persistent

@RNGC bool RW 1 0,1 2025 @RNGC = 1 to enable the cache of range to speed up recalculation
@RNS int RW 2 0,1,2,3 6.1052 It controls the renaming of duplicate loose datasets on project appending:

0 = Old behavior
1 = Numbers, starting with 1, are appended to duplicate base names. In case of loose datasets, if the original name is longer than 23 characters, only the part after the underscore (if found) is used as base name; otherwise the whole original name is used as base name. It the base name plus the suffix is too long to fit into the maximum length 25, the end characters are removed from the base name as needed.
2 = The same as 1, except that letters ("A", "B", ..., "AA", etc.) are appended
3 = The same as 2, except that the letters are prepended (prefix)
Note: loose datasets are not visible and can be seen by typing following command in Script Window:

list s;

after appended projects.

@RNW int RW 2 0,1,2,3 6.1052 It controls the renaming of duplicate windows on project appending:

0 = Old behavior
1 = Numbers, starting with 1, are appended to duplicate base names. In case of loose datasets, if the original name is longer than 23 characters, only the part after the underscore (if found) is used as base name; otherwise the whole original name is used as base name. It the base name plus the suffix is too long to fit into the maximum length 13, the end characters are removed from the base name as needed.
2 = The same as 1, except that letters ("A", "B", ..., "AA", etc.) are appended
3 = The same as 2, except that the letters are prepended (prefix)

@ROI bool RW 0 0,1 6.1052 It controls whether to enable rotating and skewing of Region of Interest (ROI) object:

0 = Disable rotating and skewing
1 = Enable rotating and skewing
Note: for version after 6, rotating and skewing options can be enabled by checking the check-box in Control in Object Properties dialog box.

@ROII int R 1 1,2,3,4 2022b ROI index, 1 = rect, 2 = ellipse, 3 = polygon, 4 = freehand
@ROIMC int RW 0 0-255 2022b Missing value color outside ROI when Create New Image window from a ROI. Treat as RGB/RGBA color if source image is multiple channels. Default is Black.
@ROIR bool RW 1 0,1 6.1052 It controls whether to enable resizing of Region of Interest (ROI) object:

0 = Disable resizing
1 = Enable resizing
Note: for version after 6, resizing options can be enabled by checking the check-box in Control in Object Properties dialog box.

@RPM bool RW 1 0,1 2020b Display OriginPro features in regular Origin main menus:

0 = (default) Show Pro features in menus
1 = Hide Pro features in menus

@RPQ bool RW 1 0,1 9.1 It controls whether LabTalk range declaration preserves quotes or not:

0 = Do not preserve quotes
1 = Preserve quotes
Note:

range r1 = 1!;
 range r2 = "1!";

If @RPQ=0, quotes ”” are not preserved for range declaration so r2 and r1 are the same. Otherwise, range r1 represents first sheet of the active book, r2 represents a column in the current sheet with Long Name = 1!.

@RQS bool RW 0 0,1 2023 set @RQS = 1 to allow range notation quoted short name to work. For example, if you do [“%H”] in your code, then it won’t work, must be [%H].
@RRH int RW 10 Positive integer 2021b It controls the maximum row height of the report sheet's label rows for autosize. 0 means to use original behavior.
@RRL bool RW 1 0,1 2023 rescale only consider reference line if 1. the expression is create with plotdata notation to mention source data, and 2. it's constant or the expression produced constant. Set @RRL = 0 to roll back old behavior
@RRNM bool RW 0 0,1 2018 It controls whether the graph object can be resized when Horizontal and Vertical Movement are disabled.

0= Old behavior. The graph object can not be resized when the Horizontal and Vertical Movement are disabled.
1= The graph object can be resized.

@RRP bool RW 0 0,1 2025 @RRP = 1 will allow row range support 2nd level of indirect indexing, i.e. you can specify row info in other columns in formula, for example A[B[C1]:B[C2]]. Set @RRP=0 if anything about row range goes wrong.
@RRT int RW 4 0 to 100 2020b Determines how the From and To axis scale values are calculated from dataset minimum and maximum values.

4 = (default) From and To values are determined by a complex calculation involving min and max dataset values, rescale margin(%), chosen scale increment and number of minor ticks.

  • When Rescale Margin(%) exceeds the value of @RRT, the default method is used.
  • When Rescale Margin(%) is less than the value of @RRT, then dataset min and max values are padded by quantity n * (data.max - data.min), where n = Rescale Margin(%), to arrive at scale From and To values.
@RS bool RW 0 0,1 6.1052 It controls whether to turn on or off show idle task count on status:

0 = Turn off show idle task count
1 = Turn on show idle task count

@RSL int RW 1 0,1,2 2017 SR1 When an OPJ contains linked cell, the source data change will trigger auto update in the related graph and worksheet. However, search for linked data may heavily slow down speed. This system variable is used to control whether to search linked data and then update related graph/workbook.

0 = rollback to old behavior. Origin won't detect linked values. The graph/workbook doesn't auto update when the source linked data is changed.
1 = enable searching for graph. The plot will be auto updated when linked data change if it is plotted from linked data
2 = enable searching for workbook. The linked data in worksheet will be updated if source data has been changed.
3 = enable searching for both workbook and graph. The linked data in worksheet and graphs plotted from linked data will be updated if source data has been changed.

@RSN bool RW 1 0,1 2018 It controls whehter to correct short name with non English characters when open the OPJ file .

0= Turn off the auto short name correction.
1= Turn on the auto short name correction.

@RSS int RW 20 Natural number 6.1052 It specifies the regional selector sensitivity to the existing data marker in percentage of scatter symbol size.


Note: within the region confined by @RSS from existing marker, new markers will not be created.

@RTM bool RW 0 0,1 9.0 It controls whether to treat missing value as a special incomparable value or not.

0 = Treat missing value as -1.23456789E-300
1 = Treat missing value as incomparable value, return 0 (False)
Note: when use text string to do comparison with a numeric number, text string will be treated as missing value in Origin. Therefore, when use Set Column Value as following will return 0: Input column 1 cell 1 as s1,

col(2) = col(1)<0.5

will return 0 when @RTM=0

@RTOS bool RW 0 0,1 2025 @RTOS = 1 to use old report table style which drawing right bottom grids line next to right bottom frame borders
@RUGT int RW 100 Positive integer 2020b The threshold time (in milliseconds) determining whether a graph should redraw when it is uncovered. If a graph spends less than @RUGT milliseconds to finish drawing, it will redraw itself when being uncovered (regardless of @NPP). Otherwise, @NPP will decide whether the graph should redraw or not.
@RUN int R 0 0,1,2,3 6.1052 It is used to check the running state of Origin from LabTalk:

0 = Running state normal
1 = Running state launching OLE
2 = Running state launching DDE
3 = Running state launching automated

@RVN int RW 441 -1 or a version number 2025 it control which version of R to install, @RVN = -1 to install the latest version, @RVN = 441 to install version 4.4.1
@RWN bool RW 0 0,1 2024 Set @RWN = 1 to allow rename Short Name with Long Name conflict
@RZ bool RW 1 0,1 6.1052 It controls whether to restore zoomed graph to whole page size upon export or Copy Page:

0 = Restore zoom to page size when current graph resolution is different from resolution set in Preference: Options:Advanced:Set Resolution
1 = Keep zoomed graph unchanged

S

Variable Type Access Default Supported Version Description
@S int RW -3 Negative integer 6.1052 It specifies the default lower limit for number of significant digits.
@SAAP int RW 1 0,1 2020 Whether to activate plot by clicking to select that plot.

1 = Always activate the plot when you click to select it, no matter Indicate Active Dataset on Legends/Titles tab of Plot Details dialog is checked or not.
0 = Not to activate the plot when you single click to select it if Indicate Active Dataset is checked. Old behavior.

@SAB bool RW 0 0,1 2021b It controls whether to show Set as Begin context menu:

0 = no
1 = yes
Persistent

@SACS bool RW 1 0,1 2021 It controls whether stacked auto only consider those in axis scale or not:

0 = no
1 = only consider those in axis scale

@SAL bool RW 1 0,1 2022b It controls whether draw additional line when the line goes outside of layer frame:

0 = show additional line 1 = hide additional line

@SANKEYLLG int RW 60 Natural Number 2024 The Gap of Smart Label Position for Sankey Link
@SANKEYMSL int RW 2 0,1,2 2024 implement new sorting mode for Link Order of Sankey Map, @SANKEYMSL = 1 sort by Group Pos, @SANKEYMSL = 2 sort and consider rotate degree
@SAR bool RW 0 0,1 9.0 It controls whether to skip hidden rows upon sorting worksheet or column:

0 = Skip hidden rows and only sort showing rows upon sorting
1 = Sort hidden rows too upon sorting

@SAVEOPJWITHMETADATA int RW 1 0,1 6.1052 It controls whether to save OPJ with file metadata:

0 = Do not save OPJ with file metadata
1 = Save OPJ with file metadata

@SBD int RW 60 -1,Natural Number 2024 Scale Binary Data Factor, it is used to control the binary step height of the binary column curve to make all stacked curvs on same scale. Default is 60 which means 60% of the average Y range of other non-binary plots.

0 = use intrinsic 0 and 1
>0 = with a reference from average range of non-binary plots, apply as a percent, (default = 60)
<0 = use a global fixed factor by another sys var Scale Binary Fixed Factor @SBFF (default 0.005)

Persistent

@SBF int RW 1 0,1 2021 It controls whether operation will sort grouped data by factor:

0 = no
1 = sort by factor

@SBFF double RW 0.005 Positive 2024 Scale Binary Fixed Factor, it is used to control the binary step height of the binary column curve with @SBD
@SBX bool RW 0 0,1 2023b Set @SBX = 1 to allow X-Function's XYRange initialized from selction by X. You can also allow select by x with the following switch:

plotbylabel -cx

@SC bool RW 1 0,1 6.1052 It controls whether sprintf in real2str should account for the case where it could return a double with comma that is decimal separator:

0 = Do not account for the case
1 = Account for the case

@SCCS int RW 0 0,1 2022b Controls sorting behavior in left-panel of Layer Contents dialog box.

0 = no change from previous versions. Sort is not case-sensitive and sorts as Book1 > Book2 > Book10.
1 = sort is case-sensitive sort and sorts as Book1 > Book10 > Book2.

@SCCSF bool RW 1 0,1 2022 When performing Statistics on Columns, preserves input column Format of a Group column in the output sheet (e.g. DescStatsQuantities).

0 = Do not preserve column Format in output sheet.
1 = Preserve column Format in output sheet.

@SCDO int RW 0 -1,0,1 2016 It is used to specify the drawing order of stack column/bar plots,

-1 = plot by plot(old behavior)
0 = smart detect. If there is overlap, plot the bar/column point by point; else, plot bar/column plot plot by plot.
1 = point by point

@SCL int RW 0 0,1,4,5 6.1052 It controls whether column labels allow LabTalk substitution by controlling bits:

1 = Allow substitution for long name
4 = Allow substitution for comments
Note: @SCL is a combination of controlling bits, @SCL=5 (includes @SCL=1 and @SCL=4) means allow substitution for both long name and comments filed.

@SCNC bool RW 0 0,1 2024b It controls the max number of Spreadsheet Cell Notation Characters, 0 = 3 characters, 1 = 4 characters
@SCNFM bool RW 0 0,1 2020 Hide Short menus by default. Set @SCNFM = 1 to show Short menus but keep in mind that they will still not be shown if any Custom menus exist.
@SCNI int RW 3 0,1,2,3 2019b Controls the display of Spreadsheet Cell Notation (SCN) icons in the workbook. By default, SCN is turned on in new workbooks. Since SCN was introduced in Origin 2017, an SCN icon has displayed in the upper-left corner of the workbook when SCN was enabled. Beginning with 2019b, SCN remains enabled, by default, but the SCN icon is not displayed.

0 = No SCN icon displays -- neither the ON icon nor the OFF icon.
1 = Always show an SCN icon (ON or OFF).
2 = Hide the SCN icon if other icons (e.g. Data Connector) are displayed in the upper-left corner of the workbook.
3 = Show only the SCN OFF icon (red "X"), regardless of other icons that may display.


Persistent

@SCNT int RW 0 2018 It is the update timer, basically how fast(in seconds) will cell formula checking for column insert delete that will require formula update. Set to -1 to force clear the cache to force cell formula values to update. Default is 0 to never clear the cache.
@SCNXO int RW 1 0,1 2025 @SCNXO = 1 to support find existing columns when using Spreadsheet Cell Notaion in XF output
@SCP int RW 1 0,1 2024b it controls whether to support cloud project, @SCP=0 to disable opening OPJU/OPJ format from cloud
@SCVIO int RW 1 0,1 2022b Set Column Values should not set an operation lock when using input as output. Set @SCVIO=1 to roll back.
@SCVPL int RW -1 -1,0,1 2023b Determine the check/uncheck status of Col(A): Prefer Long Name menu in Set Column Values dialog.

-1 = In Set Column Values dialog, menu Col(A): Prefer Long Name is checked by default, and the check/uncheck status is stored in worksheet level.
0 = Prefer Long Name menu is always unchecked.
1 = Prefer Long Name menu is always checked.

@SCVU bool RW 1 0,1 2018 It controls whether to keep formula as the user typed in the Set Values dialog or F(x) cell.

0= Do not keep the formula as the user typed in. It will change the CURRENT column Short Name to "This".
1= Keep formula as the user typed in

@SCW bool RW 1 0,1 6.1052 It controls the method when comparing two raw string that contains “**”:

0 = Do string comparison
1 = Check wildcard and do string match
Note: @SCW is only used to check whether raw string (“**”==”Event”) equal or not but not the String object.

@SD int RW 14 1 to 15 6.1052 It specifies the maximum number of decimal digits to print in Script window.
@SDC int RW 0 0,1 2022 It specifies whether to pop up the error message "Please close all open dialogs before closing Origin." when save the project file with some dialogs open.

0 = @SDC The error message will pop up. Need to close the dialogs before saving the project firstly.
1 = @SDC The error message will not pop up. The project file will be saved directly, even there is an invisible open dialog or minimized dialog.

@SDD bool RW 0 0,1 6.1052 It is used to control whether @SD is used as significant digits or decimal digits:

0 = @SD is used for decimal digits
1 = @SD is used for significant digits

@SDMS int RW 1 0,1 2023 support drag multi sheet, @SDMS = 1 to support drag multi sheet, @SDMS = 0 old behavior
@SDO int RW 0 0,1 2022 set to 1 to allow saving project when modal dialog open
@SDN bool RW 1 0,1 2021 Determine whether to change the output column designation.

1 = Not change column designation when the putput range is set as "<input>", or the output is not newly created column.
0 = Old behavior. Always reset/oeverwrite the output column designation.

@SDSP bool RW 1 0,1 2024 @SDSP=1 to skip special points updating when arrange layer for Tile Grid Map to improve speed
@SEC bool RW 0 0,1 2016

It controls which code page to use for syntax edit control:
0 = Use system default code page
1 = Use the same code page as the language version of Origin
You can set @SEC to 1 when you run Japanese version Origin in English language Operation system.

@SED int RW 0 Positive integer 2020 Scientific exponent digits for tick label.


Persistent

@SETDYNACONTROLTTDELAY int RW 500 Natural number 6.1052 It specifies Tool-tips delay in milliseconds for edit box in Dynacontrol.
@SETGRIDOPENCLOSEIMAGE int RW 1 0,1 6.1052 It controls whether to enable “+” icon for indication of folder node expansion:

0 = Disable “+” icon for folder node
1 = Enable “+” icon for folder node

@SETMAXDLGCOUNT int RW 500 Positive integer 6.1052 It specifies the maximum number of dialog objects the allowed to open.
@SIC int RW 7000 -1, Natural number 2018b Optional faster initial rendering of worksheets with large number of sparklines by saving images of sparklines depending on size of image in bytes.

-1 = Don't save any sparkline images in project file.
0 = Save all sparkline images in project file.
7000 = If individual sparkline is < 7000 bytes then save it in the project file.

Persistent

@SF int RW 1 Positive integer 6.1052 It specifies the Char symbol scaling factor in unit of default internal char symbol scaling factor 1000.
@SFB bool RW 1 0,1 2023 @SFB = 0 will turn off Send Feedback link


Persistent

@SFD int RW 1 0,1,2,3 2020b When you perform Copy Columns to on filtered data, you can lock the worksheet filter in the output sheet. Use @SFD to control what displays in Filter label row of output sheet:

0 = display nothing
1 = show filter condition without source info, e.g. "MA"
2 = prefix filter condition with column Long Name, e.g. "state: MA"
3 = prefix filter condition with Range, e.g. "[Book1]Sheet2!A: MA"

Persistent

@SGC int RW 1 0,1 2019 SR0 It controls whether to set a column as categorical if it is mostly text and used as grouping column in an analysis tool or plotting.
@SHDFVSR bool RW 0 0,1 2025 if @SHDFVSR = 1, it will remove the VSShDF when the dataplot it uses is removed or the loose dataset is replaced. Set @SHDFVSR = 0 to leave VSShDFs when the dataplots they use are removed.
@SHG int RW 100 Positive integer 9.1 It specifies the time gap in seconds between messages can be shown.
@SHO int RW 5000 Positive integer 9.1 It specifies the time in miliseconds to keep hint window shown before starting to fade away.
@SHS bool RW 1 0,1 9.1 It is a global switch to turn off showing ANY smart hints:

0 = Turn off all smart hints
1 = Turn on Smart hint display

@SI int RW 100 Positive integer 6.1052 It specifies the number of steps for UV to construct the axis and grid lines for Smith Chart.


Note: the bigger the @SI, the better the resolution of Smith chart would be.

@SID bool RW 1 0,1 2018 It is used to control whether non-English character is allowed for variable name.

1 = stricter variable (identifier) naming convention checking when compiling, so the non-English characters won't work.
0 = loose naming check for identifiers, the non-English characters works (which means the OC compiler behaves like the old version). It is Not recommended.

@SLDG double RW 50 Positive integer 9.1 It specifies the gap between two smart labels in percentage of label height in order to avoid overlapping.


Note: labels will shift along the Reposition Direction specified on the Label tab of the Plot Details dialog.

@SLF bool RW 0 0,1 2025 If @SLF=1 , when making new plot using Origin EXE template, or using extended (downloaded) template, all layers will be changed to fixed factor = 1.
@SLVE bool RW 0 0,1 2019 Whether to use cell value linking in Button Edit Mode.

0 = Always use cell value linking regardless of edit mode,
1 = Switch to old behavior. That is, no cell value linking in the edit mode, which will break the graph containing objects (e.g. reference line) from cell link data.

@SMA bool RW 1 0,1 2019 Whether to draw underline for single letter menu accelerators

1 = single letter menu accelerators are drawn underlined.
0 = restore to the old behavior, in which a Windows setting determines not to draw underline for single letter menu accelerators.

@SMB bool RW 1 0,1 2023 It controls whether to scale the 32 bit images to 16x(zoom factor) bit images for the menu’s:

0 = disable
1 = enable
Persistent

@SMDPA bool RW 0 0,1 2024 It enable Smart Skip Points use the new algorithm of Douglas-Peucker Hull. @SMDPA = 0 new algorithm is applied, otherwise the old algorithm
@SMEP bool RW 1 0,1 2020 It controls whether to show the last data point in Speed Mode and Skip Points mode.

1 = always show the last data point.
0 = old behavior, which is, the last point shows only when it meets the skip condition.

@SMF int RW 12 Natural number 2019 The maximum number of files to show in Recent Files list of Start menu. Note that books (otpu, otp) and graphs (oggu, ogg) are excluded, only recent projects (opju, opj) are listed in Recent Files.


Persistent

@SML int RW 8 Positive integer 6.1052 It specifies the speed multiplier for line plot drawing in speed mode.
@SMLMM int RW 400 Positive integer 2018 It determines the font size increase percentage (as @SMLMM - 100) when drawing this font in the Symbol Map.
@SMM int RW 4 0 to 5 6.1052 It specifies the method for speed mode:

0 = RD_LARGEST_TRIANGLE
1 = RD_Y_THRESHOLD
2 = RD_POINT_DISTANCE
3 = RD_DOUGLAS_PEUCKER_HULL
4 = RD_LOCAL_EXTREME
5 = RD_SORT_ASCENDING

@SMMSF bool RW 1 0,1 2024 @SMMSF = 1 will enable Shapefile Smart Speed Mode
@SMN int RW 10 Positive integer 2019 Control the maximum number of results shown for each category when search in Start menu. When search with category specified (e.g. "m statistics"), or with single category selected in the Settings dialog, the maximum number of search results is double, 2@SMN. For example, with the default value, @SMN=10, top 10 results will show for regular search, and top 20 for category specific search. Set @SMN to 0 means no limitation and all results will show.


Persistent

@SMO int RW 255 Positive number 2019 Restrict default Start menu seach when search does not start with a category keyword. Bit values are additive.

1 = Menu items
2 = Apps
4 = X-Functions
8 = Help
16 = Videos
As of version 2019, 31 = all categories enabled (sum of 1,2,4,8,16) and behaves same as default value of 255.

Note: Entering "s" before search terms is eqivalent to setting @SMO=7 (returns only executable results --Menu Items, Apps and X-Functions) but does not change the current value of @SMO.

Persistent

@SMS int RW 1 0,1 6.1052 It controls whether to ignore speed mode in minimum and maximum value search:

0 = Do not ignore speed mode for Max and Min search
1 = Ignore speed mode for Max and Min search

@SMT double RW 0 Small positive number 6.1052 It specifies the tolerance for determining whether two values are equal or not in speed mode dataset reduce.


Note: current @SMT=0, which means it is very sensitive to difference in data, you can change it to a value like 10^-14 to be less sensitive.

@SMV int RW 1 0,1 2021b It controls when NetCDF set missing value whether to take into account the scale factor.
@SOT bool RW 0 0,1 2025 @SOT = 1 will save an additional theme preview (the opposite for the current mode, either light/dark mode) during project saving
@SOW int RW 0 0,1,2 2016 The LabTalk command Page.Savewks and System Variable @SOW control whether or not to save the whole workbook's data with the graph when saving the graph as an OGG(U) or OLE object. @SOW works by changing the value of Page.Savewks saved in the graph and will only update the value of Page.Savewks in the OGG(U)U or OLE object if the value of Page.Savewks = 0 (default).

0 = Auto, the data saving setting has not yet been saved to the active graph window. Only save data related to current plot.
1 = Save whole source workbook's data when saving OGG(U) or OLE.
2 = Save data only related to current plot.

@SPC int RW 10 Positive integer 2024 Smart paste method when working with Excel data. That is, if you copy data from Excel and select (a) a single cell or (b) whole column in an Origin worksheet to paste, it will smartly detect the data format and put text part into column label (Long Name/Unit/Comment) and numeric into data area, respectively.

In case you can set @SPC=0 to disable this smart paste.

@SPCM int RW -1 -1,0,1,2,3,4,5 2024 Scintilla Print Color Mode:

-1 = use the light theme colors for printing
0 = Print using the current screen colours with the exception of line number margins which print on a white background.
1 = If you use a dark screen background this saves ink by inverting the light value of all colours and printing on a white background.
2 = Print all text as black on a white background.
3 = Everything prints in its own colour on a white background.
4 = Everything prints in its own foreground colour but all styles up to and including STYLE_LINENUMBER will print on a white background.
5 = Print using the current screen colours for both foreground and background. This is the only mode that does not set the background colour of the line number margin to white

@SPD int RW 1 0,1 2023 Small P value Display. When @SPD = 1, we show “<0.0001” in the result on report table if P value < 0.0001
@SPF bool RW 1 0,1 2023 It controls whether Short Path Folder is used anywhere for 2023:

0 = no, use long name(full path)
1 = yes, use short name path
Persistent

@SPIRAL int RW 1 0,1 2022b @SPIRAL = 1 to turn on Spiral Bar Plot
@SPIRALYDIR int RW -1 -1,0,1 2022b SpiralYDirection: -1 = auto, 0 = TowardsCenter, 1 = PerpendicularToCurve
@SPK int RW 0 0,1,2,3 2022b Control of sparklines.

0 = No effect/no change to sparklines.
1 = No new sparklines created but display existing sparklines.
2 = Allow creation, but project sparklines will be hidden upon loading.
3 = Prevent creation, and project sparklines will be hidden on loading.

See also, delete -spk


Persistent

@SPM int RW 3 1,2,3,4,5,6,7 2018b Windows File Explorer can show project file contents as thumbnails, both in icon views (e.g. Extra large icons) and when the File Explorer Preview pane is enabled (ALT + P). For icon views, the window that is chosen to represent the project depends on (1) the following window priority ranking system and (2) the current value of @SPM:


Matrix = 1
Worksheet = 2,
HolderImage = 3 //book with MatrixSheet in Image View
MatImage = 4 //matrix in Image View
HolderGraph = 5
GraphNotOpen = 6 //in another folder, hidden or iconized
Graph = 7

... where "Holder" refers to a Graph or Matrix added to a Workbook as a Sheet, and if a Matrix, View must be Image Mode (View: Image Mode).

See FAQ-926: Can I control which window displays in File Explorer Icon Views and Preview pane? for more details.

Also, see System Variable @PESS.

Persistent

@SPO int RW 1 0,1,2,3 2019

Tweaks search behavior of the Start menu Find box by appending an asterisk (*) or tilde (~) to non-keywords:

  • Asterisk (*) character means that the word will match the typed string and any characters following the asterisk.
  • Tilde (~) character means that for this word, fuzzy search will be employed. This is useful in cases of misspelling.

0 = No appending. This means the exact matches of the typed strings are required.
1 = The asterisk character is appended to the last typed non-keyword.
2 = The tilde character is appended to the last typed non-keyword.
3 = The tilde character is appended to every non-keyword.

Persistent

@SPOS bool RW 1 0,1 2021 It controls whether special point should override Skip Points

0 = Skip Points option is on
1 = special point will override Skip Points option"

@SQB int RW 2 0,1,2,3 6.1052 It specifies the handling mode for database blob import:

0 = Discard blobs
1 = Read blobs as multi-byte text into cell
2 = Read as multi-byte text into cell via embedded note
3 = Read as vector<byte> and embed into cell, and then manage it with OC access via DatasetObject class
Note: For @SQB=1 or 2, the code page specified by @SQBA will be used to convert wchar into multi-byte

@SQBA int RW -1 -1,0,1,2 6.1052 It specifies the code page to use for @SQB=1 or 2:

-1 = Use Origin’s current code page
0 = Default to ANSI code page
1 = Default to OEM code page
2 = Default to MAC code page

@SQL int R 0 0,1,2,3 6.1052 It indicates worksheet database status:

0 = WKS_DB_STATUS_NO_SQL
1 = WKS_DB_STATUS_HAS_DS_SQL
2 = WKS_DB_STATUS_CONNECTED
3 = WKS_DB_STATUS_FAILED_TO_CONNECT

@SQLC int RW 0 0,1 2021 It controls whether to remove comments from the SQL query. When some query string have error, you can try to remove comments or change @SQLC.

0 = not strip comments
1 = strip comments (old behavior)

@SQLT int RW 0 0,2 2020 Origin checks various providers in the following order so which ever gets passed, it is considered as the provider. For the case of MySQL, MSSQL provider schema is also passed: Oracle > MSSQL > MySQL > SQLite

The following system variable is added to control checking order:
0 = current code, internal order
2 = prefer MySQL


Persistent

@SRT bool RW 10 Positive integer 2016

It controls the threshold in percentage that determines whether to bring the Script Window back to default position. If the Script Window is less than 10% (@SRT default value) visible on screen, it will be forced to bring back to default position. If your Script Window is open but not visible to you, you can uncheck Script Window and check it again under menu Window to bring it back to default position.

@SRWS int RW 7 0,1,2,3,5,6,7 2022b Adjust project window size and position according to screen resolution:

0 = No correction.
1 = keep window size, only scale horizontally, window height adjusts accordingly
2 = keep window size, only scale vertically, window width adjusts accordingly
3 = keep window size, scale both horizontally and vertically
5 = only scale horizontally at the ratio of saving/loading resolution, window height adjusts accordingly
6 = only scale vertically at the ratio of saving/loading resolution, window width adjusts accordingly
7 = scale both horizontally and vertically at the ratio of saving/loading resolution

Refer to this FAQ for detailed explanation.

@SS int RW 200 Positive integer 6.1052 It specifies the sleep time in miliseconds between deleting the previous copy of the file and renaming the just saved temporary file to the actual project name upon saving an OPJ file.


Note: @SS=0 is to restore old behavior.

@SSFLV double RW -1 -1, Positive number 9.1 It is used to set the step size for calculating derivative in fitting functions, e.g. Voigt function.


Note: @SSFLV=-1 is to use the default step size (a relative value) for fitting functions, you can manually set @SSFLV to some value like 0.005.

@SSG bool RW 0 0,1 2017 Some Origin tools can be configured to modify the column short name (e.g. Split Worksheet, Import Excel) and this could conflict with spreadsheet cell notation settings. Hence, these controls are hidden by default in select dialogs, in Origin 2017 and later. You can use @SSG to restore column short naming settings in those dialogs in which controls were hidden:

0 = hide column Short Name naming settings in select dialogs (default).
1 = show column Short Name naming settings in select dialogs.

@SSNUT bool RW 1 0,1 2021b suppress series need update test
@SSL int RW 2 Positive integer 2020,
modified 2020b

Controls which string shows on the sheet tab. This is a global control, so will apply to all sheets in new and re-opened projects. Default beginning with 2020b is to display Name (no "Short..." or "Long Name" just "Name"). Previous "Long Name" now becomes "Label" ("Comments" remains as "Comments"). The Label will display in Object Manager but only Name will display on sheet tab, by default. Use the following values to control what displays on the sheet tab. Also, see layer.namemode.

0 = User decides sheet by sheet
1 = Use Long Name/Label, if present
2 = Short Name
3 = Long Name/Label

Persistent

@SSS bool RW 1 0,1 2015 SR1 It specifies whether show the plus sign "+" when the format of tick labels has been set to Scientific: 1E3.

By default @SSS=1, 1E+3 will be displayed as tick label. Set @SSS=0, tick label will show 1E3 instead.

@ST int RW 2 0,1,2 6.1052 It controls whether to support thousand separator in ASCII import:

0 = Do not support
1 = Support
2 = If thousand separator is “.”, then treat as case 1, otherwise treat as case 0

@STATICBLUESEL int RW 1 0,1 6.1052 It specifies the display style for selected static text:

0 = Static text selection will display blue background and dark blue text
1 = Static text selection will display blue background and white text
Note: in Signal Processing: smooth dialog box, if the Method is chosen as FFT Filter, you will see Cutoff Frequency is Read-Only static text. @STATICBLUESEL controls how static text in such situation displays.

@STC int RW 1 0,1 2018 From Origin 2018, the file saving mechanism has been altered to mitigate the potential of losing data or file invalidation when saving Origin Files to a Folder Synced to Google Drive via Backup and Sync app. The temporary file is now always saved to C:\Users\<user>\Documents\OriginLab\TempSave\ rather than the folder the Origin file is being saved to. Set this system variable @STC = 0 to revert back to old behavior, which uses the project's location to save the temporary files.
@STO bool RW 1 0,1 2025 @STO = 1 will apply System increment list color before apply System Theme so the increment list in System Theme will be applied correctly. Set @STO = 0 to old behavior.
@STQ int RW 0 0,1 2024b when @STQ=1 import will not remove thousand separator inside quotes
@STSM int RW 1 0,1,2 2016 SR1 Enables/disables Zoom-Panning hot keys. The variable was added as to work around a problem encountered by some users in which the cursor stuck in Zoom/Pan mode (cursor appears as a small "hand" icon even though the Pointer tool is selected) when hovering on an active graph window. The user is advised to change the value of @STSM to 2; if this does not correct the problem, set @STSM to 0.

0 = disable hot keys
1 = enable hot keys (default) 2 = enable hot keys (workaround)

@SU int RW 6 Natural number 6.1052 It specifies the default upper limit for number of significant digits.


When you enter a number with significant digits more than 6, it will automatically be truncated into 6.

@SUF bool RW 1 0,1 9.1 It controls whether to share user defined fitting function in User Defined category if it is created elsewhere:

0 = Do not share so user can only see user defined fitting function in the category where it is first put into
1 = Share user defined fitting functions in User Defined category so you can always find user defined function in User Defined category in regardless which category it is originally put into

@SVE bool RW 0 0,1 2023b when X-Function opened by menu, @SVE = 1 to ignore Labtalk string variable( path$ and fname$ etc.)
@SVGC bool RW 1 0,1 2023 Added the clipping of the SVG drawing (newly created objects only) using the box in the SVG’s root element. Set @SVGC = 0 to disable this implment
@SVGD bool RW 1 0,1 2024 It enable the fix for SVG’s Dimension size issue. Set @SVGS = 0 to old behavior
@SVGDM int RW 1 0,1 2025 LaTeX SVG supports dark mode. 0 = off. 1 (default)= On.
@SVGI int RW 0 0,1 2024 true to add plot element info as GDI comments to SVG export of Origin graph
@SVGTC bool RW 1 0,1 2022b Determine whether to output text coordinates when exporting graph as SVG format.

0 = output text i as it is. 1 = text is output, whenever possible, with coordinate for the first character only.

@SVRE bool RW 1 0,1 2023b it controls whether report error when compute vector, @SVRE = 0 to disable
@SW int RW 1 0,1 6.1052 It controls whether to enable OC based Script Window:

0 = Disable OC based Script Window
1 = Enable OC based Script Window

@SWC bool RW 0 0,1 2017 It controls whether to disable the "wait cursor" mode. We can disable the "wait cursor" mode to speed up labtalk scripts running time
0 = disable ""wait cursor" mode
1 = enable "wait" cursor mode
@SWF int RW 0 0,1 2023 it controls Script Window font:

0 = use value of ScriptWindowFaceName in origin.ini, default is Courier New
1 = use Scintilla's font, default is Courier New

@SWFS int RW 0 0, Positive integer 2023 It controls Script Window font size
@SWH int RW 1 0,1 2023 Shortcut Window Hide. When closing a window that is a shortcut, always do Hide with @SWH = 1.Set @SWH = 0 to revert back to old way
@SXA bool RW 1 0,1 2021

Updated 2022

On some systems, users report that when attempting to save projects with links to internal or external Excel files, they receive an error: "... failed due to an external Excel book saving failure. You will need to resolve that first and then try saving the Origin project again."

1 = Activate the Excel book when saving project.

Note: Previous default value of 0 changed to 1 in Origin 2022.

@SYSFONTCLEAN int RW 1 0,1 6.1052 It controls whether to clean up cache of fonts in the DDK dialog when all OC controls of system fonts are closed:

0 = Disable cleanup of fonts
1 = Enable cleanup of fonts


T

Variable Type Access Default Supported Version Description
@TAC int RW 1 0,1 6.1052 It controls whether to enable ternary axis cutoff:

0 = Disable ternary axis cutoff so axis length will not be shortened for changed scale
1 = Enable ternary axis cutoff, it will cut off axis length for changed scale
Note: @TAC is only available for version earlier than 9.1.

@TAN bool RW 1 0,1 9.0 It controls whether to treat all non-finite value as NANUM for double compare:

0 = Do not treat as NANUM
1 = Treat as NANUM

@TAPP int RW 130 -1000 to 1000 2015 It specifies additional offset for supperscript prime symbol in permillage of the font height.

Note: to adjust the offset of supperscript prime, you need to first enter the superscript and in the inplace edit mode, do Ctrl+' to add the prime. And then change the value of @TAPP and refresh to see the effect.

@TBAS int RW 200 Positive integer 2023 It is the scale of menu image for high resolution



Persistent

@TBS int RW 0 0,1,2 2023 toolbar resolution. 0 = default, the old 16x16 toolbar, 1=auto, 2 = use high res icons



Persistent

@TCBL bool RW 1 0,1 2019 It controls whether to auto-reposition the contour line labels after applying custom boundary.

1 = allow to auto-reposition labels Note that you need to hide and show labels again to force the updates.
0 = old behavior. Disable the auto reposition feature.

@TCE int RW 3947775(Color(255, 60, 60)) -- 2018b It controls the color of the sheet name shown in the sheet tab indicating that this sheet has been excluded for plotting dialogs, such as Layer Content and Plot Setup dialog. You can set the tab text color with the color function and RGB values as below:

@TCE = Color(255, 100, 60);

You can refer to the color function page to learn how to set the RGB values.

Persistent

@TCF bool RW 1 0,1 2020b Controls whether to support cell formula and keyword "This" for column formula when workbook SCN is off.

0 = disable cell formula and "This" for column formula
1 = support cell formula and "This" for column formula

@TCIN bool RW 1 0, 1 2016 Determines whether plot color is mapped to column index or to column name. If mapped to column name, you can copy plot format and paste to another graph plotted from the same sheet and the color map of the source plot is applied. In versions prior to 2016 , this would fail since color map relied on column index relative to the plotted data.

0 = relate color map by column index
1 = relate color map by column name

@TCP int RW 0 0,1,2,3 2024 It controls whether the Insert Table (in the Graph or Layout) follows dark mode.

0 = follow graph's dark mode
1 = follow worksheet's dark mode
2= light mode
3= dark mode

@TCS int RW 100000 Positive integer 2022 It specifies the maximum number of points for tri-contour smoothing beyond which no smoothing will be done.
@TCSM int RW 7 Positive integer 2018 Improved tri-contour smoothing mode for color-filled contour produces cleaner boundary. Bit values can be added.

0 = Pre-2018 behavior
1 = better custom data boundary
2 = use NAG to generate boundary (more reliable and better quality)
4 = Re-use NAG triangulation output when resampling

@TCT int RW 75 Natural number 9.0 It specifies theme consolidation threshold in percentage.

0 = Disable consolidation and globalization of theme nodes
>100 = Add a node of selected object to the theme tree
Note: currently even if you click and select one object, such as just the X title, the theme tree from GUI still consolidates items under both Titles, Global etc.

@TCZS bool RW 0 0,1 2021b xyz contour Z scale type use colormap scale type. default is off 0.
@TDT int RW 220 Natural number 2019 Controls the degree of transparency for Data Point Tooltips.

1 - 254 = Degree of transparency. The smaller the number, the greater the degree of transparency.
0 or 255 = turn off transparency.

Persistent

@TEB int RW 1 0,1,2 9.0 It controls the method of how to discard blank values when importing ASCII:

0 = Do not trim any blank values
1 = Trim blank values with SPACE delimiter
2 = Trim blank values with SPACE or TAB delimiter

@TEC int RW 0 0,1 6.1052 It controls whether to enable tri-contour data reduction for speed mode:

0 = Disable tri-contour data reduction
1 = Enable tri-contour data reduction

@TED int RW 500 Positive integer 6.1052 It specifies the number of points that tri-contour data will be reduced into for plotting if number of data points is larger than @TED.


Note: if number of data points is less than @TED, it will not be reduced.

@TEE bool RW 1 0,1 2015 It controls whether to apply new behavior to rescale operation when Fill to Grid Lines is selected in Colormap/Contour tab in Plot Details dialog for contour plot:

0 = Revert to old behavior
1 = Apply new behavior

@TEM int RW 1 0,1 6.1052 It controls whether to enable new matrix contour drawing code:

0 = Use old matrix drawing code
1 = Use new matrix drawing code

@TES int RW 0 0,1 6.1052 It controls whether to enable strict text escape:

0 = Use less strict text escape so it will skip erroneous spaces and tabs in the escape e.g. \b (data) -> \b(data)
1 = Use strict text escape so it will not skip spaces or tabs in the escape

@TET double RW 0.05 0 to 1 6.1052 It specifies the percentage accounting for missing value level for missing value handling in XYZ contour.


Note: Missing level = min – (max-min)*percent where percent=@TET.

@TEV int RW 1 0,1 6.1052 It controls whether to enable missing value skipping in 3D surface plots:

0 = Disable missing value skipping
1 = Enable missing value skipping so missing value will not be drawn

@TF int RW 0 0 to 100 6.1052 It specifies the factor in percentage to reduce text height measurement for extra tight.
@TFC int RW 1 0,1 2024 text object fill color: 1 = None, 0 = white.
@TFIQ bool RW 1 0,1 2024b @TFIQ = 1 to use PT_TRIANGLE_FAN instead of PT_QUADS to fix Axis title fails to show equation in dark mode issue
@TFL int RW 50 1 to 65535 9.1 It specifies the maximum length for text filter label.


Note: the first string and last string are always shown (ignore @TFL) and the total length of the strings in the front will not exceed @TFL. If it total string length is larger than @TFL, the rest of the strings will be shown as “…”.

@TFS int RW 0 0,1,2,3 9.1,
2019b
It specifies text filter label separator type:

0 = Enter
1 = Space
2 = Comma
3 = Semicolon

Note: The default value, originally 1, was changed to 0 in 2019b.

@TGP bool RW 0 0,1 6.1052 It controls whether to use GDIPlus for data plot label text if the plot is transparent:

0 = Do not use GDIPlus for data plot label text
1 = Enable GDIPlus for data plot label text

@TIB int RW 0 0,1,2,3 2021b Origin 2021b changed the data import routines associated with Import Single ASCII and Import Excel toolbar buttons. Use this system variable to control which import routine is associated with the two buttons.

0 = Open Data Connectors when buttons are clicked
1 = Open impASC with Import Single ASCII button
2 = Open impMSExcel with Import Excel button
3 = Reconnect both impASC and impMSExcel to toolbar buttons

Persistent

@TIZ int RW 150 50-200 2023b Scale icon size by @TIZ%. See detailed use on this document of View: Toolbars menu > Options tab > Scale Icons item.



Persistent

@TK int RW 0 0,1 6.1052 It controls the behavior for tick setting:

0 = Accept template tick settings
1 = Force tick settings to follow @TKP and @TKS

@TKP int RW 10 0,1,2,4,5,6,8,9,10 6.1052 It specifies the primary axis (Bottom/Left) tick direction by controlling bits:

1 = Major in
2 = Major out
4 = Minor in
8 = Minor out
Note: @TKP is a combination of controlling bits, @TKP=10 means major out (@TKP=2) and minor out (@TKP=8) by default.

@TKS int RW 5 0,1,2,4,5,6,8,9,10 6.1052 It specifies the secondary axis (Top/Right) tick direction by controlling bits:

1 = Major in
2 = Major out
4 = Minor in
8 = Minor out
Note: @TKS is a combination of controlling bits, @TKS=5 means major in (@TKS=1) and minor in (@TKS=4) by default.

@TL int RW 10 Natural number 6.1052 It controls whether to use linear ticks for Log scale short range:

0 = Original behavior, use non-linear ticks
10 = Allow within 1 decade to be linear
Note: linear ticks will be used for range that satisfy condition 10*log10(max/min)<=@TL.

@TLC int RW 0 0,1,2 2020 It controls whether to remove trailing 0 in axis labels.

0 = Show zeros at the end of integer number according to the digits settings of axis labels.
1 = Always display the zero point label on the axis scale as '0', overriding other format options (e.g. Set Decimal Places = 2).
2 = Always remove trailing zeros from axis tick labels, overriding other format options (e.g. Set Decimal Places = 2).

Note: Bit values are additive (e.g. 3 = Always display zero as '0' and remove trailing zeros from all tick labels).

Please note, for Origin 2020 and 2020b, the default value of this variable is 3; since Origin 2021, the default value has been set to 0.

@TLBRNT int RW 1 0,1 2017 It controls whether to keep custom toolbars/buttons when user click the Reinitialize button in the Customize Toolbars dialog.
0 = reinitialize the custom toolbars/buttons
1 = keep the position of custom toolbars/buttons
@TLF int RW 1 0,1,2 2016 SR1 It controls whether to remember the filter status in template library
0 = never remember, always reset to no filter
1 = remember between open in same session (default)
2 = remember between sessions
@TLD bool RW 1 0,1 2015 It controls whether to automatically set Y axis labels to Time if Y column is Time:

0 = Do not auto set Y axis labels as Time even if Y column is Time
1 = Set Y axis labels to Time if Y columns is Time

@TLH bool RW 1 0,1 2021 It controls whether tick label to show the time HH:mm > 24 hours

0 = 25:00 will display as 25:00
1 = 25:00 will display as 1:00

@TLIP int RW 80 Positive integer 2023 for wrap text, if the length of text string not more than the value of system variable @TLIP , double click a text object to open in-place edit mode, else, open properties dialog
@TLIPN int RW 60 Positive integer 2023 for wrap not enable text, if the length of text string not more than the value of system variable @TLIPN, double click a text object to open in-place edit mode, else, open properties dialog
@TLM int RW 3 Positive integer 2021b Number of consistent structure lines when there are many columns (defined by @TLN)
@TLN int RW 15 Positive integer 2021b Number of detected columns to be considered many in header line during import.
@TM bool R 0 Non-negative number 6.1052 It is used to check whether internal timer is running or not.
@TMB bool RW 0 0,1 2024b it controls Time Series Unstack Output how to horizontally merge Interval, Start and End rows:

0 = old behavior, i.e. the entire label is set to merge as a Named Style
1 = merge within each bucket info label such that it includes all the output columns within one bucket

@TMN int RW -1 -1 to 15+ 2016 At the page (graph) level in Plot Details, there is a Match Modifier by (for template and copy format) list. The @TMN system variable determines which column supplies colormap data for the destination graph, when you perform a Copy/Paste Format To operation. The default is to follow the destination graph's Match Modifier by (for template and copy format) setting.


-1 = follow destination graph window setting (default)

Override with the following values:
0 = Column Index (offset)
1 = Short Name
2 = Long Name
3 = Units
4 = Comments
5 to 15 = Parameters (by index)
16+ = User-defined parameters (by index)

@TMPLSI bool RW 1 0,1 2016 It controls whether to save additional source information into template before saving template to make it cloneable:


0 = Do not save source book, sheet, column info in graph template
1 = Save additional source book, sheet, column info in graph template
Note: by default, source book, sheet, column info will be saved into graph template, to turn it off set @TMPLSI = 0 and make sure Mark as Cloneable option is unchecked in template Save As dialog.

@TNA int RW 1 0,1,2,3 2018 Specifies whether to disable active data indicator in legend and/or unicode minus sign in axis tick labels in all build-in graph templates.

0 = Enable the "Indicate Active Dataset" feature if a template had it on when the template was created. 1 = Disable active data indicator in legend in all build-in graph templates. 2 = Disable unicode minus sign in axis tick labels. In this case, a single-hyphen symbol ("-") is used as minus sign. 3 = Disable both unicode minus sign in labels and active indicator in legend.

@TND int RW 0 0,1,2 2017 SR2 It controls whether to show label for LabTalk tree.

0 = show tag name only;
1 = show label (display name) only (if not exist, show tag name instead);
2 = show both tag name and label (in parentheses).

Note: this variable will change all LabTalk tree, not limit to the tree output from X-Function.

@TNLM int RW 20 Positive 2025 It controls TreeNode Link Label Resolve Max Level. If worksheet cell wrongly display the raw cell link text, you can try increasing @TNLM.
@TO bool RW 0 0,1,2 6.1052 It controls how to draw text:

0 = Draw text labels using APIs (such as ExtTextOut())
1 = Force Origin text to be drawn using polygons instead of standard text drawing GDI calls
2 = Similar to @TO=1, but inside DrawTextDeviceHandle::OutGlyphData(), it will draw polygons as antialiased

@TOB bool RW 1 0,1 2017 It controls whether to force Bezier curves generation in Origin text drawed via polygon(@to=1/2 or @emrd=1/2/3). It makes the text object not jagged when export EPS/PDF file.

0 = disable the Bezier curves generation for text object (in polygon).
1 = force Bezier curves generation in drawing Origin text (in polygon)

@TOML int RW 1000 Natural number 2017 It specifies the maximum number of lines in text object, use 0 or negative value to disable the limitation.
@TOS bool RW 1 0,1 6.1052 It is used to control how the text will be stretched:

0 = Text out is not stretchable
1 = Text out is stretchable in window mode

@TPA bool RW 1 0,1 2024 theme plot annotation, 1 for strict mode which has valid reference point, 0 for otherwise
@TRM int RW 30 Positive integer 2023b It controls the minimum length of the longer rectangle side (in pixels) to show mini toolbar when user drags a rectangle in graph window
@TS int RW 0 0,1,2 6.1052 It determines how ternary data are normalized:

0 = Auto determination of what the sum should be (1 or 100) based on the data
1 = The sum must be 1
2 = the sum must be 100

@TSD bool RW 1 0,1 2016 It controls whether to use tab style or treenode style dialogs:

0 = Older behavior, will use treenode style dialogs
1 = New behavior, will use tab style dialogs

@TSEL bool RW 0 0,1 2024b For Time Series Data Unstacking, when End is <end>, @TSEL=1 to add 999 milliseconds to the numeric value of the “End” label. This may make sense when the format of “End” label is such that it shows milliseconds, but if it does not, the seconds will be rounded up, which is probably not desirable.
@TSL int RW 50 Positive integer 6.1052 It specifies how many lines need to be scanned in order to decide maximum number of tabs/columns to be used.
@TSS int RW 0 0,1 2020b It controls whether to save the splitter to page template. 0 = on, 1 = off.
@TSSB int RW 0 Natural Number 2025 Multi-selection List Control selection background color


Persistent

@TSWV int RW 0 0,1 2022 text separate world & view
@TTD double RW 1 0 to 2300 6.1052 It specifies the float number testing tolerance used by 3D graphing in normalized single unit.


Note: for example, (x1, y1, z1) and (x2, y2, z2) will be identified as the same point if and only if: ABS(x1-x2) < @TTD and ABS(y1-y2) < @TTD and ABS(z1-z2) < @TTD. @TTD is in 1 unit of total page height.

@TTG int RW 0 0,1 6.1052 It controls whether to apply new behavior to scaled-in image for image plot:

0 = New behavior, always clip image plot to axes range
1 = Old behavior, allow Image plot shown out of axes range without clipping any pixel

@TTO int RW 30 -1,Natural number 2025 It controls Table Row Title offset. @TTO = -1 to use auto offset(old behavior)
@TXTH int RW 50 0 to 100 9.0 It specifies the threshold to decide whether the column is numeric or text column in percentage.


Note: if the percentage of text format cells in the column is not less than @TXTH, the column is regarded as text column.

U,V,W

Variable Type Access Default Supported Version Description
@U bool RW 0 0,1 6.1052 It controls whether axis label and data point label should have base line for printing:

0 = Axis label and data point label has base line, so it will be offset from its label frame
1 = Axis label and data point label has no base line, so the label will be in touch with the bottom of label frame

@UCI bool RW 0 0,1 6.1052 It controls whether to update color map immediately after change the scale settings from LabTalk:

0 = Do not update after scale change
1 = Update after scale change

@UCM bool RW 1 0,1 2015 SR2 Prior to Origin 2015 SR2, worksheet cell links to embedded graphs in the same book, referenced the graph by name. As a result, actions that duplicated the sheet or book (sheet or window duplication, saving a workbook as an analysis template) retained cell links to the original embedded graph, rather pointing to the embedded graph contained in the duplicated sheet or book. It was decided that this behavior was not logical and now, duplicated links will update to point to a graph with the same relative path as existed between the original linked cell and embedded graph. You can restore the previous behavior using @UCM.


0 = Old behavior. Absolute path to embedded graph is kept when duplicating window.
1 = Relative path to embedded graph is used when duplicating window.

Note: See system variable @DBOGW.

@UD bool RW 0 0,1 6.1052 It controls whether to disable all UNDO operations:

0 = Enable UNDO operations
1 = Disable all UNDO operations globally

@UDBP bool RW 1 0,1 2024b @udbp = 0 to check dispose page undo creation before push
@UDBUAO bool RW 1 0,1 2024b @UDBUAO = 1 to fix color undo gone after plot type change. Set @UDBUAO = 0 back to old behavior
@UDN bool RW 1 0,1 9.1 It controls whether use LabTalk to set decimal places should convert data to scientific notation:

0 = LabTalk set decimal places will convert data to scientific notation
1 = LabTalk set decimal places will not convert data to scientific notation
Note:@UDN=1, run script “type $(0.000123456, .0);” will be 0 whereas @UDN=0 will be 1E-04.

@UDRFSD bool RW 1 0,1 2024b @UDRFSD = 1 to fix plot undo gone after PD change. Set @UDRFSD = 0 back to old behavior
@UFMTC bool RW 1 0,1 2023b when dragging individual floating window back into the workspace, @UFMTC=1 will retract the window to current folder
@UHC int RW 0 0,1 2018 Controls ASCII export of hidden worksheet columns

0 = do not export hidden columns
1 = export hidden columns

@UIM bool RW 0 0,1 2017 SR1 Hide or Show the UIM toolbar when the user is in Edit Mode (Edit: Edit Mode).

0 = Hide the UIM toolbar in Edit Mode
1 = Show the UIM toolbar in Edit Mode

@UL bool RW 0 0,1 6.9192 It controls whether to enable LabTalk UNDO set property:

0 = Disable LabTalk UNDO set property
1 = Enable LabTalk UNDO set property

@ULPA bool RW 1 0,1 2024b @ULPA = 1 : NO smart add legend on add plot
@UN int RW 10 -1, Natural number 6.1052 It specifies the maximum depth of UNDO stack.

Note: @UN=-1 means can UNDO unlimited steps in an operation; @UN=0 is to disable UNDO.

@UNCS bool RW 1 0,1 2025 @UNCS= 1 to prevent Origin from clearing undo stack for Datasheet::CreateData.
@UND bool RW 1 0,1 2015 It controls whether to use new Digitizer:

0 = Use old digitizer
1 = Use new digitizer

@UP bool RW 0 0,1 6.0291 It controls whether to allow printing/exporting of UIM(User Identifier Module) Objects such as Button:

0 = Do not allow printing/exporting of UIM objects
1 = Allow printing/exporting of UIM objects

@UPA bool RW 0 0,1 2023b Set @UPA=1 to show Analysis Marker in the exported graph when export using File: Export Graph menu, and Edit: Copy Graph as Image menu. By default, Analysis Marker is not shown on the exported graph.


Persistent

@UPC bool RW 1 0,1 6.1052 It controls whether to print/export Graphic Objects that associated with script command:

0 = Do not print/export Graphic Objects with commands
1 = Print/export Graphic Objects with commands

@UPM int RW 1 0,1 2024 It controls whether to export including Graphic Objects, when export matrix window as image

0 = export matrix excluding the graph objects
1 = export matrix including the graph objects

@UPMG int RW 250 Positive integer 2017 It specifies the minimum time in ms to show the message about unpacking OPX. Set to 0 to disable the message completely
@UPN int RW 0 0,1 2018b Any object with name beginning with "NoExport" will be skipped for export, print, or copy page. Set variable @UPN = 1 to turn off this feature.
@URC int RW 2 0,1,2 2024b It's about reverse undo cleanup order.


Persistent

@URPC int RW 1 0,1 2022b It's Relative Position Improvement for Linked Objects in Asterisk Bracket tool and Distance Annotation tool:

0 = use the old connector
1 = use follow reference point connector

@USKT int RW 7 Natural number 2018 It specifies the keeping time in days of unSaved projects. Refer to this page for details of "Autosave Unsaved Project"
If set @uskt=-1 unSaved projects will never be deleted.
If set @uskt=0 "Autosave Unsaved Project"feature will turn off.
@USM int RW 20 positive integer 2018 Specify the maximum size, in MB, for autosaving of unsaved files. Size is defined as size reported in Properties of root folder in Project Explorer. Default of 20MB is same as it is for periodic autosave of modified project files.
@USPT bool RW 1 0,1 2023b @uspt=1/0 to show/hide tooltip for unselectable plot
@UTTH int RW 50 0 to 100 9.0 It specifies the unique text threshold in percentage to set X, Y columns as Categorical for 3D plotting.


Note: when (unique text count) / (total text count) <= @UTTH on 3D dependency column X and Y, the corresponding column will be set as categorical.

@UV bool RW 1 0,1 6.1052 It controls whether to enable vectorization when use LabTalk to call Origin C function:

0 = Disable Vectorization upon using LabTalk to call Origin C function
1 = Enable Vectorization upon using LabTalk to call Origin C function

@UWA bool RW 0 0,1 6.1052 It controls whether to delete embedded graph (embedded into cell) when delete worksheets.

0 = Detete embedded graph when delete worksheet 1 = Do not delete embedded graph when delete worksheet but embedded graph still exists

@UWT bool RW 1 0,1 2024 Update Window Title, @UWT=1 to update window title on switching dark mode in windows10
@V double R Depends on version 6.1052 It indicates the Origin version number.


Note: @V and System.Version object property are equivalent.

@VA bool R 0 0,1 2019 It indicates Origin runs as Administrator or not.

0 = not run as Administrator
1 = run as Administrator

@VAS bool RW 1 0,1 2019b It controls how to determine the vector length when performs arithmetic on two vectors.

1 = arithmetic will use the longest vector.
0 = old behavior, which used the first vector.

@VB int R Depends on operation system 32,64 2015 It indicates Origin bit version, returns 32 or 64.
@VDF bool RW 0 0,1 6.1052 It controls whether to report the Origin version in which the file was saved to script window upon opening an opj file:

0 = Do not report Origin file saved version to script window upon opening
1= Report Origin file saved version to script window upon opening Note: The report message in the script window is like “Origin version used when file was saved: 9.100271”.

@VDM int RW 0 0,1 9 It controls the variance divisor mode used in parameter esitmation of normal distribution in Distribution fit.
0 = DF
1 = N
@VFD bool RW 1 0,1 6.1052 It controls whether to enable Vista and Windows 7 to use their native File dialog:

0 = Disable Vista and Windows 7 to use their native File dialog
1 = Enable Vista and Windows 7 to use their native File dialog

@VFO double RW 0 Depends on version 6.1052 It indicates the Origin version used to save the current project.


Note: for all the projects that were saved in Origin version 6 or earlier, @VFO will be 0.

@VG int RW 0 Natural number 6.1052 It controls whether to tag LabTalk variable with group number:

0 = Do not tag LabTalk variable with group number
>0 = All newly created LabTalk variables will be tagged by Group number

@VID bool RW 1 0,1 2023 It controls whether open the Origin internal viewer image dialog, when click the path link of the exported graph in Message Log. This internal viewer only support these formats: PNG, BMP, JPG and EMF .

0 = Not open the Origin internal viewer image dialog. The image will open in image viewer on the PC.
1= Open the Origin internal viewer image dialog
Persistent

@VIM int RW 400 Positive integer 2023b minimum number of pixels to set view image on initial import



Persistent

@VIS bool RW 1 0,1,100 2021 It is the same as the COM Visible property:

0: hide Origin 1: show Origin 100: show Origin, if it was originally maximized when @VIS = 0, then show again with @VIS = 100 will make Origin Maximized again.

@VJ bool R Depends on version 0,1 6.1052 It indicates whether Origin version is Japanese:

0 = Not Japanese
1 = Japanese

@VLP bool R Depends on version 0,1 6.1052 It indicates Origin version:

0 = Regular version
1 = Pro version

@VM int R 0 0,1,2 6.1052 It indicates Origin Demo type:

0 = Normal
1 = Large demo
2 = Small demo

@VMR bool RW 1 0,1 2018b It controls whether to enable "dynamic end" range for virtual matrix. Set @VMR = 0 to disable "dynamic end" range.
@VMSEC bool RW 1 0,1 2025 @VMSEC =1 to skip the empty columns in the end of sheet if user select whole sheet to create virtual matrix
@VN double R Depends on project 0 to 88 6.1052 It specifies the version of loaded OPJ file rather than the version of Origin.
@VR bool RW Depends on state 0,1 6.1052 It indicates whether Origin is registered:

0 = Not registered
1 = Registered
Note: setting @VR to a value greater than zero will bring up the registration dialog box.

@VRL int R Depends on version 1,2,3,4 6.1052 It indicates the language version of Origin:

1 = English
2 = German
3 = Japanese
4 = Chinese

@VRS int R Depends on serial number 6.1052 It indicates the last 7 digits of Origin serial number.
@VRT bool RW 0 0,1 2022b View Raw Text, @VRT=1 to disable substitution on a graph so you can put in many testing text and can easily check
@VTH bool RW 0 0,1 6.1052 It controls whether to show the Quick Help window:

0= Do not show
1= Show

@VTP bool RW 0 0,1 6.1052 It controls whether to show the Project Explorer window:

0= Do not show
1= Show

@VTR bool RW 0 0,1 6.1052 It controls whether to show the Results Log window:

0= Do not show
1= Show

@VTS bool RW 1 0,1 6.1052 It controls whether to show the Origin window's status bar:

0= Do not show
1= Show

@W double RW 1 Positive integer 6.1052 It controls the Window View font size. The larger @W is, the larger font size is.


Note: you can switch to Window View by selecting View:Window View in main menu.

@WAS bool RW 1 0,1 2024b Make the invisible selected cell come back into view with any change. If you select a worksheet cell and then scroll to move this cell out of view, any changes to chis cell, such as fill color, delete, copy/cut, mask/unmask, fill data value by Formula bar, will bring the selected cell back into view.

Set @WAS = 0 to roll back to the old behavior. That is, stay in the current view.

@WC bool RW 0 0,1 6.1052 It is used to get first line in Workbook Comments upon inserting workbook comment as info variable.


Note: if active workbook has Comments, when you insert text object with script “%(1Y,@WC)”, it will show the first line of workbook comments.

@WCA int RW 1 0,1 2022 new column use pure alpha name. 0 = use numeric suffix
@WCAA bool RW 1 0,1 2023b It enable wks.col property setting auto add col. Set @WCAA=0 to disable
@WCJK int RW 1 0,1 2022b It controls whether to wrap East Asian (Chinese, Japanese, Korean) text in tick labels according to the length:

0 = disable
1 = enable

@WCRAG bool RW 1 0,1 2023 @WCRAG = 1 will make worksheet cell use same gap between different alignments. Set to 0 to roll back to old behavior
@WCSF double RW 2 Natural number 2024 It indicates the ratio of Image Height and Font Height in worksheet cell. Change it to adjust the image height.
@WCSGH int RW 6 Positive integer 2015 It specifies the default graph autosize height for embedded cell size graph in unit of default row height.
@WCSGW int RW 2 Positive integer 2015 It specifies the default graph autosize width for embedded cell size graph in unit of default row width.
@WCSIH double RW 6 Positive integer 2015 It specifies the default image autosize height for embedded cell size graph in unit of default row height.
@WCSIW double RW 2 Positive integer 2015 It specifies the default image autosize width for embedded cell size graph in unit of default row width.
@WD int RW 0 0,1 6.1052 It controls the behavior when use “win –t wks template name” to create worksheet. If worksheet already existed, command will do nothing. If not, but dataset of same name with template already existed:

0 = Do not delete existing same name dataset but show command error
1 = Delete all existing datasets with same name

@WDCPA bool RW 0 0,1 2024 It allow loading template in making new graph to convert to Auto, default is off.

Set @WDCPA=1 and @GVC=1, it will load template in making new graph to convert to Auto. Set @WDCPA=1 and @LOADA=1 before loading project, it will allow convert on loading opju

@WDD int RW 0 0 to 31 2024 It specifies disable dark mode widown type by controlling bits:
1 = graph
2 = worksheet
4 = matrix
8 = image
16 = notes
Note: @WDD is a combination of these controlling bits which produces cumulative effects


Persistent

@WDS int RW 1 0,1 2023b @WDS = 0 to disable a fix for 2D Waterfall Z title cannot move back issue
@WE bool RW 0 0,1 6.1052 It controls whether to move cursor to another cell when cursor reaches the editing cell end by using Left or Right arrow key:

0 = Cursor stays at the end of cell when cursor reaches the end of cell
1 = Cursor will move out the editing cell to its adjacent cell when cursor reaches the end of cell
Note: @WE is not no longer for use after version 7.5.

@WEF int RW 0 0,1 8.108988 It controls whether to show worksheet Edit Formatting item when right click on title bar or grey open area in the worksheet:

0 = Do not show
1 = Show

@WFB bool RW 0 0,1 2023 @WFB = 1 to block formula execution, and set @WFB = 0 will trigger recalculation
@WFI int RW 1 bool 2019b By default, when saving a workbook with a Data Connector (DC), imported data are excluded (not saved with the file). If you add a data filter to the workbook, when the file is reopened, the data filter is auto-run after import. Use @WFI to control whether data filters in a DC workbook auto-run after import:

0= Do not run worksheet filter after import.
1= Run worksheet filter after import.

Persistent

@WHT int RW 100900 Positive integer 2023 Control the color of hidden sheet(s) listed in dialog panel (such as Layer Content and Plot Setup dialog, Workshee Organizer). The color is in RGB decimal value calculated by function color(r,g,b,1).


Persistent

@WIG int RW 4 Positive integer 2019b It controls the gap between icons attached to the top-left corner of worksheet. Its value is scaled for high DPI to obtain the actual gap in pixels.
@WKSP bool RW 1 0,1 2024 control the using of cache for worksheet drawing performance
@WKSS bool RW 1 0,1 2024 It implement the fix for worksheet column list view bug due to worksheet split. Set @WKSS = 0 to roll back.
@WLMT int RW 1 0,1 2023 @WLMT = 1 to allow change Worksheet Table settings(show heading, font size etc.) in Graphs and Layouts
@WNC bool RW 1 0,1 2024 @WNC = 1 to not reverse none color worksheet cell, @WNC = 0 back to old behavior
@WNS bool RW 0 0,1 2021 It controls a new numeric shink to display number in a tight column

0 = new behavior
1 = old behavior
Persistent

@WOH int RW 180 Positive 2022b workbook organizer default height
@WPC int RW 10 Positive integer 2020 Controls the number of Summary and List View rows (columns in standard worksheet view) that display in the Project Explorer preview.


Persistent

@WPE bool RW 0 0, 1 2020b Controls display of pound signs ###### when cell content exceeds width of the cell (column).

0 = (default) do not display pound signs in place of truncated text strings. For numeric values, do not display pound signs unless the integer part cannot be displayed in full (see this explanation).
1 = old way in which pound signs ###### displayed whenever cell contents exceeded cell width.


Persistent

@WPO int RW 3 0 to 25 2023 it controls Protect Sheet Option(Preferences > Protect Sheet Options):

0 = protect sheet contents and only allow user to change filled color etc.
1 = allow data masking
2 = allow user to sort worksheet
4 = allow user to resize columns/rows and change color
8 = allow user to change column designation
16 = allow user to change cell notes
Note: @WPO is a combination of these controlling bits which produces cumulative effects
Persistent

@WPOD bool RW 0 0,1 2023 it controls whether to open protect sheet options dialog after user set protect sheet at the first time:

0 = open
1 = not open

@WRSW bool RW 1 0,1 2024b @WRSW = 1 to enable worksheet rich text in-place edit shown as a separate window
@WSA bool RW 1 0,1 2023 When sorting worksheet based on a column with many duplicate values, the sorting order in other columns follow the appearance order.

Set @WSA=0 to roll back to old behavior, which may not follow the appearance order.

@WSB bool RW 0 0,1 2022b It controls whether worksheet show graph object in bottom pane.


Persistent

@WSEL int R 0 0,1,2,3 2022b Worksheet current selection info, when consider data protection, do not take Set as Long Name/Units/Comment/User Parameters as a kind of performance should be blocked.

0 = no selection,
1 = has current selection,
2 = the selection is protected.
These controlling bits can be combined to produce cumulative effects.
Note that both imported sheet with Data Connector and analysis result sheet return 3 even though imported sheet allows Set as Long Name/Units/Comment/User Parameters.
See also @WSEM.

@WSELA bool RW 1 0,1 2024 control whether worksheet selection animation is on/off. 1 to turn on, 0 to turn off.
@WSEM int R 0 0,1,2,3 2023b Worksheet current selection info, when consider data protection, take Set as Long Name/Units/Comment/User Parameters as a kind of performance should be blocked.

0 = no selection.
1 = has current selection.
2 = the selection is protected.
These controlling bits can be combined to produce cumulative effects
Note that imported sheet with Data Connector still allows Set as Long Name/Units/Comment/User Parameters so it returns 1. On the other hand, analysis result sheet disables all performance including “Set as Long Name/Units/Comment/User Parameters” so it returns 3.
See also @WSEL.

@WSF int RW 1 Positive integer 6.1052 It specifies waterfall scaling factor.


Note: higher @WSF means lower sampling rate.

@WSG int RW 1000 Positive integer 6.1052,
updated 2022b
It controls the maximum number of selected range blocks that Origin dialog can recognize as input range. That is to say, if you select multiple ranges in a worksheet by CTRL + mouse selection, and then open a tool that supports multiple inputs, the maximum number of input ranges the dialog can pick from selection is @WSG.

Prior to Origin 2022b, the default value was 300 but this was found interfere with certain worksheet operations (e.g. Column: Set as: X on > 300 selected columns); hence default was increased to 1000.
@WSGX bool RW 1 0,1 9.1 It control the behavior when draw grids on 2D Waterfall axis planes:

0= Show grids even if the planes are not show
1= Do not show grids only when the planes are show

@WSU bool RW 1 0,1 2022b set to 1 to show stats on Status bar


Persistent

@WTD bool RW 1 0,1 2024 Window Title Dark, @WTD=1(default), which means if in dark mode, draw title and frame in dark mode as well, = 0 means never draw title frame in dark mode.


Persistent

@WTG int RW 30 Natural number 2015 It specifies the gap between axis tick labels for wrapping in percentage of tick label font height.
@WTT bool RW 1 0,1 2018 It controls whether to show the worksheet tab tooltips.

0= Disable to show the worksheet tab tooltips.
1= Enable to show the worksheet tab tooltips.

@WU bool RW 1 0,1 2022b Whether to support Undo for deleting a workbook: 0 = Disable undo, 1 = Enable undo.
@WUC bool RW 1 0,1 2022b Whether to support Undo if deleting a Data Connector.

0 = Do not support undo if removing a data connector,
1 = Support undo not matter deleting a Data Connector by clicking the connector icon and select Remove Data Connecor or by deleting the workbook/worksheet.

@WUDP bool RW 1 0,1 2022b Wheter to restore related data plots when undo deleting a workbook/sheet.

0 = When delete the book/sheet and then undo deleting, the related plot(s) in graph will not restore.
1 = When delete the book/sheet and then undo deleting, the deleted book/sheet, and related plot(s) in graph all restore.

@WUO bool RW 1 0,1 2022b it controls after delete a workbook, whether this delete can be undo with operation:

0 = undo with operation
1 = no operation

@WVS int RW 0 Natural number 2020 Controls the number of worksheet rows scrolled with a single mouse-wheel click.

0 (default) follow system settings (e.g. 3 rows per click)
1 = old way, scroll 1 row
N = custom scroll increment, where N is the number of lines that are scrolled per mouse-wheel click.

Persistent


X,Y,Z

Variable Type Access Default Supported Version Description
@X bool RW 1 0,1 6.1052 It controls the dialog theme upon using LabTalk command “GETSAVENAME s;” to open the dialog box:

0 = Save As dialog box use old style
1 = Save As dialog box use new style

@XCA int RW 1 0,1 2017 Toggles spreadsheet cell naming on and off.

0 = spreadsheet cell references require "[I"] form (e.g. "A[1]")
1 = spreadsheet cell references can use "I" form (e.g. "A1")

@XDO int RW 0 0,1,2 2021 It controls whether to dump output tree after XF command is executed:

0: if command end with ';' will not print result 1: always dump output tree 2: dump output tree if executed from history command

@XERC bool RW 1 0,1 2018 From Origin2018, when plot Scatter with X/Y Error, if a X Error column appears before any Y-column and these Y columns do not have its natural x Error column in the selection, this X Error column will be used as the X Error for each plot.

0= Old behavior. Requires each Y column to have its own X Error and Y Error
1= New behavior.

@XFC bool RW 0 0,1 6.1052 It controls whether to dump command log into Results Log window:

0= Do not dump
1= Dump

@XFE int RW 0 0,1 6.1052 It controls whether X function error report should include file name and line number:

0 = X function error report does not include file name and line number, so user has to debug it
1 = X function error report includes file name and line number

@XFOI bool RW 0 0,1 6.1052 It controls how to insert X function operation resulted output columns to the worksheet:

0 = Insert X function operation resulted output columns right after the XY input columns
1 = Output columns will be appended to the end of the worksheet

@XFON bool RW 0 0,1 6.1052 It controls how to insert X function operation resulted output columns to the worksheet if the output is designated as (<input>,<new>):

0 = Output columns will be appended to the end of the worksheet
1 = Insert X function operation resulted output columns right after the XY input columns
Note: @XFOI=1 will override @XFON.

@XFLU bool RW 0 0,1 2024b @XFLU=1 to enable undo for Labtalk execution (XF from Menu or with Dialog will be undoable). For executing XF in script, it’s recommended to use “-u” switch to turn on Undo than @XFLU=1.
@XG int R Depends on Origin state 6.1052 It indicates current Operation System GDI object usage consumption by counts.
@XLP bool RW 1 0,1 6.1052 It controls whether to copy full precision data or what was displayed in Excel when copy data from Excel and past into Origin:

0 = Only copy what was displayed in Excel
1 = Copy full precision data in Excel

@XLR bool RW 1 0,1 2018 Controls use of Excel-style multi-cell references incorporating the colon character ":", in worksheet cell formulas (e.g. "=total(A1:A10)" or "=total(A1:C1)"

0 = Disable Excel-style notation for cell formulas
1 = Enable Excel-style notation for cell formulas Note: Origin-style references such as "=total(A[1:10]) are not affected. However, there is no multi-column support with this notation. For multi-column range specification you must use Excel-style notation (e.g. "=total(A1:D10)").

@XLRF bool RW 1 0,1 2021b It controls the speed improvement for XL range. Set @XLRF=0 to disable this if any problem with Cell Formula.
@XMD bool RW 1 0,1 2023 Excel Merge Cell Duplicate

0 = no duplicate merge cells value
1 = duplicate merge cells value
Persistent

@XMLL int RW 2 0, Natural number 2023 Determine whether and how to break up variable path to column Long Name and Comment when import XML file by XML Data Connector. Assume @xmll is set to N. If path is shorter than or qual to N, the last entry will put to column Long Name and the earlier part to Comment; and if path is longer than N, the first Nth entries will combine into Comment and those after Nth will combine into Long Name.

Set @xmll=0 to put all path to column Long Name. Old behavior.


Persistent

@XNXL int RW 1 0,1 2020b It is used to make X-Function variable better support column notation.
@XRL bool RW 1 0,1 2023 It control how X-Function resolve range string like column(K) which need a reference layer:

0 = use active sheet as reference layer, old behavior
1 = use input sheet as reference layer

@XU int R Depends on Origin state 6.1052 It indicates current Operation System user object usage consumption by counts.
@YPA int RW 1 0,1,2 6.1052 It specifies the options for output format and types to follow input format and types:

0 = Output format follow all formats and all types of input
1 = Date/Time formats and all types follow input
2 = Date/Time formats and only X type follow input

@YPC bool RW 1 0,1 6.1052 It controls how to draw column plot tops along azimuth in polar:

0 = Draw column plot tops in straight line shape
1 = Draw column plot tops in curved shape

@YPD bool RW 1 0,1 6.1052 It controls whether to draw column/stacked column plot data points in polar layer when Clip Data to Frame even if it is partially or fully outside the polar layer:

0 = Do not draw column/stacked column plot data points if it is partially or fully outside the polar layer
1 = Draw column/stacked column plot data points even if it is partially or fully outside the polar layer

@YPF double RW 1 Natural number 6.1052 It specifies the degrees threshold for filling along contour segments in polar contour plots.


Note: @YPF=0 means to turn this off. If @YPF is greater than 0., it is the minimum number of degrees between consecutive points of contour in polar contour plots which will produce insertion of additional points in order to produce "curved" connections between points in polar contour.

@YPR bool RW 1 0,1 6.1052 It controls how to remove bad data points:

0 = Delete the whole row of data
1 = Clear data from dataset when do Remove Bad Data Point

@ZSAD bool RW 0 0,1 2022b To draw scatter plot dropline faster, it set symbol size = 0 and only draw density dots; set @ZSAD = 1 for old behavior
@ZL bool RW 0 0,1 6.1052 It controls whether to consider a number with leading zeros (e.g. 002) as a text :

0 = Consider it as numeric
1 = Consider it as text

@ZP int RW 200 Positive integer 6.1052 It specifies the delay in milliseconds to switch between Zoom and Pan state from zooming tools.
@ZZ bool RW 0 0,1 6.1052 It controls the way to treat the zero power of zero (0^0):

0 = 0^0 will be regarded as NANUM
1 = 0^0 will be regarded as 1