Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- matlab selecting regions in matlab plot
- hax = axes( ... , 'ButtonDownFcn', @OnClickAxes);
- function OnClickAxes( hax, evt )
- point1 = get(hax,'CurrentPoint'); % hax is handle to axes
- rbbox;
- point2 = get(hax,'CurrentPoint'); % hax is handle to axes
- end
Advertisement
Add Comment
Please, Sign In to add comment