"exportgraphics" lengthens the height of EPS

조회 수: 4 (최근 30일)
Cunxin
Cunxin 2025년 1월 16일
댓글: Cunxin 2025년 1월 16일
Hi, I am using MATLAB function "exportgraphics" to export some EPS files. I am facing following two problems.
There is an option for "exportgraphics" called "ContentType".
  1. If I set "ContentType" to "vector", then EPS files cannot keep transparency of the figure object I create.
  2. If I set "ContentType" to "image", then somehow EPS files will be lengthened in Y-axis so that the bottom part are missing.
Both above-mentioned problems do not exist for exporting PDF files by using exportgraphics.
Any comment helps!
  댓글 수: 4
Sandeep Mishra
Sandeep Mishra 2025년 1월 16일
For the statement: If I set "ContentType" to "vector", then EPS files cannot keep transparency of the figure object I create.
Can you please explain the above statement? Are you applying a background color to the figure that is not appearing in the EPS file?
Cunxin
Cunxin 2025년 1월 16일
Not exactly. I am talking about face transparency. See alpha

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by