Graphics Previous page   Next Page

Pinning -- Attaching to a Point in the Figure

Pinning is the attachment of an object to a particular point in the figure. Pinning enables you to pan or resize the figure while keeping annotations associated with the same point. For example, the following picture shows regions in two different graphs associated by pinning both ends of a double arrow.

If you perform a horizontal zoom on the top axes (select Horizontal Zoom from the Options submenu of the Tools menu) and then pan the graph to show the first 120 seconds of the data, the double arrow continues to point to the same locations on the graph.

Pinning Objects

To pin an object, first enable pinning mode by clicking the pin object icon in the plot edit toolbar or select Pin Object from the Edit menu. Then click the point you want to pin.

To unpin an object, right-click to display the context menu and select Unpin.

You can pin annotation lines, arrows, rectangles, ellipses, and textboxes.

When this mode is enabled, axes, rectangle, arrows, and lines automatically align their upper left corners to the grid. As you move or resize one of these objects, the size or position snaps to the next grid location.


Previous page  Adding a Legend to a Graph Alignment Tool -- Aligning and Distributing Objects Next page

© 1994-2005 The MathWorks, Inc.