Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
jamaklin
Posted - 01/08/2007 : 02:20:47 AM Hi! I'm trying to do a code/program with Labtalk that when I give X-values and two Y-values, it makes some calculations for Y-data and then plots the calculated data. But it doesn't plot anything. Here's part of part my code. Can someone tell me what's wrong with it? Also how can I calculate mean from just a portion of data? Like, if I have 500 points of data but I want to calculate mean just from the first 100 points and then subtract the mean from those 100 points...
Worksheet wks("data1");
Curve crv( wks, 10); Curve crv2(wks, 11);
GraphPage gpg = gly.GetPage(); gpg.SetShow();
Edited by - jamaklin on 01/08/2007 02:23:09 AM
1 L A T E S T R E P L I E S (Newest First)
Mike Buess
Posted - 01/08/2007 : 08:34:46 AM You're using Origin C code which has no meaning in LabTalk. I'm sure that whatever you want to do can be done with either LabTalk or Origin C but you can't mix as you have done. See LabTalk Language Reference or Origin C Language Reference for the appropriate commands.
quote:Also how can I calculate mean from just a portion of data?