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.