필터 지우기
필터 지우기

.eps file is saved in black & white instead of a coloured image

조회 수: 33 (최근 30일)
Lukas Nuschele
Lukas Nuschele 2021년 1월 11일
답변: Rik 2021년 1월 11일
Hey guys,
I'm currently working at an FEM analysis with Matlab. I get correct results, which are also depicted correct in a coloured image when I plot them.
After that I save them as an .eps file with following command in order to export it to Latex environment.
plot_mesh2D_(nodes,elements,num_e,2,U,500,S.Yave); % print -depsc SY average
print ('StressY','-deps')
Somehow the .eps file is not saved in coloured format - I checked it already with the EPS viewer.
Can someone please help out?
Greets Lukas :)

답변 (1개)

Rik
Rik 2021년 1월 11일
Your commented code already contains the answer: you forgot the c in depsc.

카테고리

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