whylabtalkwhy
Germany
2 Posts |
Posted - 03/17/2016 : 09:11:00 AM
|
Origin Ver. and Service Release: Origin 9.1.0 (64-bit) b215 (Home Use) Operating System: Windows 8.1
Hi,
I am running a fairly simple program to filter out all data points greater than a certain x-Value from a worksheet with only two columns (X and Y, about 5000 rows). However, if I run the program one time, Origin seems to skip about 10 data points. If I run it a second time, those points disappear as well. I would like it to filter everything out on th first run.
Here is my program:
xm = 20000;
get col(A) -e numpoints; for(ii = 1 ; ii <= numpoints ; ii++) { range xx = col(A)[ii]; if(xm-Col(A)[ii]<=0){ mark -d xx; } }
I would appreciate your help. Cheers , whylabtalkwhy |
Edited by - whylabtalkwhy on 03/17/2016 09:49:25 AM |
|