zinput

版本 1.0.0.0 (3.2 KB) 作者: Bjorn Gustavsson
Ginput with zoom-in, select, all-zoom out
3.1K 次下载
更新时间 2005/11/28

查看许可证

ZINPUT - Graphical input from mouse with zoom

[OUT_REGS] = ZINPUT(N) gets N points or regions from the current axes and returns the X- and Y-ranges in a length Nx4 matrix OUT_REGS.
The cursor can be positioned using the mouse. Data points are entered by pressing the right mouse button (OUT_REGS(1)==OUT_REGS(2)==point_X), the region of the current axis are selected with the middle button, left button is for zooming, single cklick zooms in, click-and drag zooms to selected region (and doubble-click should zoom out - this feature is pending).
Any key on the keyboard except carriage return zooms out to the orignal axis. Carriage return/Enter, which terminates the input before N points are entered.

[OUT_REGS] = ZINPUT gathers an unlimited number of points until the return key is pressed.

引用格式

Bjorn Gustavsson (2024). zinput (https://www.mathworks.com/matlabcentral/fileexchange/9127-zinput), MATLAB Central File Exchange. 检索来源 .

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

参考作品: zoom2cursor

启发作品: ginput2.m v3.1 (Nov 2009)

Community Treasure Hunt

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

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