Export 3D line to Paraview
Version 1.0.0.0 (1.75 KB) by
David Gingras
Function to export a 3D line to a VTK format which can be open with Paraview.
Here it goes a simple solution to export a 3D polyline from Matlab to Paraview (a powerful and free 3D viewer). The function takes a list of 3D coordinates and generates an ASCII VTK file with it.
Simple of use, the function has an example in the comments of the header.
Cite As
David Gingras (2024). Export 3D line to Paraview (https://www.mathworks.com/matlabcentral/fileexchange/22603-export-3d-line-to-paraview), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Find more on Vector Fields in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: 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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |