"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 Center および File ExchangePrinting and Saving についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by