### Voxel grids

Gnuplot now supports operations based on 3D grids of voxel data.

- set vgrid $gridname size N creates an NxNxN grid of voxels.
- set vxrange [vxmin:vxmax] together with set vyrange and set vzrange define which region of space the grid occupies. This may or may not be identical to the xyz range of the plot.
- voxel(x,y,z) can be used in expressions to read or write an individual voxel.
- vfill DATA_SOURCE using x:y:z:radius:(expression) acts analogously to a plot command except that instead of plotting it increments voxels near each point in the input data.
- vclear $gridname resets an existing voxel grid to contain all zero values.
- the current contents of one or more voxel grids can be referenced by splot commands to assign colors or other properties of plot elements by using the voxel function in using specifiers. See demo voxel.dem.
- voxel grids can also be plotted by name in splot commands with plot styles dots, points, or isosurface. See demo vplot.dem.