Converts MATLAB/Octave figures to TikZ/pgfplots figures for seamless integration into LaTeX documents.
matlab2tikz is a MATLAB script that converts MATLAB and Octave figures into TikZ/pgfplots code for direct use in LaTeX documents. It solves the problem of integrating MATLAB-generated visualizations into LaTeX-based academic papers, theses, and reports while maintaining publication-quality output. The tool handles most 2D and 3D plot types and includes optimization features for cleaner conversions.
Researchers, academics, and students who use MATLAB for data visualization and need to incorporate those figures into LaTeX documents for publications, theses, or technical reports.
Developers choose matlab2tikz because it provides a reliable, automated way to convert MATLAB figures to native LaTeX code, eliminating manual recreation of plots and ensuring consistent styling between MATLAB visualizations and LaTeX documents.
This program converts MATLAB®/Octave figures to TikZ/pgfplots figures for smooth integration into LaTeX.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Works with both MATLAB and GNU Octave, as confirmed in the README's installation instructions, broadening accessibility for academic users.
Handles most native MATLAB 2D and 3D plot types, ensuring reliable conversion for common academic visualizations without manual tweaking.
Includes the cleanfigure function to remove unwanted entities from plots before conversion, improving LaTeX code quality and reducing errors.
Offers numerous options accessible via MATLAB help documentation, allowing users to fine-tune TikZ output for specific publication requirements.
Explicitly stated in the README that plots from third-party packages may not convert reliably, limiting utility for specialized visualizations.
Requires specific, up-to-date LaTeX packages like TikZ/PGF 3.0+ and Pgfplots 1.13+, which can cause setup issues with older installations.
The updater for versions before 1.0.0 no longer works, forcing manual downloads from FileExchange, as warned in the README header.