matlab2tikz
« Back to VersTracker
Description:
Convert MATLAB(R) figures into TikZ/Pgfplots figures
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: matlab latex tikz visualization scientific-computing
Install: brew install matlab2tikz
About:
Matlab2tikz is a standalone tool that converts MATLAB figures into native TikZ/Pgfplots code for LaTeX. It allows for seamless integration of MATLAB plots into LaTeX documents, enabling high-quality vector graphics that are easily editable and consistent with the document's typography. This facilitates creating publication-ready figures with full control over styling directly within LaTeX.
Key Features:
  • Generates clean, editable TikZ/Pgfplots code
  • Supports a wide range of MATLAB plot types (2D, 3D, bar charts, etc.)
  • Highly customizable output to match LaTeX document styles
  • Command-line interface for batch processing
Use Cases:
  • Integrating MATLAB simulation results into academic papers or theses
  • Creating reproducible figures for technical documentation
  • Maintaining consistent visual style across LaTeX documents and MATLAB plots
Alternatives:
  • Matplotlib (Python) – Python library with native PGF/TikZ backend, requires rewriting MATLAB code in Python
  • Matfig2pgf – Older MATLAB-to-PGF converter with less active development and fewer features
Version History
Detected Version Rev Change Commit