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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 How to produce mass of pictures acoording to txt's

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
ytyyutianyun Posted - 02/19/2012 : 10:59:46 PM
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?

1   L A T E S T    R E P L I E S    (Newest First)
ytyyutianyun Posted - 02/19/2012 : 11:03:26 PM

[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);

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000