making multipanel figure using MATLAB code
이전 댓글 표시
is there a way to write a simple code which can help me in making a multipanel figure, and allow figure selection at each panel?
Figure which I want to generate lookalike any figure which is published in journals.
any suggession or help would be greatly appreciated
댓글 수: 7
Matt Kindig
2012년 10월 4일
Figures can't be nested inside other figures, so I'm not entirely sure what you mean. Do you mean a figure that contains multiple uipanels, each of which contains an axes object?
What does "I want to generate lookalike any figure which is published in journals" mean?
mohammad Farhan
2012년 10월 4일
Walter Roberson
2012년 10월 4일
Is there a particular reason for wanting multiple uipanel() instead of subplot() ?
mohammad Farhan
2012년 10월 4일
Walter Roberson
2012년 10월 4일
subplot() creates a graphics axes from a rectangular subsection of a figure, location automatically determined according to the NxM parameter you give it. This axes is directly suitable for drawing on, but axes cannot contain any uicontrol() objects.
uipanel() creates a rectangular control subdivision of a figure, location having been given by you in coordinate notation. This control subdivision can contain nearly any kind of graphics object, including uicontrol or axes. You need to add an axes into a uipanel in order to be able to draw within the panel. uipanel() is a container object, not a drawing object.
There are sometimes reasons for dividing into uipanel() instead of subplot(). In particular, uipanel() can [with some work] have their content scrolled, but axes cannot have their content scrolled (only panned)
mohammad Farhan
2012년 10월 4일
Walter Roberson
2012년 10월 4일
h = uipanel('Position', [31 41 592 635]);
Then use h where you would otherwise use a figure number.
답변 (1개)
Walter Roberson
2012년 10월 4일
0 개 추천
See subplot()
카테고리
도움말 센터 및 File Exchange에서 Subplots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!