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

3.2 System Variable List

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

To read or write a value in the Command or Script Window, preface the variable name with @:

@ASC=;
type $(@ASC);
@ASC = 10;
Note: Origin 2018b introduced a very small number of "@" System Variables that are internal to Origin and when their values are changed, those values are stored in the Windows Registry at


Computer\HKEY_CURRENT_USER\Software\OriginLab\SysVar

These "persistent" System Variables will appear in the following table with a green Saved in registry tag in the table Description field.

Like other "@" System Variables, their values can be set or read in the the Command or Script Window but unlike other "@" System Variables, a value set in the Command or Script Window is written to the registry and thus, preserved across sessions.

To list Origin's persistent system variables:

list @; // returns all persistent system variables stored at HKEY_CURRENT_USER\SOFTWARE\OriginLab\SysVar
// this registry-stored list includes only user-customized values
list -svr; // returns 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 based on the initial 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 It controls whether Apps Gallery re-positions tabs horizontally while floating.

0 = automatically re-position tabs horizontally when Apps Gallery is floating
1 = tabs always position horizontally no matter Apps Gallery is floating or docking
Note: reset @ABO in the Script Window cannot work. Please reset it in the Tools: System Variables... dialog and restart Origin to make it work.

@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.

@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

@AGF bool RW 0 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.

Saved in registry

@AGS bool RW 1 0,1 2018B It controls whether to use Add Matrix Sheet 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.

@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

@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

@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.

Saved in registry

@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

@AML int RW 10 Natural number 8.0988 It is used to specify the maximum number of supported levels in ANOVA.
@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.

@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

@AR bool RW 1 0,1 6.0285 It controls whether the drawn arrows/lines are attached to the layer/scale, or not:

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

@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 Tools: Options > Open/Close tab). "Autosave Project Every x Minutes" behavior is controlled by several system.project properties
@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.
@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.

@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

@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 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

@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.

Saved in registry

@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.


Saved in registry

@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

Saved in registry

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

@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.

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


Note: @BG is identical to @BGV.

@BGH int RW 150 Natural number 6.0286 It specifies horizontal border gap factor for label.
@BGV int RW 100 Natural number 6.0286 It specifies vertical border gap factor for label which functions identically as @BG.
@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

@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.

Saved in registry

@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

@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

@C2DR double RW 0 -90 to 90 9.1 It specifies the rotation angle in unit of degrees for 2D Cartesian layer.


Note:draw a Cartesian plot and run the following codes in script window:

layer –PGM 1;
@C2DR=60;
@C2DS=-30;

Then refreshed the layer to see effect.

@C2DS double RW 0 -90 to 90 9.1 It specifies the shearing angle in unit of degrees for 2D Cartesian layer.

Note: draw a Cartesian plot and run the following codes in script window:

layer –PGM 1;
@C2DR=60;
@C2DS=-30;

Then refreshed the layer to see effect.

@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.

@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 , 2016 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.

@CCT int RW 50 Natural number 7.0543 It specifies the default text column cell width.
@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

@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.

@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.

@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

@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.

@CMPMT int RW 2000 Positive integer 2016 SR2 It controls the maximum number of total levels in the color-mapped graph.
@CN int RW 1 0,1 6.9101 It controls whether to keep column name settings strictly as version 6.1 and earlier or allow them to be customized:

0 = Keep it as default setting as in version 6.1 and earlier
1 = Allow customization in column name settings

@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

@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

@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

@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

@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.

@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.

@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

@CRGDL int RW 1 1,2,3,4 2018b It is used to see what Date & Time format will be used in graphs.

1 = English format,
2 = German format,
3 = Japanese format,
4 = Chinese format.

Note that if you want to change Date & Time format in graphs, use Tools: Options > Numeric Format tab> "Use English in Reports and Graphs" checkbox.

@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.

@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

@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.

@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 0 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

@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.

@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

@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

@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

@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.

@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

@DCDE bool RW 0 0,1 2017 It controls whether to silences errors generated by CustomDraw
0 = show error;
1 = Don't show error.
@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.

@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.

@DD int RW 200 Natural number 8.108988 It specifies the hit-test drill down delay in milliseconds.
@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

@DDEU int RW 65 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

@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 1 0,1 2018b It controls whether detect encoding needs guess or not.

0 = turn off guess
1 = turn on guess

@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.
@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

@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.

@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.

@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.

@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

@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

Saved in registry

@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

@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

@DNB INT RW 2 0,1,2 2018b It controls whether to disable the New Workbook dialog. Note that it will take effect right after value change, no Origin restart needs.

0 = Show the dialog on startup and new project.
1 = Do not show the dialog on startup nor new project. You can still open it by File: New: Workbook.
2 = Disable the New Workbook dialog.

Saved in registry

@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

@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

@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

@DRD int RW 10000 Positive integer 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.

@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.

@DSL int RW -800000 Negative integer 6.9183 It specifies device symbol lower bound to limit the logical coordinates during symbol drawing.
@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 = Origin Central does not open on startup
1 = Origin Central 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.
@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 hittest. 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 hittest:

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

@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 hittest.


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 hittest.


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 hittest.


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 hittest.


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 hittest.


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 hittest.


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 hittest.


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 hittest 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 pixels 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.

@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)

@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 bool RW 1 0,1 2015 It controls whether to show error message as smart hint in addition to show in Message Log window:

0 = Show error message only in Message Log window
1 = Show error message in both Message Log and as Smart hint

@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

@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.

@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

@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.

@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.

@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.

@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.

@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 1 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
Note: you have to set @EMS = 0 in System Variable dialog to make it work.

@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

@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.

@ETE bool RW 0 0,1 9.0 It controls whether to enable two digit exponents display for tick label:

0 = Disable two digit exponents display for tick label
1 = Enable two digit exponents display for tick label.
Note: by default @ETE=0, 2E-011 will be displayed as tick label even if input data is 2E-11. Set @ETE=1, tick label will show 2E-11 instead.

@ETG int RW 1000 Positive integer 9.1 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.

@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.
@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.

@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

@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

@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

@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

@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’)

@FSF bool 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

@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

@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.

@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

@GC int RW 12632256 (RGB(192,192,192)) Natural number 8.0645 It is used to specify Object Grid color in numerical values.


Note: To apply customized color to Object Grid, set the value of @GC first and then go to View:Show to check Object Grid. See @DTU to convert standard RGB() color scheme to corresponding decimal number. The default Object Grid color is LT Grey.

@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

@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

@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

@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

@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.

@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.
@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.

Saved in registry

@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 = Do not allow LabTalk to use Origin C GetN, then LabTalk will use original LabTalk GetN
1 = Allow LabTalk to use Origin C GetN

@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

@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

@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

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

@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()

@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

@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

Saved in registry

@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
@ICT int RW 250 Positive integer 6.0294 It specifies the contour bitmap caching threshold upon creation.
@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

@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

@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

@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.

@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.

@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.

@IMPT int RW 2 0,1,2 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

@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”

@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

@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, Natural number 8.108988 It specifies the number of columns for AutoSize column width when import file.


Note: @ISC=-1 will AutoSize column width for all columns

@ISE bool RW 0 0,1,2 2016 It controls whether to skip current empty sheet/book from “Start New Sheets/Books” import mode:

0 = Use current open sheet/book for imported data when no template is used. When template is used, the first sheet in file will always use specified sheet in template (if not specified, it is the 1st sheet in template) for importing and second or more other sheets will use the empty sheets in template for importing if existing
1 = Skip current empty book/sheet for import so that it will create a new sheet/book instead of importing data into current open one when no template is used. When template is used, all sheets in file will always use specified sheet in template (if not specified, it is the 1st sheet in template) for importing rather than the empty sheets if existing in template.
2 = When template is used, all sheets in file will always use empty sheets if existing in template for importing rather than specified sheet in template (if not specified, it is the 1st sheet in template).

@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 “--“
2 = Display missing value as “” (blank) Note: refresh to see changes when change @JM.

@KA bool RW 0 0,1 6.0445 It indicates the state of Alt key:

0 = Button up
1 = Button down

@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.

@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.

@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
@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

@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 old behavior, the line end shows as semi-circle (protuberant)
0 = the line end shows as semi-circle (not protuberant)
1 = the line end shows as square (protuberant)
2 = the line end shows as square (not protuberant)

@LCA int RW 2 0,1,2 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 coordinate, round for other coordinates
-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

@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

@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

Saved in registry

@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.

@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

@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 Graph:Add 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

@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.

@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.

@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

@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

@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.

@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 { }.

@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

@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.

M

Variable Type Access Default Supported Version Description
@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 255 (RGB(255,0,0)) Natural number It is used to specify the color for Missing value in image view and in thumbnails for Matrix image.


Note: default color for Missing value is Red, see @DTU to convert standard RGB() color scheme to corresponding decimal number.

@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.

@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.

@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.

@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.

@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).

@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.

@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

@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 6 0, Positive integer 2018b When you add graph or matrix as new sheet by Add Graph/Matrix as Sheet context menu, if the current folder has only one available window of proper type, or has a newly created window, then it will be added without asking. This system variable controls the time interval within which the newly-created graph/matrix will be added immediately after selecting the Add Graph/Matrix as Sheet menu without the hunt dialog open.
@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.
@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.
@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 7 1,2,4 2017 SR1 It controls whether to enable recently-used menu items and loading theme menu items.

1 = enable recently-used-items for plot menu
2 = enable recently-used-items for analysis menu
4 = enable loading theme into menu
Note: @MRU is a combination of controlling bits. Default @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.
@MRUP int RW 15 Positive integer 8.0612 It specifies the default list size of most recently used projects where the list corresponds to list in File:Recent Projects.
@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.

@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.

@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.

@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

@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.

@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.
@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

@NE bool RW 1E-14 Small positive number 6.025 It is especially used as the resolution in axis increment computation similar to @ND.
@NF int RW 17 Positive integer 8.0725 It specifies the critical number of significant digits that will trigger double to string conversion.
@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

@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.

@NOD int RW 3 0 to 9 8.0725 It specifies debug message output mode:

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_MESSGAE_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 Error message output mode:

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_MESSGAE_LOG_FORCE_OPEN (force even auto-hide Message Log Window to open for message dump)

@NOI int RW 8 0 to 9 8.0725 It specifies Info message output mode:

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_MESSGAE_LOG_FORCE_OPEN (force even auto-hide Message Log Window to open for message dump)

@NOP int RW 50 Positive integer 2018b Maximum number of panels in one direction in trellis plot, over which panel will be disable for this direction.
@NOR int RW 8 0 to 9 8.0725 It specifies Result message output mode:

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_MESSGAE_LOG_FORCE_OPEN (force even auto-hide Message Log Window to open for message dump)

@NOW int RW 8 0 to 9 8.0725 It specifies Warning message output mode:

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_MESSGAE_LOG_FORCE_OPEN (force even auto-hide Message Log Window to open for message dump)

@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 Optional faster repainting of graphs when many are shown at once and/or overlapped.

0 = Repaint only if < 70% of graph is uncovered.
1-100 = Percentage of graph that must be uncovered to trigger repainting.
101 = Only repaint currently active graph.

Saved in registry

@NRM int RW 0 0,1 9.1 It controls whether to apply new mechanism to prevent the scale from change upon using rescale tool Scale In/Scale Out/Scale Zooming Panning Tool to rescale plot when rescale is set as Manual:

0 = Keep using old mechanism (From/To values in Scale will change when use rescale tool to rescale plot even if rescale is set to Manual)
1 = Apply new mechanism (From/To values in Scale will not change when use rescale tool to rescale plot if rescale is set to Manual)

@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

@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 It controls whether replace the Script Window as Scintilla based.

0=Turn off Scintilla for Script Window
1=Replace Script window as Scintilla based

@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.

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

@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.

@OCS bool RW 1 0,1 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 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.

@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

@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)

@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.

@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.

@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 Tools:3D OpenGL Settings:Settings:Enable Anti-aliasing.

@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

@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

@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

@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

@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

@OPD bool RW 0 0,1 2017 It enables/disables the old Object Properties/Programming dialog

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

@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)

Saved in registry

@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.

@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.

@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
@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".

@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

@PB0 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.


Saved in registry

@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

@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

@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

@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

@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

@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

@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

@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.
@PESS int RW 7 -1,0,1,2,3,4,5,6,7 2018b Controls display of previews, both (a) in Project Explorer and (b) into files upon saving files:

0 = Do not save previews into files. This prevents Windows File Explorer previews (both contents and icons) but displays previews in Origin's Project Explorer.
1 = Save graph preview into files
2 = Save worksheet preview into files
4 = Save matrix preview into files
Note that the above values are additive.

-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.
@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

@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 fix this problem, this system variable is added to automatically fix peak center for certain number of iterations (20).

1 = this behavior works for 1D peak fit
2 = this behavior works for 2D peak fit
3 = combination of 1 and 2 above

@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
@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

@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.

@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

@PPS double RW 1 0.5 to 2.0 2018b Used to scale Plot menu icon size.
@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

@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.

@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

@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

@PT int RW 1 0,1,2,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
2 = Enable showing tooltips for 3D OpenGL graph
3 = Enable showing tooltips for both 2D graph and 3D OpenGL graph

@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 oject by default
1 = copy paste Word content as text by default

@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 oject by default
1 = copy paste Excel as text by default

@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

@PYV int RW 3 2,3 2015 It controls which version of Python to be used as embedded Python in Origin:

2 = Use Python version 2.7.8 as embedded Python version in Origin
3 = Use Python version 3.3.5 as embedded Python version in Origin

@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

R

Variable Type Access Default Supported Version Description
@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

@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.

@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

@RCN int RW 7 0,1,2,4 2017 SR1 Enables or disables spreadsheet cell notation (SCN) in the workbook.

0 = Cell notation is turned OFF for 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, then OFF in all new books. If ON, ON in all new books.
4 = Most analysis X-Functions 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.

Note that bit values are additive (e.g. @RCN = 7 means cell notation is Auto On for conforming analysis tools (+4), import follows active book(+2), and SCN is ON for all new worksheets from toolbar(+1)).

@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

@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.
@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 6.1052 It specifies the resource language:

0 = Default language
1 = English
2 = German
3 = Japanese

@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.
@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

@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

@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.



Saved in registry

@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.

@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.

@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 ”” is not preserved for range declaration so r2 and r1 are the same. Otherwise, range r1 represents first column in current book, r2 means a column whose name is 1! In current sheet.

@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.

@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

@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

@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 Tools: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.
@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

@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

@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.

@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 expand the Sheet number to Sheet Name.
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.
@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

@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.

@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.

Saved in registry

@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.
@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.

@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

@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.

@SOW int RW 0 0,1,2 2016 It controls whether to also save whole workbook's data when saving graph as OGG or OLE object:

0 = Auto, the bit of saving status has not yet being saved to active graph window
1 = Save whole source workbook's data when saving OGG or OLE, this status bit will be permanently saved along with OGG/OLE and not modifiable
2 = Save data only related to current plot, this status bit will be permanently saved along with OGG/OLE and not modifiable


The value of @SOW can be accessed via equivalent LabTalk page.SaveWks.

@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.

Saved in registry

@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

@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.

@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.

@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.

@SSFLV double RW -1 -1, Positive number 9.1 It is used to set the step size for calculating derivative in Voigt function fitting.


Note: @SSFLV=-1 is to use default step size for Voigt function fitting, 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.

@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.
@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

@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
@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 supper script prime symbol in permillage of the font height.

Note: to adjust the offset of supper script prime, you have to first enter super script and in the supper script edit box, do Ctrl+'. Change the value of @TAPP and refresh to see the effect.

@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.

Saved in registry

@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

@TCS int RW 4000 Positive integer 6.1052 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.

@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.
@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 1 0,1,2,3 9.1 It specifies text filter label separator type:

0 = Enter
1 = Space
2 = Comma
3 = Semicolon

@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

@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.

@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

@TM bool R 0 Non-negative number 6.1052 It is used to check whether internal timer is running or not.
@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.

@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.

@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

@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

@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.
@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

@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

@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.

@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 1 0,1 6.1052 It controls whether to enable LabTalk UNDO set property:

0 = Disable LabTalk UNDO set property
1 = Enable LabTalk UNDO set property

@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.

@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

@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

@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.
@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.
@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

@V double R Depends on version 6.1052 It indicates the Origin version number.


Note: @V and System.Version object property are equivalent.

@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

@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.
@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.
@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.

@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.

@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

@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

@WSC int RW 0 Natural number 6.1052 It specifies the number of waterfall cycles to consume in order to measure up envelope speed.


Note: @WSC=0 (default) means consume none waterfall cycles.

@WSF int RW 1 Positive integer 6.1052 It specifies waterfall scaling factor.


Note: higher @WSF means lower sampling rate.

@WSG int RW 300 Positive integer 6.1052 It specifies worksheet selection GUI update processing limit.
@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

@WSP int RW 30 Positive integer 6.1052 It specifies worksheet selection designation analysis processing upper limit.
@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.

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")

@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.

@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)").

@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

@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

 

© OriginLab Corporation. All rights reserved.