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
 Local Max and Min
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

LazareskiK

Germany
4 Posts

Posted - 10/11/2018 :  05:32:53 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi there,

I am having a trouble finding the local maximum and minimum from a graph. Could you tell me how to do it? I have tried using peak analysis, it gives me many peaks. In other words, is there an option to choose two x-coordinates and to receive the maximum (or minimum)? I am beginner, so please have an understanding .

Cheers

Hideo Fujii

USA
1582 Posts

Posted - 10/11/2018 :  10:25:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi LazareskiK,

There should be a better way, but I could come up only the following procedure using the
Cluster gadget and "Swap Mask" tool button:

1) On your graph, start Cluster gadget. Move the yellow ROI box to position it to the desired position.
2) Press "Mask Data Points" button in the dialog of the Cluster gadget. (The portion of plot changes the color.)
3) Press "Swap Mask" tool button in Mask toolbar. (Only your portion is unmasked.)
4) Enter the following commands in script window, highlight these lines, then press ENTER key.
You get the desired values:
sum(%c);
sum.imax=;
xvalue(sum.imax,%C)=;
sum.max=;
sum.imin=;
xvalue(sum.imin,%C)=;
sum.min=;
5) Again Swap Mask, "Unmask Data Points" in tool, then you can repeat 1)--4).
Hope this helps.

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 10/11/2018 10:34:30 AM
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