iptwindowalign
Align figure windows
Description
iptwindowalign(
aligns the edge fixed_fig
,fixed_edge
,
moving_fig
,moving_edge
)moving_edge
of figure
moving_fig
with the edge
fixed_edge
of figure
fixed_fig
.
You can align two figure windows along the top, bottom, left, or right edges. You can also center the figures horizontally or vertically. The figure shows the possible alignments.
Examples
Input Arguments
Tips
The two specified edges must be consistent in terms of their direction. For example, you cannot specify
"left"
forfixed_edge
and"bottom"
formoving_edge
.iptwindowalign
constrains the position adjustment ofmoving_fig
to keep the figure entirely visible on the screen.iptwindowalign
has no effect if either figure window is docked.
Version History
Introduced before R2006a