필터 지우기
필터 지우기

How to use times new roman font (requiring \usepackag​e{newtxtex​t,newtxmat​h}) when using latex interpreter to plot a figure?

조회 수: 27 (최근 30일)
I am writing a paper which requires the times new roman text and equation. I have equations in figures, these equations look terrible when I tried to use tex interpreter. However, when I changed to latex interpreter, I could not change the font. I have looked for answers for a while, I found this:
Problem is still not solved. I am using the MTALAB 2021a update3 in a win10 computer. How to solve this problem? Thanks.

채택된 답변

Chunru
Chunru 2021년 6월 21일
If you want latex-friendly plot from matlab, you can try the following package:
Then you have the freedom of editing the figures in latex.
  댓글 수: 1
Hongwei Li
Hongwei Li 2021년 6월 21일
편집: Hongwei Li 2021년 6월 21일
It works, but not perfect. For some of my figures, the latex runs error with the message: out of memory. The reason is that there are too many data in these figures.
Besides, the lay outs, distance between the labels and axis,etc., are a little different with the figures I printed directly from matlab using Tex interpreter.
I think Mathworks should consider to solve this problem in the new version of Matlab.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by