Matlab 3D vectors to Paraview (via binary VTK file)
One of the few weak points in MATLAB is its low speed when displaying 3D vector plots. Paraview is an open source visualization tool that seems to work pretty well.
This contribution shows how the MATLAB 3D flow example is written to a binary VTK file.
In Paraview follow these steps:
* CTRL+O to open the generated VTK file
* Hit Apply in Object inspector
* Click Glyph and hit Apply: The 3D vector field is displayed.
Citar como
William Thielicke (2024). Matlab 3D vectors to Paraview (via binary VTK file) (https://www.mathworks.com/matlabcentral/fileexchange/34310-matlab-3d-vectors-to-paraview-via-binary-vtk-file), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Etiquetas
Agradecimientos
Inspirado por: Tutorial: Put 3D Vector Field data into ParaView
Inspiración para: vtkwrite : Exports various 2D/3D data to ParaView in VTK file format
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |