📄 getrocw.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -