필터 지우기
필터 지우기

EPS export issue: blank figure

조회 수: 6 (최근 30일)
Vect13
Vect13 2020년 2월 25일
댓글: Vect13 2020년 3월 8일
Hi, I got a new laptop recently and I reinstalled Matlab on it. I am writing a latex file where I inserted .eps figures. Up to now, I have used .eps figures that I got thanks to Inkscape, and everything worked perfeclty. However when using .eps files I exported with Matlab, the figures are empty. I don't get error or warning messages, just an empty figure. So I opened my .eps files (the ones I got with matlab) with Inkscape, and it is just blank. Somebody knows why do I have that, and how to remedy this issue? (I have Ghostscript installed)
Sincerely

채택된 답변

Vect13
Vect13 2020년 2월 26일
Actually I ended up finding what was wrong. I was using the output profile Latex => PDF. I just switched to Latex => PS => PDF, and now my .eps Matlab files are displayed.
  댓글 수: 2
Tony Nenov
Tony Nenov 2020년 3월 7일
Hi, how did you change the output profile? Are you using Texmaker?
Vect13
Vect13 2020년 3월 8일
Hi Tony,
No, I use TeXnicCenter
I could change the output profile from the drop-down menu (red rectangle on the image).
In Texmaker though, I don't know how to do that. I saw in this video Texmaker that in Options > Configure Texmaker , there are things to do that might help you out.

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

추가 답변 (1개)

Giuseppe Inghilterra
Giuseppe Inghilterra 2020년 2월 25일
Hi,
I usually export matlab figures in .svg format, then I modify them in inkscape and save it to .pdf. I add it in LaTex document and image does not lose quality.
I tried on my own with .eps images and I can't open them with Inkscape (Inkscape returns me an error).
  댓글 수: 1
Vect13
Vect13 2020년 2월 26일
Hi Giuseppe, thank you for your reply. Your trick worked well, I saved my matlab plots as .svg files, I opened them with Inkscape, and I saved them as .eps file. This is kind of a digression but it works well. (I can open .eps files with Inkscape, the the corrupted matlab .eps documents trigger an error too)

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

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by