필터 지우기
필터 지우기

legends rescaling issue in MATLAB figure saving

조회 수: 8 (최근 30일)
Somnath Kale
Somnath Kale 2021년 4월 23일
편집: Allen 2023년 6월 28일
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.
  댓글 수: 2
Somnath Kale
Somnath Kale 2021년 4월 28일
편집: Somnath Kale 2021년 4월 28일
But you know I found solution also. And Its as- go to the figure tab and instade of saving the .tiff file directly copy the vector grapics and paste into word or ppt and thats it!!
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.

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

카테고리

Help CenterFile Exchange에서 Legend에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by