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
Ray111
Posted - 06/07/2005 : 6:06:43 PM Hello I ascii import the worksheet ( named - light1) in Origin 6.1 on which I did some operations (deleted some column and row etc etc via labtalk script) and I have now two column named BE and KE( BE set as X and KE set as Y) and I wanted a simple plot so I used following
win -t plot line; layer -i %(%1,2); //plot the second column in the worksheet layer -a;
but it gives me a blank graph any idea why ?
( when I checked the graph I saw the content of layer1 is light1_BE where it should be light1_KE and thatone it indeed shows in the available data but not in layer content) (Origin 6.1)
1 L A T E S T R E P L I E S (Newest First)
Ray111
Posted - 06/08/2005 : 01:40:33 AM Ohh I found it I have to interchange x and y . It looks like the first column must be x
%D=wks.col2.name$; // get the name of column 3 wo -i 0; // insert a column at the beginning copy col(3) col(1); // copy contents of column 3 (was col 2) to the first column del col(3); // delete column 3 wo -n 1 %D; // rename the first column