File Exchange

image thumbnail


version (7.24 KB) by Gar
This script creates a grid from irregularly spaced XYZ data, using Surfer 8 and 11.

1 Download

Updated 10 Oct 2014

View License

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.

Cite As

Gar (2020). gridding_surfer (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


Bug fixed that was related SurferApp.DefaultFilePath

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Surfer Griddata