| 查看: 1713 | 回复: 5 | ||||
caoweiyue新虫 (小有名气)
|
[求助]
请教一下用什么软件制图表可以知道图线上任意一点的坐标值已有1人参与
|
| 想请教一下 用哪款软件制图表可以知道图线上任意一点的坐标值 |
» 收录本帖的淘帖专辑推荐
Origin 实用 |
» 猜你喜欢
第一性原理计算方向2026级博士申请 PRB*1,四级484
已经有1人回复
求助VISSIM破解版软件
已经有0人回复
物理学I论文润色/翻译怎么收费?
已经有151人回复
求2026年在台湾举行的物理和材料领域国际学术会议信息
已经有0人回复
求国际会议网站
已经有1人回复
求取一些关于纳米材料和纳米技术相关的英文PPT。
已经有0人回复
【复旦大学】二维材料方向招收2026年博士研究生1名
已经有0人回复
北京纳米能源与系统研究所 王中林院士/曹南颖研究员课题组2026级硕/博/博后招生
已经有10人回复
荷兰Utrecht University超快太赫兹光谱王海教授课题招收2026 CSC博士生
已经有16人回复
反铁磁体中的磁性切换:两种不同的机制已成功可视化
已经有0人回复
» 本主题相关价值贴推荐,对您同样有帮助:
origin 作图坐标轴问题请教
已经有6人回复
请教一下 哪位大侠给提供一些制备柴油的方法 不是生物柴油
已经有15人回复
请问一下为什么不能查看access2003的表?
已经有2人回复
请教win7任务栏图标无效的问题
已经有2人回复
请教一下在PPT中的SHIFT键的使用方法的汇总,谢谢大家:)
已经有2人回复
【交流】请教一下这两幅图怎么做的啊
已经有14人回复
【求助】菜鸟请教一下<FeO>/MgO特征值有什么指示意义么?
已经有13人回复
请教一个图形如何画
已经有12人回复
【求助】请教解析几何高手:100金币求坐标任意转动变换的解析公式
已经有15人回复
【请教】一般画位形坐标图用什么工具
已经有6人回复
请教一下关于热重图谱的问题
已经有3人回复
请教一下,有关统计图表的概念
已经有9人回复
dbb627
荣誉版主 (著名写手)
-

专家经验: +4 - 计算强帖: 12
- 应助: 289 (大学生)
- 贵宾: 0.589
- 金币: 24640.4
- 散金: 551
- 红花: 61
- 沙发: 1
- 帖子: 1246
- 在线: 1794.8小时
- 虫号: 149791
- 注册: 2005-12-29
- 性别: GG
- 专业: 污染控制化学
- 管辖: 计算模拟
|
matlab 就可以实现, 动态显示鼠标的坐标值和像素值,具体的实现方法很多,但归结起来就是获取坐标轴的current point 属性值,我这里给出的一个函数是从mathworks 获取柄稍作修改后的结果,相信对做图像处理的朋友有一定的作用。另一个就是自带的pixval函数。谁有不同的实现方法,请多多共享啊! function dynpoint(arg,h) % Show the coordinates of a plot dynamically % % To start use: % dynpoint(h) % where h is a handle to a figure, axes or e.g. line. % % To delete use: % dynpoint('delete',h) % where h is a handle to a figure, axes or e.g. line. % (you may also use: dynpoint delete) % % There can only be one dynamic plotter in a figure at a time. % % Example: % subplot(211), hline = plot(sin(1:10)) % subplot(212), plot(sin(1:100)) % dynpoint(hline) % 2002,6.29 if ~exist('arg','var') arg = gcf; end if ~isstr(arg) handle = arg; arg = 'init'; end switch arg case 'init' if ~ishandle(handle) error('h is not a handle') end [h,ax] = h2hax(handle); % delete old dynamic text object ht = findobj(h,'tag',[mfilename '_text']); if any(ht) delete(ht) end % text window at the bottom left corner % text in centred uicontrol(h,... 'style','text',... 'pos',[2 2 200 15],... 'tag',[mfilename '_text'],... 'userdata',ax(1)) % do the dynamic thing... set(h,'windowbuttonmotionfcn',[mfilename ' move']) case 'move' ht = findobj(gcbf,'tag',[mfilename '_text']); ax = overobj('axes'); if ~any(ax) ax = get(ht,'userdata'); end p = get(ax,'currentpoint'); set(ht,'string',sprintf('(%g, %g)', p(1), p(3))); case 'delete' if ~exist('h','var') h = gcf; end [h,ax] = h2hax(h); set(h,'windowbuttonmotionfcn','') ht = findobj(h,'tag',[mfilename '_text']); delete(ht) end % ---------- function [h,ax]=h2hax(handle) typ = get(handle,'type'); if strcmp(typ,'figure') h = handle; ax = findobj(h,'type','axes'); elseif strcmp(typ, 'axes') h = get(handle,'parent'); ax = handle; elseif strcmp( get(get(handle,'parent'), 'type'), 'axes' ) ax = get(handle,'parent'); h = get(ax,'parent'); end |

2楼2012-08-25 21:10:20
hefeicuiyue
铜虫 (小有名气)
- 应助: 7 (幼儿园)
- 金币: 33.7
- 散金: 267
- 帖子: 192
- 在线: 42.9小时
- 虫号: 1198920
- 注册: 2011-02-03
- 性别: GG
- 专业: 涂料

3楼2012-08-27 15:14:53

4楼2012-08-27 18:00:37
5楼2012-11-25 06:31:41
Tingstar
铁虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 744.4
- 帖子: 51
- 在线: 14.1小时
- 虫号: 2151374
- 注册: 2012-11-27
- 性别: GG
- 专业: 水力学与水信息学
6楼2014-03-30 14:46:58













回复此楼