亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xferplot.m

?? spread spectrum communication will be helpful to you!
?? M
?? 第 1 頁 / 共 5 頁
字號:
% Just return a quick empty:
if isempty(style),
	h=[]; return;
end

block_data = get_param(blk,'UserData');
hfig = block_data.hfig;
fig_data = get(hfig,'UserData');

% Get handles to just one of the options menu line style items.
% The context (and other line #) menus simply contain redundant info.
% 
hmenus  = fig_data.menu.linestyle;         % [options;context] x [line1 line2 ...]
hstyles = get(hmenus(:,lineNum),'child');  % style menu items for lineNum menu, options/context
hstyles = cat(2,hstyles{:});               % matrix of handles: styles x [options context]
menuStyles = get(hstyles(:,1),'UserData'); % cell array of style strings just for options menu

h = [];  % in case no match is found
for i=1:size(hstyles,1),
	if isequal(style, menuStyles{i}),
		% Found a matching style entry
		% Return both Options and Context menu handles for
		%   corresponding style entry for line number lineNum
		h = hstyles(i,:);
		return;
	end
end


% ---------------------------------------------------------------
function h = getColorMenuHandlesFromRGB(blk, lineNum, rgb)
% Maps an RGB color spec to a color menu index.
% The userdata fields of color menu objects contain RGB specs.
% Returns an empty handle vector if no match is found.

% If RGB is empty, we won't find any match
% Just return a quick empty:
if isempty(rgb),
	h=[]; return;
end

block_data = get_param(blk,'UserData');
hfig = block_data.hfig;
fig_data = get(hfig,'UserData');

% Get handles to just one of the options menu line color items.
% The context (and other line #) menus simply contain redundant info.
% 
hmenus  = fig_data.menu.linecolor;    % [options;context] x [line1 line2 ...]
hclrs   = get(hmenus(:,lineNum),'child'); % color menu items for lineNum menu, options/context
hclrs   = cat(2,hclrs{:});            % matrix of handles: colors x [options context]
menuRGB = get(hclrs(:,1),'UserData'); % cell array of RGB vectors just for options menu

h = [];  % in case no match is found
for i=1:size(hclrs,1),
	if isequal(rgb, menuRGB{i}),
		% Found a matching RGB entry
		% Return both Options and Context menu handles for
		%   corresponding color entry for line number lineNum
		h = hclrs(i,:);
		return;
	end
end

% ---------------------------------------------------------------
function rgb = mapCSpecToRGB(blk, user_cspec)
% Maps a user-defined color spec (CSpec) to an RGB triple
% An empty string maps to black (so unspecified lines are simply black)
% User-define color spec can be 'r' or 'red' or [1 0 0], etc.

% If user-spec is an empty, it is mapped to black
if isempty(user_cspec),
	rgb=[0 0 0];  % black
	return;
end

% If user-spec is an RGB triple encoded as a string,
% convert to numeric and return:
rgb = str2num(user_cspec);
if ~isempty(rgb),
	return;
end

% User spec is not an RGB triple.
% As a favor to the user, remove any apostrophes from the spec.
% The user might have accidentally entered:
%   'c'|'y'  (for example)
% instead of
%    c|y     (which is what is required since this is a 'literal' edit box)
%
% If any apostrophes were detected, remove them:
i = find(user_cspec == '''');
if ~isempty(i),
	user_cspec(i)=''; % remove apostrophes
	%warning('Channel color specs are literal strings - do not use apostrophes.');
end


% If user-defined color spec is invalid, return an empty
block_data = get_param(blk,'UserData');
hcspec = block_data.hcspec;
try
	set(hcspec,'color',user_cspec);
	rgb = get(hcspec,'color');
catch
	warning('Invalid line color specified.');
	rgb = zeros(0,3);  % empty RGB spec
end


% ---------------------------------------------------------------
function [rgb,h] = getDialogLineColor(blk,lineNum)
% Determine RGB vector corresponding to user-specified color.
%  - If user-specified color is empty, black is substituted.
%  - If user-specified color is not found, RGB is set to empty.
%
% Optionally returns vector of 2 handles, H, for corresponding
%   line color menu items in the Options and Context menus.

pipestr = get_param(blk,'LineColors');        % get all user-specified color specs
user_cspec = get_pipestr(pipestr,lineNum,1);  % cspec for line lineNum
rgb = mapCSpecToRGB(blk, user_cspec);         % find RGB representation - empty if no match
if nargout>1,
	h = getColorMenuHandlesFromRGB(blk, lineNum, rgb); % get handles - may be empty
end


% ---------------------------------------------------------------
function [style,h] = getDialogLineStyle(blk,lineNum)
% Determine style string corresponding to user-specified color.
%  - If user-specified style is empty, solid is substituted.
%  - If user-specified style is not found, style is set to empty.
%
% Optionally returns vector of 2 handles, H, for corresponding
%   line style menu items in the Options and Context menus.

pipestr = get_param(blk,'LineStyles');   % get all user-specified style specs
style = get_pipestr(pipestr,lineNum,1);  % style for line lineNum

% Map from user-specified style to actual style string:
if isempty(style),
	style='-';
end

h = getStyleMenuHandlesFromStyle(blk, lineNum, style); % get handles - may be empty


% ---------------------------------------------------------------
function y = anyStemMarkers(blk)
% Determine if any lines have a Stem marker selected

block_data = get_param(blk,'UserData');
nchans = block_data.NChans;
pipestr = get_param(blk,'LineMarkers');   % get all user-specified marker specs
y = 0;  % assume no stem markers selected
for lineNum=1:nchans,
	marker = get_pipestr(pipestr, lineNum,1);
	y = strcmp(marker,'stem');
	if y, return; end
end


% ---------------------------------------------------------------
function [marker,h] = getDialogLineMarker(blk,lineNum)
% Determine RGB vector corresponding to user-specified color.
%  - If user-specified marker is empty, 'none' is substituted.
%  - If user-specified marker is not found, marker is set to empty.
%
% Optionally returns vector of 2 handles, H, for corresponding
%   line marker menu items in the Options and Context menus.

pipestr = get_param(blk,'LineMarkers');   % get all user-specified marker specs
marker = get_pipestr(pipestr,lineNum,1);  % marker for line lineNum

% Map from user-specified marker to actual style string:
if isempty(marker),
	marker='None';
end

h = getMarkerMenuHandlesFromMarker(blk, lineNum, marker); % get handles - may be empty


% ---------------------------------------------------------------
function [disable,h] = getDialogLineDisable(blk,lineNum)
% Determine channel disable setting
%
% Optionally returns vector of 2 handles, H, for corresponding
%   line marker menu items in the Options and Context menus.

pipestr = get_param(blk,'LineDisables');   % get all user-specified disable specs
disable = get_pipestr(pipestr,lineNum,1);  % disable for line lineNum

% Map from user-specified disable to actual disable string:
if isempty(disable),
	disable='on';
end

h = getDisableMenuHandles(blk, lineNum);


% ---------------------------------------------------------------
function SetMenuChecks(blk)
% Called only from first_update to preset menu checks

% blk: masked subsystem block

block_data = get_param(blk,'UserData');
fig_data   = get(block_data.hfig,'UserData');

% Update AxisGrid menu check:
%
opt = get_param(blk,'AxisGrid');
set(fig_data.menu.axisgrid, 'Checked',opt);

% Update AxisZoom menu check:
%
opt = get_param(blk,'AxisZoom');
set(fig_data.menu.axiszoom, 'Checked',opt);

% Update Frame Number menu check:
%
opt = get_param(blk,'FrameNumber');
set(fig_data.menu.framenumber, 'Checked',opt);


% Update Legend menu check:
%
opt = get_param(blk,'AxisLegend');
set(fig_data.menu.axislegend, 'Checked',opt);

% Update Memory menu check:
%
opt = get_param(blk,'Memory');
set(fig_data.menu.memory, 'Checked',opt);


% Update line color menu checks:
%

% Reset all checks for this line in both the options and
%   context menus for line styles/colors/markers:
h=[fig_data.menu.linecolor fig_data.menu.linestyle ...
		fig_data.menu.linemarker];
hc=get(h,'child');
hc=cat(1,hc{:});
set(hc,'check','off');

% Turn on appropriate menu checks:
for i = 1 : block_data.NChans,
	% If item corresponds to a valid index, turn on check-marks
	%   for that item in both the options and context menus:
	% Handle will be empty if menu does not contain user-specified choice
	
	% Update line disable menu checks:
	[status, h] = getDialogLineDisable(blk, i);
	set(h,'check',status);
	
	% Update line colors menu checks:
	[rgb, h] = getDialogLineColor(blk, i);
	set(h,'check','on');
	
	% Update line styles menu checks:
	[style, h] = getDialogLineStyle(blk, i);
	set(h,'check','on');
	
	% Update line markers menu checks:
	[marker, h] = getDialogLineMarker(blk, i);
	set(h,'check','on');
end


% ---------------------------------------------------------------
function RevertDialogParams(blk)
% Reset all current parameters in block dialog
% These are all the "eval-mode edit box" fields:

block_data = get_param(blk, 'UserData');
names  = get_param(blk,'masknames');
styles = get_param(blk,'maskstyles');
% values = get_param(blk,'maskvalues');
pv={};
r = get_param(blk,'maskvariables');
for i=1:length(styles),
	[t,r]=strtok(r,'@&');
	if (r(1)=='@') & strcmp(styles{i},'edit'), % eval-mode edit box
		% Cannot use MaskValues field from the block, since we need
		% to access the "old" parameter values and the mask only
		% holds the "new" (and apparently erroneous) ones:
		val = mat2str(getfield(block_data.params,names{i}));
		pv = [pv {names{i},val}];
	end
end
set_param(blk,pv{:});


% ---------------------------------------------------------------
function msg = CheckParams(blk, params)

msg = '';

% Check Domain:
% -------------
x = params.Domain;
if (x~=1) & (x~=2) & (x~=3),
	msg = 'Domain must be 1 (Time), 2 (Freq), or 3 (User).';
	return
end

% Check XLabel:
% -------------
if ~ischar(params.XLabel),
	msg = 'X-axis label must be a string.';
	return
end

% Check XUnits:
% -------------
x = params.XUnits;
if (x~=1) & (x~=2),
	msg = 'X-axis units must be 1 (Hz) or 2 (rad/s).';
	return
end

% Check XIncr:
% -------------
if ~isOn(params.InheritXIncr),
	x = params.XIncr;
	Nx = GetNumberOfElements(x);
	if ~isa(x,'double') | issparse(x) | ~isreal(x) | ...
			(Nx ~= 1) | (x <= 0),
		msg = 'X-axis increment must be a real, double-precision scalar > 0.';
		return
	end
end

% Check XRange:
% -------------
x = params.XRange;
if (x~=1) & (x~=2) & (x~=3),
	msg = 'X-axis range must be 1 [0,Fn], 2 [-Fn,Fn], or 3 [0,Fs].';
	return
end

% Check YLabel:
% -------------
if ~ischar(params.YLabel),
	msg = 'Y-axis label must be a string.';
	return
end

% Check YUnits:
% -------------
x = params.YUnits;
if (x~=1) & (x~=2),
	msg = 'YUnits must be 1 (Hz) or 2 (rad/s).';
	return
end

% Check horizontal span:
% ----------------------
x = params.HorizSpan;
Nx = GetNumberOfElements(x);
if ~isa(x,'double') | issparse(x) | ~isreal(x) | ...
		(Nx ~= 1) | (x ~= floor(x)) | (x <= 0),
	msg = 'Horizontal span must be a real, integer-valued scalar > 0.';
	return
end


% Check YMin:
% -----------
x = params.YMin;
Nx = GetNumberOfElements(x);
if ~isa(x,'double') | issparse(x) | ~isreal(x) | ...
		(Nx ~= 1),
	msg = 'Y-minimum must be a real-valued scalar.';
	return
end
ymin = x;

% Check YMax:
% -----------
x = params.YMax;
Nx = GetNumberOfElements(x);
if ~isa(x,'double') | issparse(x) | ~isreal(x) | ...
		(Nx ~= 1),
	msg = 'Y-maximum must be a real-valued scalar.';
	return
end
if x<=ymin,
	msg = 'Maximum Y-axis limit must be greater than Minimum Y-axis limit.';
	return
end

% Check FigPos:
% -------------
x = params.FigPos;
if ~isa(x,'double') | issparse(x) | ~isreal(x) | ...
		size(x,1)~= 1 | size(x,2)~=4,
	msg = 'Figure position must be a real-valued 1x4 vector.';
	return
end

% Check LineColors/Styles/Markers:
% ----------------
x = params.LineColors;
if ~ischar(params.LineColors) | ...
		~ischar(params.LineStyles) | ...
		~ischar(params.LineMarkers) | ...
		~ischar(params.LineDisables),
	msg = 'Line Colors, Styles, Markers, and Disables must be strings.';
	return
end

% Check AxisGrid:
% Check AxisZoom:
% Check FrameNumber:
% Check AxisLegend:
% Check Memory:
% Check AxisParams:
% Check LineParams:
% -----------------
% (skip checkboxes)


% ---------------------------------------------------------------
function y = relevant_params_changed(params1, params2)

% Remove the "dialog tab" fields, eg, fields that can change
% without affecting any user options:
%
nop={'ScopeProperties','DisplayProperties','AxisProperties','LineProperties'};

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
555夜色666亚洲国产免| 亚洲最大色网站| 亚洲精品一卡二卡| 麻豆国产精品777777在线| 成人激情免费网站| 日韩欧美卡一卡二| 午夜欧美一区二区三区在线播放| 国产在线观看免费一区| 欧美日韩国产a| 中文字幕日韩一区| 国产999精品久久久久久绿帽| 欧美日韩一区二区三区在线| 中文成人综合网| 麻豆视频一区二区| 欧美日韩国产在线观看| 亚洲男人的天堂网| 福利一区福利二区| 久久亚区不卡日本| 麻豆成人久久精品二区三区小说| 91国产成人在线| 亚洲美女区一区| 91网站黄www| 国产精品网站在线观看| 国产一区二区三区久久久| 日韩视频123| 日本亚洲三级在线| 欧美精品国产精品| 午夜精品久久久久久久99樱桃| 91污片在线观看| 亚洲欧美国产高清| 91美女片黄在线观看91美女| 国产精品成人一区二区艾草| 成人免费高清在线观看| 国产精品久久久久久久久久免费看 | 91在线精品一区二区| 国产日本一区二区| 国产69精品久久久久毛片| 久久免费国产精品| 国产激情视频一区二区在线观看 | 国产欧美日韩在线视频| 国产馆精品极品| 成人免费在线播放视频| 91在线国产福利| 亚洲综合小说图片| 欧美巨大另类极品videosbest | ww久久中文字幕| 国产综合色产在线精品| 国产视频一区二区三区在线观看| 国产精品1区二区.| 国产精品久久网站| 欧洲精品在线观看| 蜜桃在线一区二区三区| 国产无遮挡一区二区三区毛片日本| 国产成都精品91一区二区三| 国产精品三级在线观看| 91黄色免费看| 秋霞成人午夜伦在线观看| 欧美成人国产一区二区| 国产精品 日产精品 欧美精品| 国产精品不卡在线| 欧美性欧美巨大黑白大战| 免费成人在线观看视频| 国产日韩亚洲欧美综合| 91福利国产精品| 精品一区二区三区免费观看| 中文字幕av一区二区三区高| 在线免费av一区| 激情综合网av| 亚洲三级在线观看| 欧美一区永久视频免费观看| 国产成人在线免费| 亚洲不卡一区二区三区| 久久嫩草精品久久久久| 欧美在线播放高清精品| 国产在线日韩欧美| 一区二区三区**美女毛片| 欧美v亚洲v综合ⅴ国产v| 91女人视频在线观看| 免费观看成人av| 一区二区三区精密机械公司| 久久久久久久久免费| 欧美日韩精品专区| 91啪亚洲精品| 成人深夜视频在线观看| 偷拍一区二区三区| 亚洲视频在线观看一区| 欧美变态口味重另类| 在线视频亚洲一区| 福利电影一区二区三区| 裸体在线国模精品偷拍| 亚洲一二三四在线| 国产精品国产三级国产a| 精品免费视频.| 欧美日韩视频在线观看一区二区三区 | 亚洲女爱视频在线| www激情久久| 欧美一区二区三区影视| 欧美中文字幕久久| 99久久99久久精品免费看蜜桃| 精品一区二区三区免费播放| 午夜不卡av在线| 亚洲国产一区二区视频| 国产精品欧美一区二区三区| 欧美精品一区二区三区蜜桃| 91精品国产色综合久久不卡蜜臀| 在线国产电影不卡| 欧美中文字幕一二三区视频| 91美女片黄在线观看91美女| 97se亚洲国产综合自在线不卡| 国产高清久久久久| 国产精品18久久久久久久久 | 国产亚洲女人久久久久毛片| 欧美一区日韩一区| 欧美另类高清zo欧美| 欧美网站一区二区| 欧美午夜在线观看| 欧美性猛交xxxx乱大交退制版 | 一本一道综合狠狠老| 99精品视频在线免费观看| 懂色中文一区二区在线播放| 国产成人免费视频网站| 国产精品1区二区.| 成人一道本在线| 波多野结衣亚洲| 色综合一区二区三区| 在线观看免费亚洲| 欧美日韩黄色一区二区| 777午夜精品免费视频| 欧美电影一区二区| 日韩午夜在线影院| 欧美videossexotv100| 精品国产一区二区国模嫣然| 精品99999| 国产精品美日韩| 亚洲欧美激情在线| 免费成人小视频| 国产91精品露脸国语对白| 成人美女视频在线观看| 91视频免费看| 欧美一区二区视频观看视频| 精品国产电影一区二区| 国产精品免费看片| 亚洲黄色性网站| 免费在线一区观看| 成人激情校园春色| 欧美精品日韩一区| 国产欧美日韩激情| 亚洲一区二区三区四区在线免费观看 | 懂色av一区二区三区免费看| 99麻豆久久久国产精品免费| 欧美私人免费视频| 精品国产一区二区三区久久影院 | 91丨九色丨蝌蚪富婆spa| 欧美三区在线视频| 国产亚洲人成网站| 亚洲aⅴ怡春院| 国产999精品久久久久久 | 色综合久久久久| 精品国产三级电影在线观看| 综合电影一区二区三区 | 99久久精品免费看国产| 欧美一区二区三区喷汁尤物| 国产精品美女www爽爽爽| 午夜精品视频在线观看| 成人国产精品免费观看视频| 欧美精品乱码久久久久久| 国产精品你懂的| 精品一区二区三区免费观看| 色综合久久综合| 久久蜜桃一区二区| 丝袜美腿亚洲综合| 91原创在线视频| 久久婷婷综合激情| 舔着乳尖日韩一区| 91高清在线观看| 综合久久给合久久狠狠狠97色| 精彩视频一区二区| 欧美日韩精品一二三区| 日韩一区在线看| 成人黄色av网站在线| 国产亚洲精品福利| 久久99精品久久久久久动态图 | 91社区在线播放| 中文字幕高清不卡| 国产一区二区三区美女| 欧美日韩一区二区三区四区| 自拍偷拍亚洲激情| 成人av网站免费| 日本一区二区三区dvd视频在线| 免费成人在线视频观看| 91精品国产品国语在线不卡| 一区二区三区四区在线| 成人午夜在线播放| 国产精品三级电影| aaa欧美日韩| 亚洲欧洲av在线| 91麻豆产精品久久久久久| 国产精品久久久久久久久图文区| 国产精品 欧美精品| 国产日韩欧美精品在线|