Trinh @ Bath

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
it_matlab_figures [2025/02/07 16:03]
trinh
it_matlab_figures [2025/02/07 16:06] (current)
trinh
Line 28: Line 28:
  
 in order to produce a PDF of the currently focused figure. in order to produce a PDF of the currently focused figure.
 +
 +===== Annotations =====
 +
 +In order to add annotations to figures, you have a few options:
 +
 +  - Add the annotation natively within Matlab using commands like text(...); this is a good idea in combination with scripts. 
 +  - Add the annotation afterwards by using a vector editor like [[https://en.wikipedia.org/wiki/Inkscape]]. This is not a bad idea and can be quite powerful. However note that it can be difficult due to LaTeX fonts not importing nicely into Inkscape. 
 +  - Use a native LaTeX package like tikz or [[https://www.ctan.org/pkg/pdfpages|pdfpages]]
 +
  
 ===== Advanced ===== ===== Advanced =====