24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1872  |  回复: 5

caoweiyue

新虫 (小有名气)

[求助] 请教一下用什么软件制图表可以知道图线上任意一点的坐标值 已有1人参与

想请教一下 用哪款软件制图表可以知道图线上任意一点的坐标值
回复此楼

» 收录本帖的淘帖专辑推荐

Origin 实用

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

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
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
2楼2012-08-25 21:10:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

hefeicuiyue

铜虫 (小有名气)

【答案】应助回帖


dbb627: 金币+1, 欢迎交流 2012-08-27 19:12:06
用origin就可以实现该功能,在origin中有最左边的screen reader 和下面的几个键都可以显示数据
崔越
3楼2012-08-27 15:14:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

csgt0

荣誉版主 (著名写手)

彩色挂图

【答案】应助回帖


dbb627: 金币+1, 感谢应助 2012-08-27 19:12:15
可以使用matlab的ginput坐标轴上的取任意点
也可以使用matlab的datacusor只能取线上的点,可以是线上的任意点,也可以是只能原始数据点。
showmethemoney
4楼2012-08-27 18:00:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

bd73778

木虫 (正式写手)

【答案】应助回帖


csgt0: 金币+1, 谢谢 2012-11-26 13:27:00
用水晶易表制作的图形图表可以生成flash文件,支持点击后显示鼠标所在点坐标
5楼2012-11-25 06:31:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Tingstar

铁虫 (小有名气)

【答案】应助回帖

GetData非常好用,你可以把任意有坐标范围的曲线图数据提取出来,软件非常好学,几分钟就可以学会
6楼2014-03-30 14:46:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 caoweiyue 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 086000调剂 +3 十七sa 2026-03-30 3/150 2026-04-05 21:14 by 学员8dgXkO
[考研] 270分求调剂 +4 maxjxbsk 2026-04-01 4/200 2026-04-05 17:04 by yulian1987
[考研] 工科08专硕机械275求调剂 +3 AaAa7420 2026-04-02 3/150 2026-04-05 13:26 by jp9609
[考研] 0832食品科学与工程学硕282调剂 +6 鱼在水中游a 2026-04-02 9/450 2026-04-05 11:45 by flysky1234
[考研] 270求调剂 +9 小杰pp 2026-03-31 11/550 2026-04-05 11:02 by 风雨无晴
[考研] 一志愿郑大0705求调剂 +3 橘十一 2026-04-02 4/200 2026-04-05 00:05 by chongya
[考研] 295求调剂 +4 A你好研究生 2026-04-04 5/250 2026-04-04 22:46 by yu221
[考研] 求调剂 +4 晟功? 2026-04-03 4/200 2026-04-04 21:58 by hemengdong
[考研] 0703求调剂 +6 zizimo 2026-03-31 6/300 2026-04-04 14:16 by 无际的草原
[考研] 一志愿085404,总分291,四级已过,求调剂 +5 阿俊阿俊阿俊 2026-04-04 7/350 2026-04-04 13:23 by 莲菜就是藕吧
[考研] 材料专硕322分 +13 哈哈哈吼吼吼哈 2026-04-01 13/650 2026-04-03 16:08 by 哦哦123
[考研] 一志愿华东理工大学,080500学硕,317分,求调剂 +13 s1145 2026-03-31 15/750 2026-04-03 11:44 by msi123
[考研] 326求调剂 +3 9ahye 2026-04-02 4/200 2026-04-03 08:43 by Jaylen.
[考研] 一志愿山东大学,085600,344 +7 魏子per 2026-04-02 8/400 2026-04-02 21:12 by 百灵童888
[考研] 一志愿郑大材料工程290求调剂 +20 Youth_ 2026-03-30 20/1000 2026-04-02 14:48 by 5896
[考研] 283求调剂 +3 jiouuu 2026-04-02 4/200 2026-04-02 14:08 by 哒哒哒呱呱呱
[考研] 求调剂0703 +5 周嘉尧 2026-03-31 8/400 2026-04-01 20:32 by ltltkkk
[考研] 求调剂:一志愿:南京大学 专业:0705 总分320 ,本科985,四六级已过 +3 lfy760306 2026-03-31 3/150 2026-04-01 01:57 by Creta
[考研] 318求调剂 +10 陈晨79 2026-03-30 10/500 2026-03-31 17:37 by 544594351
[考研] 一志愿西电085401数一英一299求调剂 六级521 +4 爱吃大鸭梨 2026-03-31 4/200 2026-03-31 11:51 by 搏击518
信息提示
请填处理意见