Navigation

Operators and Keywords

Function List:

C++ API

Function File: [ status ] = savevtkvector (X, Y, Z, filename)

Save a 3-D vector field of components X, Y, Z to the file filename in VTK format.

This file format is used by Mayavi2 or ParaView for example. X, Y and Z should be 3-D arrays of the same size, each storing vector components in a given Cartesian direction.

If no write errors occurred, output argument status is set to 1, otherwise 0.

See also: savevtk.

Package: fpl