[vtkusers] Problems with VTK and Matlab

Cory Quammen cory.quammen at kitware.com
Mon Oct 27 07:13:58 EDT 2014

Without seeing your data or code, my first thought is that indexing in
MATLAB is based at 1 while VTK data structures are based at 0. Might that
be the source of the problem?


On Mon, Oct 27, 2014 at 7:00 AM, Yuki <stefanie.gross18 at googlemail.com>

> Hi,
> I want to export some data generated in Matlab into a vtk file format. I
> want to visualize it using Paraview. The data in Matlab contains a grid and
> some scalar values. The export works for the grid however the scalar values
> are distorted and don't match their position on the grid.
> For the export I use an unstructured grid containing: points, cell-data,
> cell-type (tetrahedron) and scalars. Does anybody know why the scalar
> values
> don't match?
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Problems-with-VTK-and-Matlab-tp5729242.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141027/3468653e/attachment.html>

More information about the vtkusers mailing list