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
 Forum for Origin C
 Need help with automation plot a lot graphs

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
bertramking Posted - 03/13/2015 : 2:08:08 PM
Origin Ver. and Service Release (Select Help-->About Origin): 8.5
Operating System:Win 7 home

Hello,

I'm a tudent and I'm trying to use Origin to map surface pressure distribution from measurement data. I have the data of the measurements stored in txt files in many subfolders(Each subfolders have 3 or more txt files, and 30 subfolders in total). I want to have one contour graph with each data file. This means that I will have to make more than 120 different graphs. By the time, before plot contours, the data should transfer from worksheet to matrix (40*40) by Kriging random method.

Data looks like this
X Y Z(pressure)
21.800000 96.200000 0.185842
76.300000 96.200000 0.199100
152.600000 96.200000 0.154080
228.900000 96.200000 0.226387
283.400000 96.200000 0.242507
21.800000 78.700000 0.258095
76.300000 78.700000 0.282000
152.600000 78.700000 0.202438
228.900000 78.700000 0.323683
283.400000 78.700000 0.310155
21.800000 52.500000 0.247029
76.300000 52.500000 0.281075
152.600000 52.500000 0.202593
228.900000 52.500000 0.321937
283.400000 52.500000 0.310401
21.800000 17.500000 0.189197
76.300000 17.500000 0.209334
152.600000 17.500000 0.199269
228.900000 17.500000 0.255569
283.400000 17.500000 0.240231

My questions is: Is there a automation way to do this without making 120 individual graphs? Frist load each txt file in subfolders , second do Kriging gridding, and then plot contours(no colour fill, with label shown).

Also I only can find a Renka-cline gridding mothed with Origin C example. And I dont know how to use a template to do this.

Can anyone help me?

Thanks for your efforts!
3   L A T E S T    R E P L I E S    (Newest First)
bertramking Posted - 03/22/2015 : 9:23:56 PM
Thanks Echo,

I just had use the manual improt wizard. The Origin C is too complex and less help/support files to a new comer learning it.

quote:
Originally posted by Echo_Chu

Hi,

You can import your txt file as ASCII file to Origin worksheet

Please look at the page below for sample codes to import files.
http://www.originlab.com/doc/OriginC/guide/Importing-Data

Echo
OriginLab

Echo_Chu Posted - 03/18/2015 : 03:50:59 AM
Hi,

You can import your txt file as ASCII file to Origin worksheet

Please look at the page below for sample codes to import files.
http://www.originlab.com/doc/OriginC/guide/Importing-Data

Echo
OriginLab
bertramking Posted - 03/14/2015 : 9:48:10 PM
I just compiled a origin c code by myself, together with a worksheet and a graph tempalte to get my idea. But I still dont know how to read a .txt file to worksheet by Origin C. Do you have any idea?

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