GINPUT FOR UIAXES

GINPUTUIAX is similar to Matlab's original GINPUT, except that it works with UIFIGURE & UIAXES

您现在正在关注此提交

%GINPUTUIAX Graphical input from mouse with custum cursor pointer.
% [X,Y] = ginputuiax(huiax,N) gets N points from the uiaxes, huiax and returns
% the X- and Y-coordinates in length N vectors X and Y.
% GINPUTUIAX is similar to Matlab's original GINPUT, except
% that it works with UIFIGURE & UIAXES
% Example:
% ax=uiaxes; plot(ax,rand(1,100))
% [x,y] = ginputuiax(ax,2)
%
% Adapted from GINPUTC by Jiro Doke
% Wanwara Thuptimdang
% Date: 1July2020

引用格式

Toey (2026). GINPUT FOR UIAXES (https://ww2.mathworks.cn/matlabcentral/fileexchange/77605-ginput-for-uiaxes), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: Custom GINPUT

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0