nndtext.m
来自「《神经网络设计》英文版的配套源代码」· M 代码 · 共 30 行
M
30 行
function h=nndtext(t,x,y,a)
%NNDTEXT Neural Network Design utility function.
% NNDTEXT(T,X,Y)
% T - Text (string).
% X - Horizontal coordinate.
% Y - Vertical coordinate.
% A - Horizontal alignment (default = 'center').
% Draws text T at location (X,Y) in bold and NNDKBLUE and
% erasemode of 'none'. Optionally returns handle to text.
% Copyright 1994-2002 PWS Publishing Company and The MathWorks, Inc.
% First Version, 8-31-95.
% $Revision: 1.7 $
%==================================================================
% DEFAULTS
if nargin < 4, a = 'center'; end
% DRAW
H = text(t,x,y,...
'color',nndkblue',...
'fontweight','bold',...
'horiz',a,...
'erasemode','none');
% RETURN VALUE
if nargout, h = H; end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?