getrocw.m
来自「SVDD的工具箱」· M 代码 · 共 31 行
M
31 行
function w = getrocw(h)%GETROCW Retrieve mapping from an ROC plot%% W = GETROCW(H)%% Retrieve the mapping that was changed using PLOTROC from the figure.% The figure handle H should be supplied.%% See also: dd_roc, plotroc, dd_setfnUD = get(h,'userdata');if isempty(UD) % maybe it is in the parent? h2 = get(h,'parent'); if ~isempty(h2) w = getrocw(h2); else UD error('No userdata is defined, is a correct h supplied?'); endelse if ~isfield(UD,'w') error('No field "w" is defined in the userdata.'); end w = UD.w;endreturn
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?