Why are my EPS figures not vectorised in LaTeX?

7 Ansichten (letzte 30 Tage)
HC98
HC98 am 23 Okt. 2023
Beantwortet: Walter Roberson am 23 Okt. 2023
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...

Antworten (1)

Walter Roberson
Walter Roberson am 23 Okt. 2023
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.

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by