| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
A = selectmoveresize
set(gca,'ButtonDownFcn','selectmoveresize')
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.
A = selectmoveresize returns a structure array containing
A.Type: a string containing the action type, which can be Select, Move, Resize, or Copy
A.Handles: 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
set(gca,'ButtonDownFcn','selectmoveresize') sets the ButtonDownFcn property of the current axes to selectmoveresize:
The ButtonDownFcn property of axes and uicontrol objects
Object Manipulation for related functions
![]() | sech | semilogx, semilogy | ![]() |

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