enter image description here

This is a figure realized using Matlab, but it gives an awful view to my article when I add it directly, is there any possibility to transform it into a TikZ code ?

Thanks in advance.

  • 1
    Welcome to TeX.SE! Better than pure tikz is to use pgfplots (which is based on tikz).
    – Zarko
    Commented Feb 14, 2021 at 14:20

1 Answer 1


The simplest way to draw a figure generated in Matlab within LaTeX would be to export the graph using matlab2tikz. With this plugin, you can export your figure as a .tex file, which you can then input in your manuscript.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .