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