ReleaseNotes:Features that were changed in SR5

From OriginLab Wiki

Jump to: navigation, search


[edit] Top 10 Reasons to Patch to SR5

  1. New set of functions added to F(x) menu of Set Column Values and Extract Worksheet dialogs
  2. Improvements to linking OPJ with external Excel files
  3. Improvements to speed of importing Excel files and copy-pasting data into Origin
  4. Enhanced GUI controls for vertical and horizontal translation of data plots in graphs
  5. Multiple improvements to Plot Setup, Layer Management, and Merge Graph dialogs
  6. New Quick Curve Integration tool for exploratory integration of plots
  7. Improvements to Math tools such as Average Curves and Differentiate
  8. Parameters and Bounds tab for Nonlinear Curve Fitter and Peak Analyzer can be configured by user, and support sorting and reordering of parameters
  9. Multiple improvements to Peak Analyzer, including support for Recalculation of results
  10. Faster fitting of Matrix or XYZ data using 2D Fitting functions

[edit] Installation

  1. New Program Shortcuts: After User Files Folder is chosen, two new folder shortcuts: Origin Folder and Origin Samples Folder are created in the User Files Folder (UFF) location. This allows user to easily navigate to the EXE path when viewing the UFF folder in file dialogs.

[edit] Graphing

[edit] Customization

  1. Drawing bars that span layer: On the Line tab of Plot Details, there is a Fill Area under Curve check box. The drop-down associated with this check box has a Span vertically broken by missing value option which now allows any Y value to fill entire layer. One can then use a dataset to fill layer vertically. Missing values in the dataset can be used to create a break in the X direction. The data used for this purpose should be the first entry in the layer, or in the first layer in a multi-layer graph, for this to be effective. This technique is useful to create/indicate Recession bars in Economic Time series plots.
  2. Added Auto Rescale Y Axis to context menu of X Axis Scrollbar (Top or Bottom). Shown when right clicking Top or Bottom Scrollbar in Graph. Check it to auto rescale Y Axis as X Axis changes.
  3. Axis dialog: Tick Labels tab:Tick-indexed string type: allows to use user-defined strings as tick labels.
  4. Simpler grammar for custom legend. ID = 13121
    1. \l(L color,thickness,dash)
  5. In Plot Details dialog, under Legend/Titles tab, the Indicate Active DataSet is unchecked by default so that clicking the legend does not change the active curve/dataset. ID=13344.
  6. Copy and paste format will include status of layer frame show/hide. ID = 13417
  7. When selecting a Incremental Color list on Style toolbar, the color list name shows on status toolbar.

[edit] Plotting

  1. plotgroup X-Function : Added Plot Type and Sort Worksheet by Groups Data options. Typically, you should choose to sort. This X-Function has no menu option and can be called from script with plotgroup -d;
  2. Template Library button is enabled for Matrix window and is an added option under Plot menu.
  3. Long names & Comments in worksheet are used as axis titles in 3D graphs.
  4. Built-in 3D graphs will be not affected by system theme by default.
  5. Drag and drop YError, Labels column into Graph window.
  6. New graph template added:
    • Wind Rose plot
    • Scatter with central XY axes
    • Multi- Y Axes Plot (3Y, 4Y)
  7. LT command layer -il %C is supported to add dataset as label in graph. Other options are
    • -ilx (add X value of the data as label)
    • -ily (add Y value of the data as label)
    • -ilr (add row index of the data as label)
    • -ilxy (add X and Y values of the data as label)
  • A "Scan User Template" button is added into Template Library to scan template files in User Files Folder, ID=13299

[edit] Plot Setup Improvements

  1. Changed the previously combined Add/Replace button to two separate buttons.
  2. Select Excel book on top panel will automatically update column information to Origin. User doesn't need to choose Update Origin in Excel first and then use Plot Setup to plot Excel data.
  3. Allow Row# as X context menu added in middle panel to control if showing row number o Auto(x) in middle panel or not.

[edit] Layer Management Improvements

  1. Arrange tab supports arranging and linking together.
  2. Support for Hide Overlapped Axes/Ticks when Vertical Gap and/or Horizontal Gap is set to zero on Arrange tab.
  3. Size/Position tab reorganized with clearer design.
  4. Text hints for using the dialog are more specific for Arrange and Size/Position tabs.
  5. OK button will not be enabled unless you have actually Applied changes
  6. Icons of selected layers are highlighted in Preview.

[edit] Merge Graph dialog Improvements

  1. Default Merge setting is All in Active Folder (Open). This excludes all graphs that are hidden or minimized.
  2. Support for linking all added graphs to Layer1 for sizing/positioning purposes.
  3. Support for Hide Overlapped Axes/Ticks when Vertical Gap and/or Horizontal Gap is set to zero.

[edit] Save Template As Improvements

  1. If user is saving a template that originated from the EXE path, a dialog is brought up to inform user and allow them to provide new name for the template.
  2. If the template originated from the EXE path, the Apply System Theme upon Loading check box is forced to be off. This then prevents the system theme from changing user's settings in the template.

[edit] Data Manipulation in Graph

  1. Added Remove right-click context menu for data plot in graph. If you right click on a data plot and select this context menu, the data plot will be removed from the graph. The data itself will not be deleted.
  2. Data Selector Improvements
    • The default Data Selector color is now red, and the begin and end selectors span the entire layer vertically
    • The markers are now placed on graph with a margin at the ends so they do not run into axes and is easier to grab and move them.
    • Shift/Ctrl + Arrow keys can be used to move by more than one data point at a time
  3. When using the keyboard Left/Right Arrows to move Data Markers the speedup by holding Shift key accelerates and new variables control behavior. ID = 13227
    1. @DRI = 50; // step Increment for accelerating in % of previous step
    2. @DRM = 10; // Maximum step in % of dataplot size
    3. @DRT = 200; // Time in msec after which data reader begins accelerating
    4. @DRD = 10000; // Data points (used to make data reader acceleration independent of data plot)

[edit] Miscellaneous

  1. Maximum number of layers allowed in one Graph is now 255. Before SR5, the maximum number was 121.

[edit] Externally Linked Excel Book (Open Excel)

  1. Do not Automatically Update is renamed to Open as read-only. The Excel book title will show [Read Only] to inform user that saving of Origin OPJ will not write to that external Excel file.
  2. When Open as read-only is not checked, then Origin has exclusive access to the file and attempts to open it by Excel will be denied and indicate who has the file open.
  3. Added Relative to OPJ Path support. You can now link Excel files relative to the OPJ path, which moves your Excel file to the same folder as your Project file. This allows you to keep both OPJ and Excel file in a folder and then copy that folder from one computer to another using a USB drive for example. The link destination will be maintained. You can even open and edit your Excel file in Microsoft Excel and then see the changes the next time you open Origin.

[edit] Import and Export

  1. <sheet> themes:
    • In SR5, many import routines support "<sheet> themes". This means that you can save your import options in a workbook and save as a template. The import options saved in a workbook can be used for future importing when you use this workbook as the target window for importing files of the same file type.
    • <sheet> themes also affect drag-and-drop importing. In Origin, you can drag-and-drop files onto the Origin Workspace or onto a Workbook. If you drop dragged files onto a Workbook that has a <sheet> theme that matches the file type dropped, then Origin uses that theme and the appropriate import filter is employed to perform the import.
    • Currently, import routines that support saving <sheet> themes include ASCII (impASC), CSV (impCSV), Excel (impExcel), Sound (impWAV), NI DIAdem (impNIDIAdem), HEKA (impHEKA), pClamp (imppClamp), JCAMP-DX (impJCAMP), Thermo (impSPC), Princeton Instruments (impSPE), Data Translation (impDT), Famos (impFamos), ETAS INCA MDF (impMDF), EarthProbe (impEP) and KaleidaGraph (impKG). (ID=12422)
  2. Options added to pClamp Import
    • 'Shift Time by Holding Period' check box added.
    • 'Add Time Column' check box added. When selecting this option, only one X column is created for all Y columns. This X column presents the time values for all ranges as the range for the first sweep/episode.
  3. File: Import: Binary 2D Array ( impBin2d.oxf ) was added to improve import of large binary datasets which take too long in the Import Wizard. This menu option is available for both Workbooks and Matrices.
  4. The Graph Export dialog now provides a ... button to browse and specify file name/path and check if a file name has existed in specified folder or not.
  5. Change Custom Format design
    • Custom Date Format has been added to CSV and ASCII import dialog, so user can specify custom date format.
    • All Custom Date Formats a user added successfully will be saved to their ORIGIN.INI file for future use. They will appear at the beginning of the dropdown list.
  6. Excel import related
    • Drag and drop Excel file improvements
      • Check if drop target is empty wks, if Yes, then directly import without asking.
      • Otherwise, go to old code to ask.
    • Speed improvement on importing Excel file or copying data from Excel.
    • Designation combo is editable to specify user-defined designations, and default is changed to <unchanged>.
    • Support LT accessible string variable to control sheet selection for import by number or name.
impExcel sheet:=3:5;  // Import the third sheet and the fifth sheet
impExcel sheet:="July:August:September:December";   // Import the named sheets

[edit] Analysis

[edit] General

[edit] Dialog Theme

  1. Drag and drop to install dialog theme file (*.ois). When some one shares an ois file with you, you can drag and drop it into Origin workspace to install it. It then becomes available in the theme fly-out menu of dialog that it pertains to.
  2. Indication on Dialog Theme chang:. After loading a dialog theme in a dialog, if some settings have been changed, a * character will show next to theme name.

[edit] Inside Dialogs

  1. Easier way to select all grouped datasets in Graph to analyze/fit: When you plot multiple datasets, they are grouped by default. Clicking once on any of the data plots in the graph will select all of them. Then when you open any analysis/statisitcs dialog that supports multiple input, e.g. NLFit, Linear Fit, etc., all datasets in the group are used as Input Data. Before SR5, only the active dataset was used as the Input data. If you want to analyze/fit only one dataset in the group, you can click once to select the group, and click a second time to select a specific dataset and then bring up the dialog. Then only that particular dataset will be selected for Input Data in the dialog.
  2. Added Zoom toolbar in Smooth's preview graph. ID = 12403
  3. Data Selector Marker has option to become larger. Clicking on the Marks, status bar show message "Use space bar to toggle data marker size". Hitting space bar, the size of data marker will change to full span of layer or to initial size. ID = 12571.
  4. Remove <optional> from x-functions' output in the dialog, while <optional> is kept in LabTalk, such as spline or bspline. In GUI, a checkbox is replaced where <optional> used to be. When it is checked, the Output is set as <new>. ID=13262.
  5. Add Preview to Interpolate/Extrapolate,Trace Interpolation and Average Multiple Curves under Mathematics, also to xf wtsmooth and wtdenoise. ID=13260.

[edit] Output

  1. Column long names will have quote marks in report sheet table.
  2. Deleting the Locked Output columns and rows are now supported. A dialog box opens asking for confirmation. If the selection is a row, then all source column cells are deleted and moved up, and other locked columns will be updated or will be in need of update if Recalculate was set to Manual. Prior to SR5, it was not possible to delete locked columns or rows containing locked column cells.
  3. Undo after analysis should remove comments created by analysis. ID = 13194
  4. Improvements on output column's Long name and comments.
  5. Consistent switching to show output in analysis ID = 13279
    1. If just recalculate, original data will be kept active
    2. If new sheet will be generated, selection message will be dumped by operation based tool.
  6. Lock generated in Graph window is button-like. When browsing over it, the cursor will be changed into a hand cursor so it's clearer for user to know it's clickable.
  7. More context menus when right clicking tables in report sheet

[edit] Mathematics

  1. Average Multiple Curves: Preview added and GUI is greatly changed to be more intuitive. Themes and scripts from previous versions might not work.
  2. Differentiate tool: Add back smoothing option. It was missing in released 8.0 but existing in 7.5. (ID=12546)
  3. Integrate tool: Straight line baseline that simply joins end points, is now supported. (ID = 12250)
  4. Normalize (ID = 12615)
    • Normalize context menu when right clicking a column opens vnormalize.
    • With workbook active, Analysis: Mathematics: Normalize opens vnormalize.
    • With Graph active, Analysis: Mathematics: Normalize opens normalize.
  5. Interpolate tools: Add Auto checkbox for Number of Points box (ID = 13261).

[edit] Data Exploration

  1. Quick Curve Integration Tool: Improvements made. More baseline options have been added, including existing dataset as baseline.
  2. Quick FFT Tool. New in menu.

[edit] Data Manipulation

  1. Translate Curve: Provides more controls in Context menu to control Translating data vertically and horizontally.
  2. Worksheet: Convert to XYZ: provide more options to specify where X and Y data is.

[edit] Fitting

  1. A new function is added in both Sigmoidal and Electrophysiology categories: BoltzIV, a surface function Gauss2DRotated will be removed in SR6
  2. Added Reduced Chi-Sqr as an optional output for Linear Fit, Polynomial Fit and Multiple Linear Regression tools
  3. NLFit
    • Theme structure has changed and this may affect some older themes such as ones created in SR0/SR1 so user may need to recreate them in SR5.
    • Users can now minimize NLFit dialog and mask or change input data, and then re-open dialog to continue fitting with changed data.
    • Users can Configure/Add/Delete Parameter tab and Bounds tab. This allows customizing and/or creating new tabs where one can specify which columns to display. (Use context menu of tabs or tables.)
    • Context menu has been added to Apply significant digits setting of one parameter to all parameters. (Use context menu of value.)
    • Added Clear context menu to some settings.
    • The following pertains to Replica Fitting:
      • Sort Peaks button: Sort peaks on Parameters and Bounds tabs based on a particular parameter.
      • Reorder Peaks button: After sorting Peaks, Peak index on Parameters and Bounds tab will not be in numerical order. Reorder Peaks button orders them 1, 2, 3 without rearrangement.
      • Label object added for peak number in Preview For Replica Fit
      • For replica fitting or multi-data fitting, added context menu on Parameters and Bounds tab to apply parameter value, fixed status, sharing, bounds to all other parameters of same kind.
    • NLFit LabTalk command now supports output control
      • Added an output control tree. We expose the output control as a treenode to allow users to modify during fit.

        The tree includes:

        • Nodes under Advanced - Quantities to Compute
        • Nodes under Advanced - Residual Analysis
        • Nodes under Advanced - Find Specific X/Y (nlbeginz/nebeginm adds Find Specific Z)
        • All nodes in Fitted Curves page
        • All nodes in Output page
      • Added a command to update the tree to fit report process
        • Added a new command - nlgui - to get & set changes to the tree before nlend.
  4. Speed improvements have been made for Nonlinear Matrix Fitting.
  5. Add bounds m<150 and constraint m! = 0.5 to PearsonVII function. ID = 13288
  6. Better Residual Calculation and Naming/Labeling Convention. ID = 13285
    1. If fitting single dataset, comment row is removed.
    2. If fitting multiple datasets, comment row will be used to show dataset names.
    3. In Long Name Row output now uses <FunctionName> of <SheetName> <ColumnName>.
  7. Added a new variable weight in nlbegin xfunction which is used to specify weight method. ID = 13253
  8. Improve legend in surface fit. ID = 13123
    1. Residual Contour Lines
    2. (a blue line) + xx% Outer Limit
    3. (a red line) - xx% Outer Limit
  9. Show no function selected when open nonlinear curve fit dialog (opens faster). ID = 12878

[edit] Signal Processing

  1. FFT: The <auto> option for Spectrum Type will now result in only positive frequency part of the spectrum being reported in the output, when the input data has only Real component and no imaginary component. If the input data contains both real and imaginary parts, then <auto> will result in both halves of the spectrum being reported. In previous SRs <auto> always generated both positive and negative parts of the spectrum.

[edit] Peaks and Baseline

  1. Peak Analyzer
    • Recalculate support: PA output results now support the Recalculate feature. This allows customers to create analysis templates based on PA and then change data to update results. This also allows to recall the dialog on existing results to change particular settings and recalculate the result.
    • Integration Window Width: More options to have been added to adjust the integration width, such as specifying a fixed width for all peaks
    • Subtract Baseline: A new goal has been added, that finds and subtracts baseline from the raw data.
    • XPS Baseline: Support has been added for special baseline methods (Shirley and Tougaard) for X-Ray Photoemission Spectra (XPS). This is now available in the Baseline Mode dropdown list.
    • When parameters are shared, editing any member of the group will automatically update the other members.
    • Hide button: A new check box called Shared Group Except has been added to the Hide dialog. It is a combo list which has same content as the Share column in the parameters grid. When it is selected, only those same shared group parameter rows will show on the grid.
    • Support has been added to specify/configure the output location for Subtracted Data and Baseline.
    • Support has been added to plot fitted curves onto source graph, and the "Update Legend on Source Graph" option is enabled when "Create Report Graph" is selected as <Source Graph>.
  2. The following changes pertain to the Fit Control dialog that can be opened from the fit page:
    • Sort Peaks button added: This allows sorting peaks based on one of the peak parameters such as Area. This is available on both Parameters and Bounds tabs.
    • Reorder Peaks button added: This will sort the peaks in ascending order of the peak center parameter. This is useful in cases where peaks are found/added not in order, or peaks were previous sorted based on some other parameter, and user then wants to sort them by peak center.
    • Context menu: New right-click context menu items have been added on Parameters and Bounds tabs, that allow applying parameter value, fixed status, sharing, bounds to all other parameters of the same type. Thus for example one can specify a lower bound of greater than zero for one area parameter and then use the context menu to impose that bound on all other area parameters.
    • Context menu: A Clear context menu has been added to clear settings on all same paramters, such as say removing the fixed condition on all peak centers.
    • Configurable tabs: User can now configure/Add/Delete tabs for Parameters, Bounds etc. This allows user to customize what to display in each such tab.
    • Formula: A new tab has been added to show the equation/formula of the peak function. The tab gets updated when user clicks and select a particular row in the Parameters tab.

[edit] Statistics

  1. 2D Frequency Count/Binning improvements
    • Support output binning results to worksheet.
    • Specify X/Y Binning Range by Bin Center/End options added
    • Support different Quantities to computer in each binning, e.g. Min, Max, Sum, Count, Mean, Median, Frequency
    • Support Subtotal Count for each binned Y.
    • Support Matrix Plot output.

[edit] Worksheet

  1. Copy Column changes.
    • Edit: Copy, Ctrl+C -- copies formatted data.
    • Edit: Copy (full precision), Ctrl+Alt+C copies full precision data
    • Edit: Copy (including label rows), Ctrl+Shift+C -- is older version's default Ctrl+C behavior. It copies formatted data area and column header labels.
  2. Double click on border of column header to auto resize to fit all contents
  3. Worksheet: Reset Column Short Names menu: Convert current short name to other label rows, such as long name, comments. User can specify prefix for new short names.
  4. Column Properties dialog: Date Custom Display dropdown list improved. Some preset custom Date displays are listed. User can customize date diplay.
  5. Delete rows in worksheet with Auto Update in place. Before sr5, user can't delete rows if some column in worksheet is locked.
  6. Set Column Values Dialog: F(X): OC Functions menu added for a new set of Origin C based functions. These functions are located in internal.c file, including date/time functions and other statistical functions. User can add their own functions there as well.
  7. Extract Worksheet Data dialog: F(X) menu added similar as in Set Column Values dialog.
  8. Go to dialog: Add Extend Selection checkbox to select a range from current selection cell.
  9. Convert to XYZ supports to use label rows to specify X and Y. The output is changed to use XYZRange data type.

[edit] Miscellaneous

  1. New menu item: Tools: Copy Origin Sub-VI to LabVIEW user.lib: This menu item copies Origin Sub-VI from <Origin Program Folder>\Samples\Automation Server\LabVIEW\Palette to the user.lib subfolder under the LabVIEW installation folder, so that you can then access these OriginLab created sub-VIs in the LabVIEW function palette. The X-fFunction for this menu item is lvvicopy.
  2. ctrl + up/down arrow key navigation can distinguish data region and column header region ID = 12782
    1. When focus is in Data area, Ctrl+UP should go to first row of data.
    2. When the focus is in column header area, Ctrl+UP and +Down should go to first row and last row of header area.

[edit] LabTalk

  1. Add a new XF "WmergeXY" to combine All Y columns from multi-sheets which have the same X column.
  2. XF "newlayer" will be removed in SR6 since it is duplicated with "layadd". It is suggested to use "layadd" instead.
  3. Added more OC functions callable from LabTalk
    • Statistical Functions : Min, Max, Mean, Median, Total, Count, StdDev, StdDevP
    • Date Functions : Year, Month, Day, Hour, Minute, Second
    • Trigonometric Functions : asinh, acosh, atanh, Degrees, Radians, Angleint1, Angleint2, Distance, Distance3D
  4. LabTalk Control of Graphic Objects
    • New LabTalk variable type to allow control of graphic objects in any book/layer
    • New Connect method
  5. Date() function supports customized date format.
    e.g. jdate = date(2008-18-12, "yyyy-dd-MM")

  6. Add LabTalk access to the script attached to a graphic object.ID = 13298
    Text1.SCRIPT$ = Type -a Hello World!; Text1.SCRIPT = 1; // Run on Button up

  7. LT range notation declaration allow name to be substituted.ID = 13293
     int i = 1;range a$(i) = 1;

  8. New Labtalk string used to refer last report in PA. ID = 13265
    range aa = %(__PAINTEGPEAK$);//get integpeaks sheet of project file

  9. Add a new string variable oname to store output. ID = 13247
  10. Add Labtalk notation to get range string from range variable.ID = 13234
    range rr = (1,2);type %(rr);

  11. Sort and CopyFrom method are added into stringarray.ID = 13038
  12. Delete command in LabTalk support deleting a range of rows.ID = 12758
    range r1 = 2;range r2 = r1[1:2]; delete r2;

  13. LT string function to get a substring between two char needed. ID=13452
     string temp="book1_my sheetkkk_test"; string result=temp.Between("_","kkk")$; result$=;

  14. Add Page.isembedded$ property to access the source cell range of an embedded graph. ID = 12814.

[edit] OriginC

  1. Add back ATI folder in 75. After Patch to latest Sr5, ATI folder will be added and contain 3 header files fitfundef.h LABSTR.h ORGDLL.h. ID = 12296