Chinaunix首页 | 论坛 | 博客
  • 博客访问: 40706
  • 博文数量: 15
  • 博客积分: 403
  • 博客等级: 一等列兵
  • 技术积分: 155
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-28 22:44
个人简介

This is the blog site of Shaka, who comes from China. Being passionate and creative, he loves peace, freedom and life. He has a variety of interests, and is also an open-source software amateur. He loves Unix/Linux, \LaTeX{}, MetaPost, Emacs, Vim, etc.

文章分类

全部博文(15)

文章存档

2015年(1)

2014年(1)

2012年(2)

2010年(11)

我的朋友

分类:

2010-07-06 23:04:44

I have a Matlab figure file, "file.fig", and I want to abstract the original data from it. The
following procedures should be processed:
  1. open('file.fig'); % open figure file
  2. fig_handle = findall(gca, 'type', 'line'); % get figure handle
  3. x = get(fig_handle, 'xdata'); % get data of X-axis
  4. y = get(fig_handle, 'ydata'); % get data of Y-axis
阅读(2631) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~