Why are my EPS figures not vectorised in LaTeX?

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...

Respuestas (1)

Walter Roberson
Walter Roberson el 23 de Oct. de 2023

0 votos

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.

Categorías

Más información sobre Printing and Saving en Centro de ayuda y File Exchange.

Productos

Versión

R2023a

Preguntada:

el 23 de Oct. de 2023

Respondida:

el 23 de Oct. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by