Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

issue on exporting EPS figure

조회 수: 2 (최근 30일)
Symeon Mattes
Symeon Mattes 2015년 5월 2일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
I'm trying to save an figure to eps fromat by using the
saveas(handler, path,'epsc2');
The real picture is:
however what I receive is:
I thought there was a problem in the command line but even if I save it manually on an eps format I have the same result. If I save it in a png, then the results are fine.
I have Matab 2014a
Thanks in advance Kind Regards
  댓글 수: 1
Rohit Jain
Rohit Jain 2015년 5월 15일
This might be due to some rendering issue of graphics.
However to workaround this issue type the below command in 'startup .m' file:
set(gcf,"Renderer','opengl')
Adding above command in 'startup.m' will make sure that above command is executed everytime MATLAB starts.
'startup.m' should be placed in initial working folder of MATLAB.

답변 (1개)

Rohit Jain
Rohit Jain 2015년 5월 15일
This might be due to some rendering issue of graphics.
However to workaround this issue type the below command in 'startup .m' file:
set(gcf,"Renderer','opengl')
Adding above command in 'startup.m' will make sure that above command is executed everytime MATLAB starts.
'startup.m' should be placed in initial working folder of MATLAB.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by