|Image Processing Toolbox User's Guide|
Align figure windows
moves the figure
iptwindowalign(fixed_fig, fixed_fig_edge, moving_fig,...
moving_fig to align it with the figure
fixed_fig are handles to figure objects.
moving_fig_edge describe the alignment of the figures in relation to their edges and can take any of the following values:
'hcenter' means center horizontally and
'vcenter' means center vertically. The following figure shows these alignments.
The two specified locations must be consistent in terms of their direction. For example, you cannot specify
iptwindowalign constrains the position adjustment of
moving_fig to keep it entirely visible on the screen.
Create two figures:
fig2 so its left edge is aligned with the right edge of
fig2 so its top edge is aligned with
fig1's bottom edge, and then move it so the two figures are vertically centered.
© 1994-2005 The MathWorks, Inc.