points_exact.tcl

This example shows how one goes from randomly spaced data points to an evenly sampled \ref d_surf "surface".

We have 13504 interpolation points (file `examples/surfit/points/points.txt`

) and equidistant grid with more than 250000 nodes. To produce interpolation evenly sampled surface we do the following things:

- set tolerance
- load scattered data points from file
- create equidistant grid with 512x512 nodes
- create sequecne of gridding rules (how to use data points and space between them)
- run surfit algorithm
- save results to file

- See Also
- points, points_add, completer

Here is the image of the resulting surface:

Pic 1. interpolated surface

Pic 2. small part of interpolated surface

This result was obtained with `"examples/surfit/points/points_exact.tcl"`

script.

Some comments to script:

- map_name variable is used to set name of resulting surface
- tol variable is used to manage tolerance of iterative linear system solver algorithm. If this value is too big, an iterative algorithm will make low number of iterations and it will lead to rough result.

`surfit`: gridding and contouring software.