3dfernando/latexfig

Useful for rendering equations in Matlab figures (instead of using pretty)

https://github.com/3dfernando/latexfig

You are now following this Submission

The usage is pretty simple: latexfig(equation)
renders the equation as an annotation on a new figure. Uses the built-in latex interpreter to do so.

When doing heavy symbolic math in Matlab, it can become very hard to understand what's happening. Sometimes pretty is insufficient to see the equation during debug. I normally opened up a latex interpreter in the browser and used the function latex(eq) to render it, then copied to the interpreter. But that's messy and troublesome. This is an attempt to fix that. Been useful to me, so far.

Hope it's useful for you too! -Fernando Zigunov

Cite As

Fernando Zigunov (2026). 3dfernando/latexfig (https://github.com/3dfernando/latexfig), GitHub. Retrieved .

Categories

Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.