Another approach is to use Construct and Regrid. We added an undocumented
feature to Regrid last spring to place data on the nearest grid point (by
setting the radius to 0).
For your data, it should look something like -
Construct:
origin: 0,0,0
deltas: 1,1,1
counts 6,6,11
Regrid:
input your data from the ImportSpreadsheet and the grid from Construct,
set radius to 0
Note you could also use Regrid with nearest set to 1 and radius set to 1 or
.5 and the results should be the same. Setting radius to 0 will be much
faster if you data set gets large (eg., 60x60x100).
Jeff
At 07:30 PM 12/20/01 +0000, you wrote:
After numerous sleepless nights I finally give up and ask you for help.
With the help of Donna (thanks again) I succeeded in importing a set of
data
with ImportSpreadsheet.
"x" "y" "z" "b"
0 0 0 100
0 0 1 103
...
0 0 10 -98
0 1 10 -95
0 1 9 -99
...
It's organized into columns and imported with ImportSpreadsheet.
I know the field misses 'connections' but I can't figure out how to add
these.
I attached a jpeg image from my data.
The way it is measured is shown by 'ShowConnections'.
The x-axis is from bottom to top.
The z-axis is from left to right (red to blue)
I understand Connections should be integers pointing to the nth-element
of the data.
But how can I make cubic connections in this dataset.
Do I have to sort the data first ?
Larry de Graaf