Why are my EPS figures not vectorised in LaTeX?

조회 수: 7 (최근 30일)
HC98
HC98 2023년 10월 23일
답변: Walter Roberson 2023년 10월 23일
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