필터 지우기
필터 지우기

Exportgraphics and TiledLayout: Figure Handle vs TiledLayout handle?

조회 수: 15 (최근 30일)
In the documentation for exportgraphics, when saving a multi-panel plot make with TiledLayout, the TiledLayout handle is passed to exportgraphics and not the figure handle?
Why is that?
Is the outcome different if you were to use the figure handle versus the tiledlayout handle?

채택된 답변

Steven Lord
Steven Lord 2020년 6월 25일
From the documentation page for the exportgraphics function the relevant detail to me is "The graphics object can be any type of axes, a figure, a chart that can be a child of the figure, a tiled chart layout, or a container within the figure. The resulting graphic is tightly cropped to a thin margin surrounding your content." [Emphasis added.]
If the tiled chart layout is inside a figure, it's likely not going to take up the entire area inside the figure. So the graphic created from the tiled chart layout is likely to be smaller than the one created from the figure.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by