MATLAB Answers

Anna S

Export mapping toolbox-figure to epslatex

Asked by Anna S
on 17 Oct 2019
Latest activity Edited by Anna S
on 17 Oct 2019
I want to include my figures into latex. If I only use png or eps format, the textsize scales with the picturesize, which is very ugly, since sometimes I need different sizes.
From gnuplot I know that it is possible to import a figure as eps and get the labels and axes as latex code (I think it was as tikzpicture format).
I searched this feature also for matlab and found
print -depslatex which is not working at my version (R2016b)
fig2texPS() which is seems to work only until R2014 and also only for 'normal' cartesian axes
matlab2tikz() which gives a lot of errormessages in latex when I compile with non-cartesian coordinates, so I believe that it is not converted correctly
Does anyone have a solution?
Thanks in advance


Sign in to comment.




0 Answers