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
|
|
|