matlab - 标记坐标和 ginput - Matlab
问题描述
我希望使用这个简单的代码在 App 设计器中的轴上标记/标记坐标,但没有成功。知道如何直接在轴上执行此操作(app.ImageAxes)吗?
代码:
function ButtonPushed(app, event)
imshow('cameraman.tif','Parent',app.ImageAxes);
app.ImageAxes.HandleVisibility = 'on';
[x,y,button] = ginput(5)
app.ImageAxes.HandleVisibility = 'off';
end
解决方案
推荐阅读
- c++ - 在 Windows 上,使用 C++,如何将文件下载到特定文件夹?
- javascript - 这些 Microsoft 文档在 JS 文件中包含 JSX 是否错误?
- reactjs - 如何从状态中获取数据
- r - 如何在 R 中提取纹理属性(Haralick)?
- qt - QML 树视图工具提示
- javascript - 尝试将事件从 iframe 推送到 Google Analytics
- c# - 我们可以在有和没有 jsonbody 的情况下重载 API
- javascript - 使用js移动对象时过渡不起作用
- python - 如何在 python 正则表达式中使用前瞻查找每个匹配项?
- javascript - 状态改变时报错【渲染方法应该是props和state的纯函数】