Trying to find the derivative of a function sometimes takes its toll. In earlier days, as a researcher felt the pain of working with analytical techniques. Sparing you the horror, this blog intends to introduce to the reader how we may use python math libraries to find derivatives of any function. Show
What is a SYMBOLIC DIFFERENTIATION program? Simply it eats a formula and spits out one which is a derivative of the one it ate. Symbolic differentiation algorithms can derive the derivatives with respect to the variable specified. How they accomplish that is out of scope for this article, however. Let us avail is service and be happy. Let us load up with the required libraries for finding a derivative of any function. import numpy as np Now define the variables of our function using sympy. For simplicity, I choose the inverse of the sin function. This is a box plot with mean points connected. The user can also connect median points, data points or other percentiles, using controls on the Connect Lines tab of the Plot Details dialog. A 3D OpenGL Surface Plot with multiple surfaces stacked in one graph layer. The graph has been customized by assigning a unique plot style and a custom Z offset to each surface. Some surfaces are also rendered as flat. Density Dots plot of 2 million data points. Colormap represents data density computed using a fast algorithm. Graph Gallery>> Graph Types
Over 100+ graph types are available from the Plot Menu.
Extended Templates from OriginLab WebsiteIn addition to build-in graph types, Origin also provides extended templates which can be found and installed from the OriginLab Website using the Template Center.
Multiple Axes and PanelsMulti-axis and Multi-panel Tempates
Add, Arrange, Resize and Link Layers
Merge and Extract
Double-Y graph in single layer, it is easy to assign or switch plots to be associated with left or right Y axis. When merging individual graphs, check Treat Each Source Graph as a Unit to maintain the proper relationship of layers in individual graphs. In this example, each inset graph remains with its parent layer. An add labels option is also available to facilitate adding labels to each unit in the merged graph. Options in Plot Details Layer tab enable users to automatically apply Layer, Plot, or Axis customizations made to one graph layer, to other layers on the page. A multi-Y (3Y-YY) graph with three overlapping layers sharing a common X axis. Note that the Y axis line and label color matches the data plot. Origin's Graph toolbar lets you add layers to your graph, merge selected graphs, or extract data plots to separate layers or layers to separate graph windows, with the click of a button. With multiple layers selected (pressing Ctrl key to select), Origin's Object Edit toolbar enables you to align or evenly distribute the layers with the click of a button. A multi-panel graph combining several layers of contour and line plots arranged flexibly. Note the inset layer on the bottom right panel. The top panel displays stacked lines by y offset allowing for easy comparison of multiple data plots. Grouped Data PlotUsing grouped data, you can easily create multi-panelled graphs in Origin with a single click on the plot menu
> Scatter > Column/Bar Flexible configuration and customization options include
The user can easily create multi-panel graphs from grouped data with the Trellis plot. Multi-layer Cluster Plot with option for independent X and Y scales. Easily change formatting of plots and other attributes in all layers by editing properties in one layer. Grouped plots now support scatter plot with subgroup spacing. Scatter can then be combined with other plot types such as the column plot in this example. Double-Y Trellis plot with two independent Y axes, each with its own scale settings. Data PlotsThe interactive, multi-panel dialog box allows for quick editing of many important properties of your Origin graph. In this graph, one dataset is plotted as a scatter graph + error bars. Because the data is dense, every other point is skipped using the Skip Points settings in Plot Details. The other two datasets are plotted as grouped line plots for easy customization. Their corresponding error bars are drawn as transparent bands. Vertical and Horizontal drop lines are drawn from a point to the axes, with the x and y values labeled. Skip symbols while maintaining overall data features General
Symbols
Line
Fill Patterns
Data Labels
Error Bar
Single Point and Multiple Plots Customization
Origin supports offsetting plots in the X and Y directions with no change in data values. Offset options include auto, cumulative, incremental, constant, and individual. In this graph we stacked curves with a pattern such as 0 -100 so each data pair stayed together. The color and style were customized to use repeated patterns. For such graphs, you can also drag a single curve to reposition it for comparison with another curve. The Legend is arranged in two columns and placed beside each plot pair. Plot Modifiers
A color mapped bubble chart. This is essentially a scatter plot with modifiers for symbol size and color, set using other data columns. Notice the bubble legend on the top left of the graph. This unique feature in Origin allows for various configurations for this legend. The powerful Color Chooser dialog is displayed on the right side. This dialog has several options including the ability to load a list of pre-defined colors. This graph displays the relative quantities of size fractions of unconsolidated sedimentary materials with depth below the ground surface. Hatch (Fill) pattern selection has been enhanced for Origin 2017, including the addition of entirely new "Geology" fill patterns. The graph is an example of a sunburst chart. A sunburst has multiple levels (represented by different rings), across which you can see how a category is split into contributing sub-categories. The color-indexing of the rings is done by values from the same "Browser" column in the worksheet. A surface plot created from XYZ data where the color map was based on a 4th data column. A custom XY boundary has also been applied to the plot. AxesA Double-Y plot allowing for easy comparison of two datasets. Note that the Y axes ticks and labels have the same color as the data plot they represent. Other features include scientific notation for labels in the right Y axis, special tick labels at user-specified axis positions, and an axis break in the X axis. Origin supports multiple special ticks and axes breaks. In addition to support for multiple axis scale types such as linear, log10, and reciprocal, Origin supports creating scales using a custom formula. In this graph, the X axis scale was set using sqrt(x). Positive and Negative Symmetrical Log Scale This graph displays the NASDAQ composite index over a period of several years. Notice the X axis where in addition to the yearly tick marks, special ticks and labels have been placed to mark significant events during that time period. Each special tick label can be individually formatted. Scale
Major/ Minor / Special Ticks
Axis Lines and Grid Lines
Reference Lines
Tick Labels
Title
Breaks
Multiple Axes Customization
Further Axes Customization
Engine torque speed map where performance is plotted as a contour plot with custom boundary defined by maximum torque line. Reference lines for various horse power values have been added using the expression: Torque=HP*5252/RPM An Arrhenius plot of ln(k) versus 1/T. A linear regression on the Arrhenius plot will solve the intercept which corresponds to ln(A), and the slope which corresponds to -Ea/R. A linked secondary top axis is added to display temperature in degrees Celsius, using the formula: Xtop = (1 / Xbottom) – 273.15. The axis type is also set to non-linear with a custom formula. In this grouped box chart, labels representing the group variables have been created using a . Options for customizing the table include placement above and below the layer, merging labels between subgroups, flexible border options, ticks, and fill colors. By setting Axis type to Discrete, weekends and holidays are excluded in this Open-High-Low-Close-Volume Stock Chart. Minor tick labels are customized to show the first letter of the weekday while major tick labels show the date as M/d/yyyy. Graph Legends and Color ScalesUpdate/Reconstruct Legend Origin grants you the possibility to simply update or construct the legend for data plots. Some commonly used options are:
Create one combined legend or separate legends for each set of data plots in a multi-layer graph. In addition, there are shortcut menu options to rearrange, reorder, or further customize the data plot legend. Special Legends and Scales Origin also has several special legends used with certain graph types. These legends and scales can be customized and updated similarly with a dialog
This box chart includes a special box chart legend. This legend is auto-generated for box charts. Each legend entry refers to a box plot component: the box, whiskers, median or mean lines, percentiles, etc. In addition, the Legend Properties dialog lets you add custom entries to your legend for symbols and lines, by building the desired syntax using a dialog. The Piper diagram (or Trilinear diagram) is used to plot chemistry of water samples for hydro-geological studies. Scatter point shape and color change for each sample. Sample ID is displayed next to each point and its color is matched to the sample point. A colorblind-safe color list is used (Origin includes two such built-in color lists). A bubble scale relates bubble size to total dissolved solids. A point-by-point legend identifies each sample point. A scatter plot with modifiers for color and size, set using other data columns. Note the nested bubble scale legend at bottom left. The map of the continental USA was added to the graph using the Insert: Continental USA Map menu entry (The menu entry will be shown when the scale matches the range of the map's latitude and longitude) AnnotationWorksheet column label row cells can display and store LaTeX strings. These strings can then be easily added to graph text objects, such as graph axis titles and legends. In addition, an equation has been added using the free LaTeX App available from the OriginLab File Exchange. If you have MathType™ installed on your computer, you can use the Insert Equation button in the Tools toolbar to insert equations using MathType. Origin also provides a simplified Symbol Map dialog, with multiple tabs with commonly used and popular symbols, to enable users to find and insert symbols quickly when editing text labels. Insert worksheet in graphs or layout pages and further customize object to create custom reports Graph Annotations
Insert Image to Graphs
Insert Worksheets in Graph
Editing the Objects
Drag and drop a map image to Origin, set co-ordinate and then insert it in graph as background 3D GraphsOrigin supports plotting 3D graphs from XYZ data, XYY data, matrix data and virtual matrix. The OpenGL graphic technology brought unltrafast performance and more flexibility to customize your 3D graphs.
This graph displays the topology of Mount St. Helens before and after the volcanic eruption in 1980. The data are plotted as two color map surface plots in the same OpenGL graph layer, with the top surface offset along the Z axis. A light source has been added to illuminate the surface. Isometric scaling has been applied so that the X, Y and Z axis lengths reflect true relative distances. This graph displays the population of different counties by fetching map data from a new WMS server and then plotting 3D bars on top of the map plane. The Maps Online app offers a few built-in map data sources for users to choose from. You can also add your own map source. With Origin, it is very easy to place 3D bars on a map using the Layer Contents dialog. This graph displays a 3D color map surface plot of Mount Everest region. The surface is overlaid by a 3D scatter plot with label to highlight the peaks. Origin supports free rotation of OpenGL graphs by simply holding down the and using the mouse. Additional options for rotating, resizing, stretching and skewing are available when the 3D graph layer is selected. The graph can be created from an online template, 3D Surface Map This plot shows a 3D scatter plot with x, y, z errors, and projections on three axis planes. The 3D scatter symbol is colormapped to another data column (population density). Symbols and error bars in each projection can be customized independently. This is a 3D Colormap Surface with Projection, made possible by plotting the data twice: once as a 3D surface plot and a second time as a flat surface. The flat surface can be offset arbitrarily in the Z direction. The additional red and yellow curves in the XZ plane were added using XYZ datasets having a constant Y value. The Polynomial Surface Fit app is a great tool for fitting XYZ data with polynomial equations of specified/maximum degree in X and Y, and ranking equations to determine best fit. Using a transparent surface and drop lines to surface instead of the bottom plane, you can show distances between the points and the surface. Mini ToolbarOrigin supports Mini Toolbar for quick and easy operations on graphs and worksheet/matrix. ImportingImpressive Import Speed for Large DataImporting large text files is easy and fast in Origin. Import speed in Origin is a factor of 10 or more compared to Excel 2016, and compared to older versions of Origin. The gain in speed has been achieved by making full use of the processor's multi-core architecture. Importing FilesOrigin supports more than 30 data formats including: ASCII, CSV, EXCEL, Binary, PCLAMP, CDF, DCF, HPF, EPA, EDF, BDF, REC, HYP, DAT, MDF, DAT, RAW, H5, HE5, HDF5, DAT, PXP, IBW, , DX, DX1, JDX, JCM, QDA, MAT, MTW, MPJ, mzData, mzXML, mzML, imzML, NC, DAT, TDM, TDMS, ABF, DAT, AB, SPE, PZFX, XML, JNB, SIE, WAV, SAV, SPC, CGM, BRUKER OPUS, ISF, and SAS7BDAT
You can drag-and-drop data files onto the Origin interface to import them. Drag-and-drop is supported for most common file types, and can be further customized for additional or custom file types. Data Connectors
Working with ExcelYou can copy and paste data from Excel to Origin with full precision. You can import XLS, XLSX & XLSM files into Origin. Starting with Origin 2017, you no longer need to have MS Excel installed to import these file types. Origin provides the following options for Excel file import:
Excel workbooks can also be opened directly within Origin. The Excel file can be saved with file path relative to the Origin Project file, for easy sharing of the project along with related Excel files. You can import Excel files or open them directly in Origin (by launching an OLE instance of Excel). We recommend importing your Excel data, so that you have full access to Origin's powerful graphing and analysis environment. Database ImportOrigin supports importing data from a database using Database Connector. Options include:
Origin supports importing from a database, and then saving the query in the worksheet for easy editing and re-importing. The Database Connector provides both ADO and ODBC support for typical databases such as Oracle®, Microsoft SQL Server® and MySQL® DigitizerThe Digitizer tool in Origin allows you to perform manual or semi-automated digitizing of graph images. Features include:
The Digitizer tool in Origin lets you generate data from images of graphs. Cartesian, ternary, and polar coordinates are supported. Digitizing methods include manual or semi-automated operations. Multiple curves can be digitized, and points can be reordered and visualized in the result graphing and data worksheet. Data ExplorationZoom and Pan
Alter or Remove Data Points
In a Zoom graph, a zoomed portion of a larger graph is added to explore a region of interest. Moving the cyan rectangle updates that portion of the graph shown by the inset. Press the Z or X keys and scroll the mouse wheel to quickly and interactively zoom and pan data in graph layers. Press Ctrl+R to rescale graph axes to show all data. Examine Data Points and Related Data
Browser Graph for Multichannel Data ExplorationThis version introduces a set of Browser Graph templates that allow for quick and easy exploration of multi-column data:
Data Slicer for GraphsThe new Data Slicer feature allows you to change filter conditions directly on a graph for easy data exploration. Simply set up filters on desired worksheet columns, create a graph with one or more layers, and turn on the Data Slicer panel to control the filters. Features include:
Highlight a particular data plot in a graph. Also works with complex graph types such as Parallel plot. The Data Reader tool and the Data Info Window in Origin allow you to explore your data graphically. You can customize the display to include information from other columns of the worksheet, including images embedded in worksheet cells. Use Vertical Cursor for exploring data in stacked graphs in multiple graph windows simultaneously. You can find information of one cursor or compare two cursors such as the distance Data Analysis and StatisticsOrigin and OriginPro provide a rich set of tools for performing exploratory and advanced analysis of your data. Please view the following sections for details. Exploratory AnalysisOrigin provides several gadgets to perform exploratory analysis by interacting with data plotted in a graph.
Origin provides a selection of Gadgets to perform exploratory analysis of data from a graph. A region of interest (ROI) control allows you to interactively specify the subset of data to be analyzed. Results from the analysis are dynamically updated on top of the ROI as it is resized or moved. This image shows peak fitting being performed using the Quick Fit gadget.
Two statistics gadgets are applied to this graph to report statistics in two regions of interest (ROI). Mean and 1st SD lines and corresponding values are are displayed in each ROI. The Y axis is moved to separate the two regions. Yellow ROI boxes are hidden so that they do not show in printouts. The "S" button on upper-right corner re-displays the ROI boxes when clicked. Gadgets in Origin and OriginPro:
Use the Quick Peak Gadget to interactively perform peak finding, baseline subtraction, and peak integration of data from a graph. The Quick Fit Gadget lets you perform linear, polynomial, or nonlinear curve fitting on data plots in a graph. Notice the label on top of the ROI displaying the slope and Pearson's r from a linear fit . The label updates dynamically as the ROI is moved or resized. The Cluster Gadget available in OriginPro lets you interact with data in a graph within a region of interest (ROI). The ROI can be rectangular, elliptical, polygon or arbitrary hand-draw shape. The tool provides statistics on data inside and outside the ROI, and also lets you copy, clear, mask or delete selected data. Curve and Surface FittingOrigin provides various tools for linear, polynomial and nonlinear curve and surface fitting. Fitting routines use state-of-the-art algorithms. The sections below provide a summary of key features.
Options and Controls
Graph displaying result of linear regression. Options for linear regression include fixing intercept or slope, finding new X/Y values from known Y/X values using the fit line, goodness of fit results including significance of slope, and fitting with both X and Y errors. Graph displaying result of polynomial regression. Options include fitting up to 9th order polynomial, fixing intercept, finding new X/Y values from known Y/X values using the fit line, and fitting with Y errors. Origin supports Global Fitting with Parameter Sharing, where you can simultaneously fit multiple datasets with the same function and optionally share one or more fitting parameters across all datasets. The report sheet will provide a summary table with all parameter values and errors, and a single set of fit statistics from the global fit. OriginPro supports fitting with implicit functions using the Orthogonal Distance Regression algorithm which minimizes the orthogonal distance from data to the fit curve. Errors and weighting for both X and Y data are supported. Implicit functions can have two or more variables. Result of an on data plotted with logarithmic Y axis scale. Perform Weighted Fitting using either Levenberg-Marquardt or Orthogonal Distance Regression algorithms. The latter supports weights for both X and Y data. Select from over 12 weighting methods including instrumental, statistical, direct, arbitrary dataset, and variance. When working with replicate data, Origin can perform a Concatenated Fit where the replicates are combined internally to a single dataset. The graph included in the report sheet can either represent the data in replicate form, or as mean values with SD or SE error bars. A Quick Sigmoidal Fit Gadget is also available. Comparing Models and Datasets PROOriginPro provides the following tools for fit comparison:
The Rank Models tool in OriginPro can fit and rank multiple functions to a dataset. The fit results can be ranked by either Akaike (AIC) or Bayesian (BIC) Information Criterion, to determine the best fitting model for your data. Surface Fitting PROPerform 3D surface fitting on XYZ worksheet data or matrix data
Use OriginPro to perform nonlinear surface fitting of data organized in XYZ worksheet columns, a matrix, or a virtual matrix. Select from over 20 surface functions or create your own function. For peak functions, find peaks using local maximum, partial derivative, or contour consolidation. Results from fitting a 2D Gaussian function to four peaks, using the Surface Fitting tool in OriginPro. The raw data is plotted as a color-filled contour plot, and the fit results are plotted as contour lines. Implicit Fitting PRODo you need to fit an implicit function to your data? Origin's NLFit tool supports implicit fitting using the Orthogonal Distance Regression (ODR) algorithm, including fitting with X and/or Y error data. Implicit Fitting uses the Orthogonal Distance Regression algorithm to find optimal values for the fit parameters. Errors or weights are supported for both X and Y data. Peak AnalysisOrigin provides several features for peak analysis, from baseline correction to peak finding, peak integration, peak deconvolution and fitting. The following sections list the key features for peak analysis.
Baseline Detection
Peak IntegrationOptions for peak integration include:
This is a preview graph for performing peak integration using the Peak Analyzer tool. The integration range can be applied for all peaks, or modified individually and interactively for each peak. Peak Fitting PROOnce you have performed baseline detection and peak finding, Origin provides several options for peak fitting:
Peak Finding
Batch Peak AnalysisThere are several options for batch peak analysis of multiple datasets in Origin:
The Quick Peaks Gadget provides a quick and interactive way to perform peak analysis from a graph, using a region of interest (ROI) control. Batch operations such as integration of multiple curves over a desired range are also possible from this gadget. The Peak Analyzer tool in Origin supports baseline detection, peak picking, and peak integration. In OriginPro, this tool also supports fitting multiple peaks. Peak detection methods include 2nd derivative search to detect overlapping or hidden peaks. The interface guides you step-by-step, allowing you to customize settings at each stage, and then save the settings as a theme for repeat use on similar data. StatisticsOrigin provides a wide array of tools for statistical analysis. In addition, Origin provides Stats Advisor App which helps user to interactively choose the appropriate statistical test, analysis tool or App.
The Stats Advisor App asks a series of questions and then suggests the appropriate tool or App to analyze your data. Descriptive StatisticsThe graph shows a Custom Report of numerical and graphical results from multiple statistical tools, created from Origin's flexible worksheet. Once created, such reports can be automatically generated, greatly simplifying your statistical analysis tasks. Origin provides several tools for summarizing your continuous and discrete data:
Parametric Tests
Non-parametric Tests
ANOVAAn Origin Analysis Report Sheet, this one created by the One-way Repeated Measures ANOVA tool. The image shows two of the embedded graphs opened for further editing. Edit an embedded graph by double-clicking on the thumbnail image in the report. Once customizations are made, put the graphs back into the report and see your modifications. Origin provides 5 ANOVA tools to examine the differences between group means
Multivariate AnalysisFive commonly used multivariate tools are available:
Dendrogram of spectra classification from of spectra A Loading and Score plot created by the Principal Component Analysis (PCA) tool in OriginPro. A Canonical Score Plot created by the Discriminant Analysis tool in OriginPro. This plot can be used to classify observations across groups. Additional AnalysesThis graph displays survival functions with confidence intervals, created by the Survival Analysis tool in OriginPro. The tool also performs a log-rank test to compare the two survival functions. Other statistical tools available in OriginPro include:
Signal ProcessingOrigin provides a wide array of tools for signal processing. Read More>> Transforms
The Short-Time Fourier Transform (STFT) tool in OriginPro performs time-frequency analysis of non-stationary signals. A Time-Frequency Analysis App using Continuous Wavelet Transform is also available. Smoothing
The Smooth tool in Origin provides several methods to remove noise, including Adjacent Averaging, Savitzky-Golay, Percentile Filter, FFT Filter, LOWESS, LOESS, and Binomial Method. The graph shows results from LOWESS and LOESS smoothing, which are particularly useful for detecting trends in noisy data. Filtering
The IIR Filter tool in OriginPro can be used to design, analyze, and implement Infinite Impulse Response digital filters. Filter methods include Butterworth, Chebyshev Type I and II, and Elliptic filters. A preview panel is provided to enable real-time visualization of specified parameters and corresponding results. Wavelet Analysis
OriginPro provides several wavelet transform tools. This graph displays wavelet coefficients for a 1D signal computed using the Continuous Wavelet Transform (CWT) tool. A Time-Frequency Analysis App is also available from our File Exchange site. Additional Tools
MathematicsFrom simple column calculations to interpolation, calculus and integration, Origin provides a wide range of tools for mathematical analysis of worksheet and matrix data.
Column and Cell Calculations
Use the Normalize tool to normalize data in a worksheet or a graph. The F(x) Column Formula row in Origin worksheet lets you directly type expressions to calculate column values based on data in other columns and metadata elements. The expression can be further edited in the Set Values dialog which provides a lower panel to execute Before Formula scripts for pre-processing data. The Set Values dialog also provides a search button to quickly find and insert functions from over 500 built-in functions. User-defined functions can also be added for custom transforms. Auto complete helps to quickly find and enter functions as well as name ranges to complete your formula. Interpolation and Extrapolation
Use Origin's Interpolation Gadget to perform interpolation and extrapolation on one or more data plots in a graph. You can interactively select the data range using a region-of-interest (ROI) control. Interpolation methods include linear, spline and Akima spline. Use the XYZ Trace Interpolation tool to perform interpolation on a set of XYZ data points, preserving the sequential aspect of the data. Differentiation and Integration
Use the Integrate Gadget to perform integration of data curves in a graph. A region-of-interest (ROI) control is provided to interactively select the desired data range. Baseline methods include selecting an existing data plot as a baseline to determine the area between two curves, as displayed in this graph. Batch integration of multiple curves is also supported. Use the 2D Surface Integration Gadget in OriginPro to calculate volume under a 3D surface plot, by interactively moving a region of interest (ROI). The volume, FWHM, minimum, maximum, and other quantities are dynamically updated as the ROI selector is moved or resized. Data ProcessingOrigin provides multiple powerful data manipulation tools which can be used for pre-analysis data processing. The pre-analysis data processing can be carried out right after importing data into Origin, and help to get the data into a desired form for analysis in a quick and intuitive way. Read More>> Reorganization
Origin provides several tools for reorganizing your data, such as stacking and unstacking columns, and splitting or appending worksheets. With the Stack Columns tool displayed here, you can specify a row label such as Long Name or Comments to act as group identifier. The tool also provides options for stacking into subgroups or stacking by rows. Extraction and Reduction
The Data Filter feature in Origin lets you specify numeric, string, or date-time filters on one or more worksheet columns to quickly reduce data. Custom filter conditions are also supported. Hidden rows are excluded from graphing and analysis. All graphs and analysis results can automatically update when filter conditions are changed or when the filter is enabled/disabled. RS and GIS Data: NetCDF and GeoTIFF Handling and GraphingNetCDF
GeoTIFF
Data Processing and Analysis
Visualization and Graphing
Add one or more ROIs on your imported GeoTIFF image, and extract to analyze further or create graphs such as 3D surface plot. Moving or resizing the ROI will automatically update the analysis results and graphs Perform Theil–Sen regression on multiple years of GeoTIFF data and get the rate of change (slope value) GeoTIFF image as background in graph, with pie map and shapefile overlaid Exporting and PresentationOrigin provides many options for exporting and presentation, from sending graphs to PowerPoint, to creating movies Resize Graph for PublishingJournals typically require a specific width for the graph image, such as 86 mm for single column and 178 mm for double column. In addition, at the scaled size, they may require text labels to be above a particular font size, and lines to be above a certain thickness. In this version, we offer the following key features for preparing the Origin graph with the exact width specification:
Once the graph has been scaled to the desired width then it can be exported in a vector or raster format for submission to the journal. Specify desired width and units to match requirements of the journal. The page height will be proportionally scaled while maintaining aspect ratio. Relative dimensions of all objects in graph will be maintained. Reduce white space in your graph page by either expanding all layers to occupy available space (Fit Layers to Page) or by reducing page size (Fit Page to Layers). Exporting Graphs
Pasting and Embedding
Give your published graphs a consistent look using a Master Page or System Theme™. In the GIF, we used the Master Page feature to add a company logo and date stamp of identical style and position in graphs Send Graphs to PowerPoint or Word
Copy and Paste HTML or EMF TablesCopy formatted worksheet cells or tables from Origin's report sheets as HTML. Then paste to other applications such as Microsoft word and edit further. Worksheet cells can also be copied as EMF. Slide ShowPerform a slide show right within Origin:
Send graphs to Microsoft® PowerPoint directly from Origin. You can send graphs individually by name, by Project Explorer folder, or send all graphs from the entire project. Options include specifying slide margins and using a pre-existing slide as a template, allowing you to add a common set of elements to your published slides. A Send Graphs to Word App, available from the OriginLab File Exchange, exports your Origin graphs as embedded objects or pictures and inserts them into a Word document, with the option to insert them at specific bookmarked positions. Creating Movies
Use the Video Builder tool in Origin to create a video file from Origin graphs. Manually or programmatically add frames to the video from any graph in your project. This animation displays the evolution of data values mapped onto a 3D surface. Creating ReportsOrigin provides multiple ways to create nice reports. With any of the available methods, you can format the appearance of the report as you want, adding graphs, images and analysis results as links, thus creating a custom report. Your custom report sheets can become templates for repeated tasks -- simply import new raw data and watch your custom report automatically update. When your report is ready, export it as a PDF file or as an image file by choosing a popular image format such as EPS and JPEG.
Use Origin Rich Text in a standalone Notes Window or Notes Sheet added to a workbook. Format text using various built-in, customizable styles, and add graph images and images from the project or from the web. Link to result values in report sheets to create a final report, all within Origin. Batch ProcessingOrigin provides multiple ways to handle repetitive graphing, importing and data analysis tasks. Batch operations can be performed directly from the GUI, without the need for any programming. Read More>> For GraphingCopy and Paste Data Plot
Save Graph Settings
Batch Plotting
Smart Plotting with Cloneable Templates
One of the many time-saving features in Origin is batch plotting: Create a graph involving multiple columns from a worksheet/workbook, and then have Origin duplicate that graph for all other worksheets/workbooks in the project with the same data structure. As an alternative to Graph Templates, Graph Themes provide a means to save graph customizations and apply them to different types of graphs across your projects. The Template Library helps you organize and utilize Graph Templates you have created. Graph Templates are a great way to apply the customizations you have made to one graph, to additional graphs you make from similar data. Starting from Origin 2021b, Origin provides a set of extended graph templates in the template library. Graph Template Library dialog shown in List View mode. It enable to select Graph Template to appear in Plot > My Template menu For ImportingSet up desired graphs and analysis operations on data in the current workbook. Set the operations to automatically update. Then simply import multiple files, having Origin clone the current workbook for each file. All graphs and analysis results in the new books will be updated based on the data from each file. Save Import Settings
Batch Import by Cloning Workbook Origin provides a quick yet powerful way to allow users to perform batch graphing and analysis when importing multiple files.
Clone an Origin Project Clone an Origin project to easily replicate graphing and analysis tasks with new data.
For AnalysisRecalculation and Analysis Template Origin supports automatic or manual recalculation of results from most analysis and data processing operations, which is the fundation of batch processing and automation.
Repeating Operations on All Plots or Columns
Copying & Pasting Fitting Operations
Use Gadgets to Analyze Multiple Curves
Batch Analysis
The tool in Origin lets you process multiple data files or datasets using an Analysis Template. The template can include a summary sheet for collecting relevant results for each file in a summary table. The analysis template can also be linked to a Microsoft Word template using bookmarks, to create custom multi-page Word or PDF reports for each data file. Most analysis tools support recalculation of results upon changes to data. The green "lock" that you will see in result sheets and graph windows indicates that recalculation is set to "auto"; so, for instance, if you made changes to your input data, your linear regression analysis would update automatically. Left-click on the green lock to open the linear fit dialog, make adjustments to your analysis, then recalculate. Once you perform an operation on a data plot or a worksheet column, Origin allows you to for all other plots in the graph, or all other columns in the worksheet. You can use New Output for All Curves or New Output for All Layers to apply the same analysis on all plots. Project and Data ManagementThe following are some of the key features related to data management in Origin Origin Project (OPJ, OPJU) File
The Origin Project file (.OPJ) combines data, notes, graphs, and analysis results into one document with a user-defined folder structure. The dockable Project Explorer window lets you organize the contents of your Origin project with a flexible user-defined folder structure. Simply drag-and-drop windows and subfolders to rearrange. Right-click on one or more graphs and choose Add Shortcut to Favorites and collect shortcuts in a Favorites folder, allowing for efficient presentation and/or export of select graphs. Choose Project Explorer's extra large icons view for graphs, for easy identification.
Origin Project files(OPJU) viewed in Windows Explorer. Middle panel shows large icons with image of last visited graph when project was saved. Right side panel shows larger image of graphs with vertical scroll bar to view all graphs contained in the project. Workbooks and Worksheets
The Origin Worksheet lets you store relevant metadata in Column Label Rows on top of the columns. Default rows include Long Name, Units, Comments, F(x) for Column Formula, and Sparklines that display a miniature graph of the data in the column. Users can further customize label rows for including other metadata elements. This image shows custom rows with rich text formatting for super-subscript, and images inserted from external files. Freeze first n rows or columns. Hide sheets to reduce clutter. Matrix books, Sheet and Objects
Matrix book in Origin. Image Thumbnails Panel is turned on on the top to for quick preview of data. There are 3 matrix objects in current sheet, where the 3rd matrix is a subtraction of first two matrix objects. XY values of matrix show in column and row headers instead of column and row indices. Password Protection
Origin provides password protection of the entire project, or at the workbook/worksheet level. An audit log feature is also available, to maintain a record of date, time and user name for changes made to the project file. These protection features can facilitate compliance with CFR Title 21 Part 11. Programming and ConnectivityAs your Origin use expands, you may want to programmatically access existing features in Origin, add your own custom routines and tools, or communicate with Origin from other applications. To facilitate such customizations, Origin provides the following options. Read More>> PythonOrigin provides an embedded Python environment so that you can run Python code in Origin.
Set Column Values is one of several places where Python functions can be used to perform calculations and data transforms. The Python function, Before Formula Script, and the expression can all be saved together as a formula for future use. LabTalkLabTalk is a scripting language native to Origin. For simple operations such as manipulating data and automating tasks, LabTalk is a good place to start. You can access a rich set of script commands and functions, including a large collection of X-Functions, to create scripts for your specific needs. Your custom script code can be easily assigned to buttons on graphs or worksheets, new toolbar buttons or custom menu items. The Classic Script Window in Origin can be used to execute Labtalk script. The same window can also be used to execute Python code. LabTalk script can be stored in OGS files, and organized by "sections". Scripts can be executed in many ways in Origin, including from button objects added to graphs and worksheet windows. Origin COrigin C is a programming language based on ANSI C, including additional support for C++ and C# features. With Origin C, you can:
Origin provides a state-of-the-art integrated development environment called Code Builder for managing your Origin C projects. Code Builder is Origin’s integrated development environment for Origin C, LabTalk script, Python code, and App development. This image shows an Origin C workspace. MATLAB ConsoleIn addition to support for importing MATLAB (.mat) files, Origin also provides a MATLAB Console tool for interacting with MATLAB installed to the same computer. You can transfer data between the two applications, and also issue MATLAB commands from the tool. The MATLAB Console tool in Origin lets you connect with the MATLAB workspace to transfer data between the two applications. Transfer selected variables from MATLAB to Origin to create your final publication-quality graphs. R and Rserve ConsoleThe R Console dialog in Origin allows you to access R if it is installed on the same computer. You can issue R commands from within the Origin, and transfer data between Origin and R. The Rserve Console dialog allows you to access a server installation of R in a similar manner. The R and Rserve Consoles in Origin allow you to issue R commands within the Origin environment, and transfer data between the two applications either using a dialog interface, or by using commands. This example shows simulation of a random walk in a 2D lattice computed in R, with the route displayed as an Origin line plot. The step number has been used a modifier for the line color. Mathematica LinkThe Mathematica Link tool provides access to the Mathematica kernel from within Origin, for Mathematica installed to the same computer. The tool allows exchange of data, and to evaluate Mathematica expressions. LabVIEW Sub VIsOrign provides a collection of subVIs to facilitate communication with LabVIEW. These subVIs can be used for operations such as opening communication with Origin, exchanging data, and issuing commands to Origin from LabVIEW. The Origin installation includes a collection of custom VIs for LabVIEW. The Vis are organized in three palettes, as shown in this image. The VIs provide various methods to connect, and send data and commands, to Origin from LabVIEW. The image also shows a LabVIEW VI that includes several of the VIs from these palettes. Apps in OriginExtend graphing and analysis functionality of Origin by installing free Apps from our File Exchange site. A selection of recently published Apps are displayed below. |