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
 Wks to matrix conversion
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

senigalliese

Australia
Posts

Posted - 01/20/2006 :  12:03:55 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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!

easwar

USA
1965 Posts

Posted - 01/24/2006 :  5:21:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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

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