The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 A question about histogram and line chart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Tang321123

China
12 Posts

Posted - 01/23/2024 :  10:08:30 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I'm drawing a plot with histogram and line chart. I want to add a more smooth line chart into my figure. However, some peak points are not coincide with the vertex of line (It's the second and the fourth points in my figure). How can I adjust it? Thank you very much.

YimingChen

1594 Posts

Posted - 01/23/2024 :  11:03:09 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Please refer the video below. You could
1. Extract the smoothed curve data.
2. Find the peaks on the curve using Quick Peak gadget.
3. Add the peaks to the graph.
4. Skip the two intermediate Points.



James
Go to Top of Page

Tang321123

China
12 Posts

Posted - 01/23/2024 :  9:44:37 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for your reply. I try to adjust and it's useful to find peak point.However,it's my vague expression,the real peak is the location at the second and the fourth point, so I mean the fitting curve is wrong, can I use same method to fit correct curve.
Go to Top of Page

YimingChen

1594 Posts

Posted - 01/24/2024 :  09:00:22 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Fitting 5 points with 2 peak functions is not feasible. Your best option is to use interpolation. With the graph activated, go to the menu Analysis -> Mathematics -> Trace Interpolation, and configure the settings as follows:





quote:
Originally posted by Tang321123

Thanks for your reply. I try to adjust and it's useful to find peak point.However,it's my vague expression,the real peak is the location at the second and the fourth point, so I mean the fitting curve is wrong, can I use same method to fit correct curve.

Go to Top of Page

Tang321123

China
12 Posts

Posted - 01/24/2024 :  8:58:52 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for your reply and it's helpful to me.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000