0% found this document useful (0 votes)
38 views

Add Multiple Fitted Curves in A Histogram - Howto Wiki

This tutorial explains how to overlay multiple distribution curves on a histogram in Origin by fitting peaks to the histogram data using the Peak Analyzer tool and adding the fitted curves as additional layers. The key steps are to use Frequency Count to analyze the sample data, fit peaks using Peak Analyzer, and add the fitted curves as new layers, linking the axis scales between layers.

Uploaded by

hp2020
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Add Multiple Fitted Curves in A Histogram - Howto Wiki

This tutorial explains how to overlay multiple distribution curves on a histogram in Origin by fitting peaks to the histogram data using the Peak Analyzer tool and adding the fitted curves as additional layers. The key steps are to use Frequency Count to analyze the sample data, fit peaks using Peak Analyzer, and add the fitted curves as new layers, linking the axis scales between layers.

Uploaded by

hp2020
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Tutorial:Add multiple fitted curves in a Histogram

From Howto Wiki

Contents

1 Summary

2 What you will learn

3 Steps

3.1 Frequency Count

3.2 Fit peaks

3.3 Add the fitted curves

3.4 Sample Data

Summary

After you plot a Histogram, Origin allows you to overlay a distribution curve on the binned data by selecting
Normal, Lognormal, Poisson, Exponential, Laplace, or Lorentz from the Type drop-down list in the Data
tab of the Plot Details dialog. If you want to add multiple distribution curves to the Histogram, the procedure
involves a few more steps.

What you will learn

Plotting the Histogram

Using Frequency Count to do statistics

Using Peak Analyzer to find peaks and do fitting

Adding new layers

Steps

Copy and paste the sample data into Origin and set the column as Y (Highlight the column and choose
Column: Set As Y from the Origin menu). Plot this data as a Histogram by clicking Plot: Statistics:
Histogram from the menu.

Frequency Count
1. Highlight the sample data, then open the Frequency Count dialog by selecting Statistics: Descriptive Statistcs: Frequency Count.

2. Click OK to finish. A new result sheet will be generated.

Fit peaks

1. Select Col(Counts) and then open the Peak Analyzer dialog from Analysis: Peak and Baseline: Peak Analyzer.

2. In the start page, select Fit Peaks as Goal, then click Next.

3. In the Baseline Mode page, set the baseline as Y=0 when the Custom radio box is checked.

4. Click the Next button twice to go to the Find Peaks page. Click the Find button under the Enable Auto Find check box to find two
peaks.

5. Click the Next button again to open the Fit Peaks page. Click Fit Control at the bottom of this page to open the Peak Fit Parameters
dialog.

6. In this dialog, the default fitting function is Gaussian, which is the right function for normalizing the data. Close the Peak Fit
Parameters dialog and go back to the Peak Analyzer dialog. Click Finish to complete the fitting.

Add the fitted curves

1. Activate the Histogram graph and add a layer by selecting Graph: New Layer(Axes): Right-Y from the main menu.

2. Right-click the Layer2 icon and select Plot Setup from the short menu to open the Plot Setup dialog.

3. Select the sheet FitPeakCurve1 from the top panel, then set col(A3) as X and col(A4) as Y, and add them into the Layer RightY in the
bottom panel.

4. Do the same things for col(A5) and col(A6). After that, both fitted peaks have been added into the Layer RightY.

5. Click OK. Two fitted curves had been added to the Histogram.

6. Double-click the graph to open the Plot Details dialog. Select RightY from the left panel, then open the Link Axes Scales tab in the
right panel and select Straight(1 to 1) for both X Axis Link and Y axis Link. Click OK to close the dialog.

7. The fitted curves are added into the Histogram with the proper scale. The following is the result graph, with the right Y-axis removed.

Sample Data

0.631
0.642
0.652
0.662
0.669
0.676
0.677
0.69
0.691
0.696
0.697
0.699
0.699
0.7
0.7
0.708
0.712
0.718
0.731
0.744
0.749
0.751
0.752
0.753
0.758
0.758
0.759
0.761
0.761
0.763
0.763
0.763
0.765
0.767
0.768
0.768
0.769
0.769
0.77
0.771
0.771
0.772
0.774
0.775
0.775
0.776
0.776
0.776
0.777
0.778
0.779
0.78
0.78
0.781
0.784
0.784
0.785
0.785
0.789
0.789
0.791
0.794
0.795
0.796
0.798
0.798
0.803
0.82
0.831

Retrieved from "http://qhwiki.originlab.com/~originla/howto


/index.php?title=Tutorial:Add_multiple_fitted_curves_in_a_Histogram"

Categories: Tutorials Graphing | P3 | Statistical (Tutorials)

Documentation > Tutorials > Tutorials Graphing


P3
Tutorials 8.5.1 > Graphing (Tutorials) > Statistical (Tutorials)

This page was last modified 09:08, 24 February 2011.

You might also like