This script creates a grid from irregularly spaced XYZ data, using Surfer 8 or 11.
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 done, using Matlab R2007a, and it was tested, using Surfer v.8.02 and v11.0.6.
It is not possible to assure this script works with others versions of Surfer.
If you had problems with COM client commands, you could review the windows application integration in matlab documentation.
- 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.
Gabriel Ruiz-Martinez (2021). gridding_surfer (https://www.mathworks.com/matlabcentral/fileexchange/22519-gridding_surfer), MATLAB Central File Exchange. Retrieved .
Inspired by: Surfer Griddata
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!