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? |