Author |
Topic  |
|
Tang321123
China
12 Posts |
Posted - 01/23/2024 : 10:08:30 AM
|
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
1644 Posts |
Posted - 01/23/2024 : 11:03:09 AM
|
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 |
 |
|
Tang321123
China
12 Posts |
Posted - 01/23/2024 : 9:44:37 PM
|
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. |
 |
|
YimingChen
1644 Posts |
Posted - 01/24/2024 : 09:00:22 AM
|
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.
|
 |
|
Tang321123
China
12 Posts |
Posted - 01/24/2024 : 8:58:52 PM
|
Thanks for your reply and it's helpful to me. |
 |
|
|
Topic  |
|