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
 All Forums
 Origin Forum
 Origin Forum
 Local Max and Min

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
LazareskiK Posted - 10/11/2018 : 05:32:53 AM
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
1   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 10/11/2018 : 10:25:49 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000