This script creates a grid from irregularly spaced XYZ data, using Surfer 8.
It is very important to take account the DATA MUST BE into a TXT or DAT file.
This file must only have three columns and the arrangement of these columns in file, it would be:
- First column : X data;
- Second column: Y values and finally,
- Third column : Z data.
It is only necessarily to run the function.
Please, check the file does not have any row with strings or characters.
In command window, you can select the Gridding method for your data.
This script was doing, using Matlab R2007a, and it was tested, using Surfer v.8.02.
It is not possible to assure this script woks with others versions of Surfer.
If you had problems with COM client commands, you could review the windows application integration in matlab documentation.
References:
- Golden Surfer, Inc. (2002). Surfer User's Guide.
Colorado. 664 pp.
- Hanselman, D. and Littlefield, B. (2005). Mastering
Matlab 7. Pearson Prentice Hall, Upper Sanddle
River. 852 pp.
Thanks to Alberto Avila Armella to review this script.
|