Why are my EPS figures not vectorised in LaTeX?

7 次查看(过去 30 天)
I'm exporting figures in MATLAB using
print -painters -depsc << FIGNAME >>.eps
And when I load the resulting eps into LaTeX, it creates a high-res image but it's not vectorised and I can't select the text in the plot...

回答(1 个)

Walter Roberson
Walter Roberson 2023-10-23
print never tries to produced vectorized results.
Use exportgraphics with ContentType='vector' and a filename that ends in .eps
Note: embedded fonts will not be saved in the file unless you use .pdf . This can sometimes cause problems if you do font selection within latex expressions.

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

产品


版本

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by