plotsets.m
来自「为了下载东西」· M 代码 · 共 33 行
M
33 行
%
% Syntax: plotsets(Sets,ActiveSet)
%
% Inputs: Sets is either a 3x5 matrix containing the pi-curve parameters
% for inputsets, or a 5x1 matrix containing the positions of out-
% put singletons. ActiveSet is an integer.
%
% Result: The current plot area has been cleared, and the family of fuzzy
% sets or singletons contained in Sets has been plotted. Set number
% ActiveSet is plotted with a solid red line, the others with white
% dotted lines.
%
% Petur Snaeland, 30.04.1995.
%
function plotsets(Sets,ActiveSet)
%
% Clear the current plot area (NOT the current figure!!)
%
cla;
%
% Plot all sets in the family.
%
for i=1:size(Sets,1),
if i == ActiveSet,
strLineType = '-r';
else
strLineType = ':c';
end
hold on; plotset(Sets(i,:),strLineType);
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?