📄 nndrawax.m
字号:
function h=nndrawax(c,e)
%NNDRAWAX Neural Network Design utility function.
%
% NNDRAWAX(C)
% C - Color (default = dark blue).
% E - Erase mode (default = 'normal');
% Draws the x- and y-axes on a plot with color C.
% First Version, 8-31-95.
%==================================================================
% DEFAULTS
if nargin < 1, c = nndkblue; end
if nargin < 2, e = 'normal'; end
ca = gca;
NP = get(ca ,'nextplot');
set(ca ,'nextplot','add')
xlim = get(ca,'xlim');
xmin = xlim(1);
xmax = xlim(2);
ylim = get(ca,'ylim');
ymin = ylim(1);
ymax = ylim(2);
g = plot([xmin xmax NaN 0 0],[0 0 NaN ymax ymin],':',...
'color',c,...
'erasemode',e);
set(ca,'nextplot',NP)
if nargout, h = g; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -