Hello all, I am still struggling in programming. I wanted to subtract second column from rest of the 300 columns in a worksheet, then integrate each columns and then plot one graph with the values of integrals on y-axis and numbers from 1 to 300 in order on x axis. Would anyone please help me in this?
%N = %H; // Remember our worksheet newbook name:=Integrations sheet:=1 option:=lsname; // Create result book range raX = 1; // Result index range raY = 2; // Result area win -a %N; // Go back to our data // Fow all columns beyond 2 loop(ii,3,wks.ncols) { wcol(ii)-=col(2); // subtract column 2 integ wcol(ii); // integrate raX[ii-2] = ii-2; // Fill in X raY[ii-2] = integ.area; // Fill in Y } plotxy (rax,ray) plot:=201; // plot