T O P I C R E V I E W |
pink-lisa |
Posted - 08/23/2007 : 09:18:20 AM Origin Version (7 Operating System:windows xp Hello, I have data from two different worksheets, each worksheet containing many xy data. I want to compare the spectra, hence, I need each spectra to have a zero baseline. How can I do this? cheers Lisa x
|
3 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 08/24/2007 : 08:07:20 AM Is there a data point at y=0? Data selector only goes where there are data.
Mike Buess Origin WebRing Member |
pink-lisa |
Posted - 08/24/2007 : 07:51:16 AM Hi Mike, when I click on the data selector tool I can't seem to drag them to the y=0 position.
|
Mike Buess |
Posted - 08/23/2007 : 10:47:53 AM Hi Lisa,
If you expect a simple DC baseline that can be established from the same region in all curves then plot all curves and mark the baseline region with the Data Selector tool. Then run the following LabTalk script...
i1=mks1; // start of baseline region i2=mks2; // end of baseline region type -a baseline points: $(i1) ---> $(i2); mks1=-1; // hide baseline markers layer -c; // get list of dataplots loop(ii,1,count) { %A=%($(ii),@D); set %A -b i1; set %A -e i2; sum(%A); set %A -b 1; set %A -e i3; %A -= sum.mean; };
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 08/23/2007 10:50:19 AM |
|
|