• origin Add multiple fitted curves in a Histogram



    5.10.11 Add multiple fitted curves in a Histogram

    Contents

    Summary

    Origin allows you to fit the peaks from the result of frequency count. Also, fitted curves can added into the new layer in the Histogram.

    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.

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

      Tip_icon

      In order to show all three panels in Plot Setup dialog, please expand Plot Type panel by clicking Button_Expand_Preview_Up and expand Available Datapanel by clicking Button_Expand_Preview_Up[1] again.

      Please refer to Plotting using Plot Setup for more information.

    3. Select the sheet FitPeakCurve1 from the top panel, then set col(C) as X and col(D) as Y, and add them into the Layer RightY in the bottom panel.
    4. Do the same things for col(E) and col(F). 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.
      Histogram_Fitted_curve
    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

    © OriginLab Corporation. All rights reserved.

    Site Map | Privacy Policy | Terms of Use

  • 相关阅读:
    SpringMVC 通过post接收form参数或者json参数
    Web验证码图片的生成-基于Java的实现
    springmvc防止表单重复提交demo
    MyBatis多表映射demo
    mybatis配置ehcache缓存
    Oracle数据库Where条件执行顺序
    省选模拟10
    省选模拟8
    省选模拟9
    省选模拟7
  • 原文地址:https://www.cnblogs.com/qqcwannagraduate/p/4944806.html
Copyright © 2020-2023  润新知