XuJiBoY 2007-3-18 12:53 PM
求助:关于MatLab
请问MatLab高手们:如果我打开一个2d的plot的fig文件,如何把该plot的XData和YData导出?
magicll 2007-3-18 12:59 PM
帮顶~hoho
yy-prion 2007-3-19 04:06 PM
[quote]原帖由 [i]XuJiBoY[/i] 于 2007-3-18 11:53 发表
请问MatLab高手们:如果我打开一个2d的plot的fig文件,如何把该plot的XData和YData导出? [/quote]
可以导吗?没听说过哦
:ding2:一下吧
aeolus 2007-3-19 07:26 PM
property里面有
XuJiBoY 2007-4-20 10:04 AM
[quote]原帖由 [i]aeolus[/i] 于 2007-3-19 06:26 PM 发表
property里面有 [/quote]
哪个property里面阿?在Figure里面的所有menu中没有这一项阿?
chao 2007-4-20 10:14 AM
[quote]原帖由 [i]XuJiBoY[/i] 于 2007-4-20 10:04 AM 发表
哪个property里面阿?在Figure里面的所有menu中没有这一项阿? [/quote]
你的版本太低?7.0好像有吧
pi-po-si 2007-4-20 11:49 AM
[quote]原帖由 [i]XuJiBoY[/i] 于 2007-3-18 11:53 AM 发表
请问MatLab高手们:如果我打开一个2d的plot的fig文件,如何把该plot的XData和YData导出? [/quote]
你点那个data,不是可以show在一个excel file里么?
excel file的data还是比较容易兼容的吧
XuJiBoY 2007-4-20 02:27 PM
[quote]原帖由 [i]chao[/i] 于 2007-4-20 09:14 AM 发表
你的版本太低?7.0好像有吧 [/quote]
我用的是6.5版的 但是据说7.0版本的运行很慢 我的本子内存也不是很大
aeolus 2007-4-20 02:50 PM
不在menu里面,双击figure,在property里面。
我用过从matlab 5开始到现在的7。0,记得都是有的。你找找。我现在手头只有7。0,
btw,7.0 may be bad as u have a small memory. u may try 7.0 for linux, it is great. or try 6.5, pretty good one, more efficient than 6.0
[[i] 本帖最后由 aeolus 于 2007-4-20 01:52 PM 编辑 [/i]]
XuJiBoY 2007-4-20 03:07 PM
[quote]原帖由 [i]aeolus[/i] 于 2007-4-20 01:50 PM 发表
不在menu里面,双击figure,在property里面。
我用过从matlab 5开始到现在的7。0,记得都是有的。你找找。我现在手头只有7。0,
btw,7.0 may be bad as u have a small memory. u may try 7.0 for linux, it i ... [/quote]
我在figure的property里面并没有找到相应的选项啊?我把property窗口的图像贴在下面,你看看我有没有找对?
aeolus 2007-4-20 03:30 PM
click "edit data"
XuJiBoY 2007-4-20 11:42 PM
[quote]原帖由 [i]aeolus[/i] 于 2007-4-20 02:30 PM 发表
click "edit data" [/quote]
我试过,在edit data里面你只能够修改某个或者某些数据,但你并不能够把整行数据copy下来。
aeolus 2007-4-21 12:35 AM
hum, so u have a large data set?
try save ur figure as a M-file. it should keep all the data in that file.
[quote]原帖由 [i]XuJiBoY[/i] 于 2007-4-20 10:42 PM 发表
我试过,在edit data里面你只能够修改某个或者某些数据,但你并不能够把整行数据copy下来。 [/quote]
pi-po-si 2007-4-21 01:01 AM
tools
data statistics
save to workspace
XuJiBoY 2007-4-22 09:46 PM
[quote]原帖由 [i]aeolus[/i] 于 2007-4-20 11:35 PM 发表
hum, so u have a large data set?
try save ur figure as a M-file. it should keep all the data in that file.
[/quote]
I tried. However, the m-file does not have any information of the data. It reads and I quote:
"function h = trans
% This function was created by saveas(...,'mfig'), or print -dmfile.
% It loads an HG object saved in binary format in the FIG-file of the
% same name. NOTE: if you want to see the old-style M code
% representation of a saved object, previously created by print -dmfile,
% you can obtain this by using saveas(...,'mmat'). But be advised that the
% M-file/MAT-file format does not preserve some important information due
% to limitations in that format, including ApplicationData stored using
% setappdata. Also, references to handles stored in UserData or Application-
% Data will no longer be valid if saved in the M-file/MAT-file format.
% ApplicationData and stored handles (excluding integer figure handles)
% are both correctly saved in FIG-files.
%
%load the saved object
[path, name] = fileparts(which(mfilename));
figname = fullfile(path, [name '.fig']);
if (exist(figname,'file')), open(figname), else open([name '.fig']), end
if nargout > 0, h = gcf; end"
XuJiBoY 2007-4-22 09:50 PM
[quote]原帖由 [i]pi-po-si[/i] 于 2007-4-21 12:01 AM 发表
tools
data statistics
save to workspace [/quote]
I tried this, but it saved the statistics of the data instead of the data themselves into two 1X1 struct arrays, which are composed of the min, max, mean, median, std, and range of the x-data and y-data.
pi-po-si 2007-4-22 10:35 PM
[quote]原帖由 [i]XuJiBoY[/i] 于 2007-4-22 08:50 PM 发表
I tried this, but it saved the statistics of the data instead of the data themselves into two 1X1 struct arrays, which are composed of the min, max, mean, median, std, and range of the x-data and ... [/quote]
咔咔
弄错了
页:
[1]