legends rescaling issue in MATLAB figure saving

23 ビュー (過去 30 日間)
Somnath Kale
Somnath Kale 2021 年 4 月 23 日
コメント済み: Ash Willoughby 2024 年 11 月 14 日 10:45
When I am saving my matlab figure in tiff or png file, the legends are going back to there default fontsize and overlaps with graph content. How can avoid this issue?

回答 (1 件)

Shadaab Siddiqie
Shadaab Siddiqie 2021 年 4 月 28 日
From my understanding when you save a plot it's legend's font size is reverting back to default. I have brought this issue to the notice of our developers. They will investigate the matter further.
  3 件のコメント
Allen
Allen 2023 年 6 月 28 日
編集済み: Allen 2023 年 6 月 28 日
@Shadaab Siddiqie I am curious if you have received any feedback from the developers and if they are planning to resolve this issue, or if you have come across another method to programmatically correct the issue. @Somnath Kale's manual fix using the "Copy Figure" selection in the Edit Menu does work perfectly to resolve the rescaling problem, but is not practical when working with large quantities of figures programmactically generated and saved to an image file.
Here are some examples of the expected outcome (manually copied/pasted) versus the actual (programmatically saved). Note that the rescaling issue also effects other objects such as textboxes.
Ash Willoughby
Ash Willoughby 2024 年 11 月 14 日 10:45
Hello,
I imagine this issue has been fixed? In what release has it been applied to?

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by