| Contents | Index |
rect = getrect
rect = getrect(fig)
rect = getrect(ax)
rect = getrect lets you select a rectangle in the current axes using the mouse. Use the mouse to click and drag the desired rectangle. rect is a four-element vector with the form [xmin ymin width height]. To constrain the rectangle to be a square, use a shift- or right-click to begin the drag.
rect = getrect(fig) lets you select a rectangle in the current axes of figure fig using the mouse.
rect = getrect(ax) lets you select a rectangle in the axes specified by the handle ax.
Select a rectangle in an image of the moon:
imshow('moon.tif')
rect = getrect

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |