ginput2.m v3.1 (Nov 2009)

Same as GINPUT but with ZOOM, PAN and (optionally) PLOT and image SCALE/GEOREFERENCE!
8.4K 次下载
更新时间 2009/11/12

查看许可证

Do you still use GINPUT to graphically select points on current axes with the mouse? Try this one!

With GINPUT2 you can also:
1. ZOOM: in, out (double-click)!
2. PAN: when dragging!
3. DELETE: last selected point!
4. PLOT: while selecting! (optional, just input the line style!)
5. SCALE or GEOREFERENCE images! (optional, just input: true)

So, besides of selecting points in a more precise way (zooming) you can DIGITIZE(!!!) lines with the last two options, by simply using:
>> ginput2(true,'.k')

Enjoy it!
Bug reports and comments will be very appreciated!

引用格式

Carlos Adrian Vargas Aguilera (2024). ginput2.m v3.1 (Nov 2009) (https://www.mathworks.com/matlabcentral/fileexchange/20645-ginput2-m-v3-1-nov-2009), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Visual Exploration 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.4.0.0

v3.1 Now returns when N=1 and an "strange" KEY is pressed.

1.3.0.0

v3.0 Now allows panning while dragging. Some changes on help.

1.2.0.0

v2.1 Fixed bugs related with points delection. Added new 'keepzoom' feature.

1.1.0.0

Changed default YESERROR value and fixed a bug there. Changed behavior when N==1. Fixed bug with zoom out. Changed default selection keys. Changed default selection click mouse: from left one to the right one.

1.0.0.0