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
 Fill peak areas above baseline

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
oszkoa Posted - 09/25/2006 : 2:52:16 PM
Origin Version (Select Help-->About Origin): 7.5 pro
Operating System: Win XP

Hi all,

I have a spectrum with multiple peaks (e.g an infrared spectrum or a gas chromatogram) I would like to fill one or more of the peaks with different colors/patterns between the peak envelope and a baseline defined by me. Is it possible to achieve it in Origin?

Thanks: Oszkoa
1   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 09/25/2006 : 4:00:24 PM
Hi Oszkoa,

Not sure regarding what you wrote as filling with "with different colors/patterns", if you only need to fill between the curve and the base line with a single color, you can do the following steps:

First, modify the original curve data by adding points of a "return path" on your baseline. For example, you can change the original points:
1 0.263804
2 0.64968
3 1.171673
.....
30 3.117269

to:
1 0.263804
2 0.64968
3 1.171673
.....
30 3.117269
30 3
1 0.1
1 0.263804

Note that the third and second lines from bottom define the base line of this sample, and it returns to the original first point. If your baseline is not a straight line, you need more points on the return path.

Then, you can plot this modified data, and open the Plot Detail dialog box by double-clicking the plot. In the Line tab, check the "Fill Area Under Curve" check box, and select "Inclusive broken by missing values". You get the filled area like below:



--Hideo Fujii
OriginLab


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