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

    function [hs, cb]= surface( m, x, axh, varargin )
%XREGARX/SURFACE   Surface plot method for ARX models
%    [HS,CB] = SURFACE(M,X)
%    [HS,CB] = SURFACE(M,X,AXH,...)

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


if nargin < 3,
   axh = gca;
end

% make the axes in visible
set( axh, 'Visible', 'off' );

% display a little message
text( 'Parent', axh, ...
    'Units', 'Normalized', ...
    'Position', [0.5, 0.5], ...
    'HorizontalAlignment', 'Center', ...
    'VerticalAlignment', 'Middle', ...
    'FontWeight', 'Bold', ...
    'String', 'Surface plots are not available for ARX models' );

% outputs
hs = [];
cb = [];

%------------------------------------------------------------------------------|
% EOF
%------------------------------------------------------------------------------|