Figure Docking (group)

조회 수: 203 (최근 30일)
Philip
Philip 2011년 10월 2일
댓글: Debt 2022년 3월 4일
What I'd like to do is take multiple figures and dock them all in one panel. Ideally I would dock them all in one figure Window, but I'm open to docking them in Matlab's main window (which I know how to do with the WindowStyle property) and then undock that group as a whole (which I can do with the Undock Figures button), but I dont know how to do it programmatically. Thanks for any thoughts or help.
This can be in any version of Matlab 2009b or newer.

답변 (2개)

Daniel Shub
Daniel Shub 2011년 10월 3일
I think figures can only be docked to the main MATLAB window. You cannot dock a figure into another figure. The property you are looking to do this programmatically is "WindowStyle":
h = figure;
set(h, 'WindowStyle', 'Docked');

Grzegorz Knor
Grzegorz Knor 2011년 10월 3일
You can try this function:
Warning: This code heavily relies on undocumented and unsupported Matlab functionality. It works on Matlab 7.4, but use at your own risk!
  댓글 수: 1
Debt
Debt 2022년 3월 4일
thank you

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by