www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregmulti/annotate.m

    function annotate(m,Xs,Ys,ax)
%ANNOTATE Annotate response plot (from model/plot)
%
%  ANNOTATE(M, X, Y, AX), where X and Y are the plotted model data and AX
%  is the axes to draw into, annotates the model value plot.  For a hybrid
%  RBF this involves plotting the center locations.

%  Copyright 2015-2015 The MathWorks, Inc. and Ford Global Technologies, Inc.

mdl = get(m,'CurrentModel');
annotate(mdl,Xs,Ys,ax);