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
 Fill peak areas above baseline
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

oszkoa

Hungary
47 Posts

Posted - 09/25/2006 :  2:52:16 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Hideo Fujii

USA
1582 Posts

Posted - 09/25/2006 :  4:00:24 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

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