MATLAB Function Reference |
Select, move, resize, or copy axes and uicontrol graphics objects
Syntax
Description
selectmoveresize
is useful as the callback routine for axes and uicontrol button down functions. When executed, it selects the object and allows you to move, resize, and copy it.
For example, this statement sets the ButtonDownFcn
of the current axes to selectmoveresize:
A = selectmoveresize
returns a structure array containing
A.Type
: a string containing the action type, which can be Select
, Move
, Resize
, or Copy
A.Handle
s: a list of the selected handles, or, for a Copy
, an m-by-2 matrix containing the original handles in the first column and the new handles in the second column
See Also
The ButtonDownFcn
of axes and uicontrol graphics objects
Object Manipulation for related functions
selectmoveresize | semilogx, semilogy |
© 1994-2005 The MathWorks, Inc.