The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 How to produce mass of pictures acoording to txt's
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ytyyutianyun

48 Posts

Posted - 02/19/2012 :  10:59:46 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver.7.5 and Service Release sp5 (Select Help-->About Origin):
Operating System:windows 7

the data name is 1.txt(can be changed)

And the picture will be follow:

the text "node 1" is acoording to the name of txt "1"
xlabel and ylabel and increment is fixed
And the axis is fixed also.
How to do it. Thanks



I have try some ex.

First,I open all the txts' and save the picture template

and save the code to tp.ogs

[main]

doc -cw adata; // count test worksheets
loop(i,1,8) {

win -a a data$(i); // activate next wks

wks.col$(1).type=4; // make this column X (correction)
wks.col$(3).type=1; // make this column Y (correction)

%W=%H; // save wks name

win -t p "www\LINE.otp"


lay -a;

layer.x.from = 0;
layer.x.to = 800;
layer.x.inc = 100;
};


run.section(Graph,MergeAllPages);



But then nothing happen what's wrong?

ytyyutianyun

48 Posts

Posted - 02/19/2012 :  11:03:26 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

[main]

doc -cw adata; // count test worksheets
loop(i,1,8) {

win -a adata$(i); // activate next wks

wks.col$(1).type=4; // make this column X (correction)
wks.col$(3).type=1; // make this column Y (correction)

%W=%H; // save wks name

win -t p "www\LINE.otp"


lay -a;

layer.x.from = 0;
layer.x.to = 800;
layer.x.inc = 100;
};


run.section(Graph,MergeAllPages);

Edited by - ytyyutianyun on 02/20/2012 06:31:10 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000