R2025a exportgraphics new behavior for PDF export
古いコメントを表示
I use to export figure to PDF using the following code :
exportgraphics(fig, [ savepath 'fig_name.pdf'], 'ContentType', 'vector');
It contains both plots and imagesc in subplots.
In Matlab R2024b, the exported PDF would look smooth even zooming in -> vector graphic confirmed. Or good enough let's say: I've heard that imagesc figures can't be vectorized in a proper way anyway.
In Matlab R2025a, the plots are ok, the imagesc are very blured, even if I specify dpi = 600 in the exportgraphic function.
So I'm guessing the behaviour of that function have changed.
Anyone has any input about this ?
How can I have the same result as in R2024b in R2025a is my question.
7 件のコメント
Matt J
2025 年 8 月 27 日
We cannot verify what you claim without the figure.
Romain Lance
2025 年 8 月 28 日
編集済み: Romain Lance
2025 年 8 月 28 日
dpb
2025 年 8 月 28 日
"...ust take any randomly generated dat..."
We don't know that it isn't specific to the given figure or machine/system is why...
Submit this to Mathworks as an official support request/bug at <Product Support Page>
Romain Lance
2025 年 8 月 28 日
dpb
2025 年 8 月 28 日
You didn't provide such information initially, and it's generally simpler/more convenient to provide all needed rather than require the volunteer respondents to create on their own which may or may not actually create the same issues.
I have not installed recent releases because seem to be so many issues so can't check here...somebody with current release may come by.
Just go ahead and submit the bug report/support request...
Romain Lance
2025 年 8 月 28 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Adding custom doc についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!