Changes between Version 2 and Version 3 of VisitMatlab
- Timestamp:
- 01/18/18 17:14:03 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VisitMatlab
v2 v3 1 If you have a surface in Visit (ie an isosurface, or a slice), you can save the window as a vtk file. And then use the attached loadvtk.m matlab function to import the vtk file as a struct in matlab. The struct returns contains1 If you have a surface in Visit (ie an isosurface, or a slice), you can save the window as a vtk file. And then use the attached read2DScalarVTK.m matlab function to import the vtk file as a struct in matlab. The struct returns contains 2 2 3 * faces - Fx3 array of integers containing the point numbers that make up each face4 * vertices - Vx3 array of floats containing the xyz coordinates of each vertex5 * centroids -3 * Faces - Fx3 array of integers containing the point numbers that make up each face 4 * Vertices - Vx3 array of floats containing the xyz coordinates of each vertex 5 * FaceVertexCData - Fx1 scalar field defined on the faces 6 6