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
 Wks to matrix conversion

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
senigalliese Posted - 01/20/2006 : 12:03:55 PM
Origin Version (Select Help-->About Origin): 7.5
Operating System: XP2

Dear all,

I am asking you for some help, as usual, about worksheet to matrix conversion an contour plot graphing after conversion.
I have a gigantic 3-column worksheet XYZ with nested at least 15 datasets corresponding to 15 different values of Z. Unfortunately the X-spacing of these nested datasets is different for each one, althought the Xmax and Xmin are almost the same for all of them. At the moment It takes me one one to convert each of these gigantic worksheets into a matrix suitable for a contour plot.
What I do is to generate, let's say, 15 worksheets, one for each nested dataset, interpolate them manually in order to get the same X-spacing for all of them, take the new interpolated datasets, put them together into one worksheet and convert this into matrix. This is awful.
Is there any way to do all of this by scriot starting from the original XYZ wks?
Thank you very much for your time and consideration guys!

1   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 01/24/2006 : 5:21:46 PM
Hi,

Have you considered/tried random gridding on your raw XYZ data? There are five gridding methods available which then basically do interpolation of the data and create a regular-spaced matrix based on your raw data.

If you want to programmatically perform the very same operation you are doing manually, I would recommend using Origin C instead of LabTalk because the code will run faster.

Easwar
OriginLab


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