声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 4295|回复: 8

[图像处理] 从Fig文件中读取原始数据

[复制链接]
发表于 2010-6-1 21:09 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
如果用Polor画图保存为Fig文件,以后怎么读取原始数据
回复
分享到:

使用道具 举报

发表于 2010-6-1 21:17 | 显示全部楼层
help get

评分

1

查看全部评分

发表于 2010-6-2 07:54 | 显示全部楼层
这个可以用get(h,'xdata')

[ 本帖最后由 ChaChing 于 2010-6-3 00:39 编辑 ]

评分

1

查看全部评分

 楼主| 发表于 2010-6-2 09:28 | 显示全部楼层
能不能具体点啊
发表于 2010-6-3 00:38 | 显示全部楼层
open('YourFile.fig'); get(gca,'xdata')
 楼主| 发表于 2010-6-7 14:48 | 显示全部楼层
还是不行啊.
get(gca,'xdata')
??? Error using ==> get
There is no 'xdata' property in the 'colorbar' class.

??? Error using ==> get
There is no 'xdata' property in the 'axes' class.
发表于 2010-6-7 21:03 | 显示全部楼层
t = 0:.01:2*pi; hh=polar(t,sin(2*t).*cos(2*t),'--r');
xx=get(hh,'xdata');
 楼主| 发表于 2010-6-7 22:01 | 显示全部楼层

回复 7楼 ChaChing 的帖子

谢谢你的回复,不好意思,我打错了,我用的是是pcolor函数,不是polar
发表于 2010-6-8 00:17 | 显示全部楼层

回复 8楼 zhxben 的帖子

Ref: 4F, PickAxes.m
http://forum.vibunion.com/forum/viewthread.php?tid=93246&highlight=

[ 本帖最后由 ChaChing 于 2010-6-8 00:18 编辑 ]
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-21 22:06 , Processed in 0.058184 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表