mkgrid - Convert scattered data to regular gridded data in 2D, 3D, and 4D.
mkgrid - Convert irregularly scattered data to regular grid data in 2D, 3D, and 4D.
# SYNOPSIS
...
...
@@ -10,7 +10,7 @@ mkgrid - Convert scattered data to regular gridded data in 2D, 3D, and 4D.
# DESCRIPTION
This script converts scattered data of dimensions in 2D, 3D, and 4D to regular gridded data.
This script converts irregularly scattered data in 2D, 3D, and 4D to regular grid data.
The following interpolation methods are available:
...
...
@@ -62,7 +62,7 @@ If output file `OUTFILE` is undefined, the output is directed to `STDOUT`.
## 2D data
Assume the following input fille `testdata2.csv` containing scattered data points in 2D:
Assume the following input file `testdata2.csv` containing scattered data points in 2D:
```text
x y
...
...
@@ -105,7 +105,7 @@ The output will look like the following:
0.150 83.224
```
An example plot for the above result would like this:
An example plot for the above result would look like this:

...
...
@@ -147,13 +147,39 @@ Assume the following input file `testdata3.csv` containing scattered data points
0.000 0.134 16.302
```
The following command will parse the above input file and creates regular gridded data points along data columns 1 and 2 within the interval `[0:0.13]` in both dimensions. The corresponding data in column 3 will be interpolated using `26` steps, i.e. `(13+1)×(13+1)=196` records will be created in total.
The following command will parse the above input file and creates regular gridded data points along data columns 1 and 2 within the interval `[0.0,0.13]` in both dimensions. The corresponding data in column 3 will be interpolated using `13` steps, i.e. `(13+1)×(13+1)=196` records will be created in total.