爱人要选温柔似水甜如蜜的,对手要选聪明能干强有力的,同事要选埋头苦干没脾气的,朋友要选猪头狗脑流鼻涕的,别看了,快把鼻涕擦了.....
【收藏】轻松获取Figure中的数据
上一篇 /
下一篇 2007-02-07 09:51:47
/ 个人分类:MATLAB
- 文件大小: 9.46 KB
- 文件版本: V3.0
- 开发商: 来源网络
- 文件来源: 本地
- 界面语言: english
- 授权方式: 免费
- 运行平台: Win9X/Win2000/WinXP
J'{C*rPt.E]5Ua0感谢支持SimWe个人空间8IQa;]
nC7pXyJ
8xI
Nz1L ?0转自Mathworks File Exchange。SimWe个人空间;g"c#] `s-IYCwN
SimWe个人空间(cA"U%j$N(@,@% selectdata: graphical selection of data points on a plot using the mouse
S_+I(zF2fg'V0% usage: pointslist = selectdata % uses all default optionsSimWe个人空间~#c4Bk-Hk~;kD?
% usage: pointslist = selectdata(prop1,val1,prop2,val2,...)
N/`;W*Y"}"J}QM*D%y0%SimWe个人空间Mx'l8p-dM:f m
% SELECTDATA allows the user to select data points on a given plotSimWe个人空间m3nC0ql
% using the mouse, in a variety of modes. 'Lasso' mode allows theSimWe个人空间4@
xXjL
\gc4\
% selection by a user directed lasso around the points. 'Brush' mode
?d%p$NT2bre0% selects points as you brush over them with the mouse. 'Rect' mode
dK+Rd*v}\L%Rf0% draws a rectangle, selecting any points inside the rectangle.
T:~6?i}@(qwl0% 'Closest' mode looks for a aingle mouse click, finding the closestSimWe个人空间f5W`e1I#C,Y-i(E
% point to the mouse.SimWe个人空间b7c{p$G`l#mj+F;he `J
%SimWe个人空间 zJ X GJ8R
% Returned is a list of the point indexes selected, additionally you
{N{!C!V/^dH(a6~0% can specify that the points be deleted from the plot.SimWe个人空间)K|u:N2hk%a!P
%SimWe个人空间$[k&f5|#@0C*_JV.nV%k
% Arguments: (input)
Q:yqa:F!c)},Is0% The input arguments to SELECTDATA are all property/value pairs.SimWe个人空间.a^:_n
{\.^\
% (See PARSE_PV_PAIRS for more details.)
%pWXk0J \0% http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=9082&objectType=FILE
Cv[!r9XX%|r0% SimWe个人空间xz
ga*W d+C9v
% Property names and character values can be shortened as long asSimWe个人空间O/o.D}Gx$Q4|*Y
esw
% the shortening is unambiguous. Capitalization is ignored.
!C.`G;T)p f]g0%
+IGq"M$u
G'oQ}
Z0% Valid Properties: 'Action', 'Axes', 'BrushSize', 'Identify',SimWe个人空间/Rfk"V*U
Y+j3uy&naG
% 'Ignore' , 'Pointer', 'SelectionMode'
+AW"\5h%h SGl'g0%
0kY2?b'n c0% 'Action' - {'list', 'delete'}
n Y9CTO?O0% 'delete' causes the selected points to be deleted from
e)k
LR0QN*Hs0% the figure after their selection is final.SimWe个人空间*T1d+Y Brv
%
YEBQm-VH6WM
[G0% DEFAULT VALUE: 'List'SimWe个人空间 MX\;N:~g y!M6Z
%SimWe个人空间5\;y(bx\rM~
% 'Axes' - denotes the axes from which to select pointsSimWe个人空间v7~a~.{v
%