📄 chap7c.m
字号:
function fig = chap7c()% This is the machine-generated representation of a Handle Graphics object% and its children. Note that handle values may change when these objects% are re-created. This may cause problems with any callbacks written to% depend on the value of the handle at the time the object was saved.%% To reopen this object, just type the name of the M-file at the MATLAB% prompt. The M-file and its associated MAT-file must be on your path.load chap7ch0 = figure('Units','points', ... 'Color',[0.8 0.8 0.8], ... 'Colormap',mat0, ... 'PointerShapeCData',mat1, ... 'Position',[183.75 63.75 549 426], ... 'Tag','Fig1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[421.5 192.75 45 15], ... 'String','5', ... 'Style','edit', ... 'Tag','R');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'Callback','chap7c_func', ... 'ListboxTop',0, ... 'Position',[419.25 105.75 45 15], ... 'String','Simulate', ... 'Tag','Pushbutton1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ... 'ListboxTop',0, ... 'Position',[350 192.25 50 15], ... 'String','Cell Radius', ... 'Style','text', ... 'Tag','StaticText1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ... 'ListboxTop',0, ... 'Position',[350 165 50 15], ... 'String','alpha', ... 'Style','text', ... 'Tag','StaticText1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[421.5 165.75 45 15], ... 'String','0.785', ... 'Style','edit', ... 'Tag','alpha');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ... 'ListboxTop',0, ... 'Position',[350 130.75 50 30], ... 'String','Velocity Standard Deviation', ... 'Style','text', ... 'Tag','StaticText1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[420.75 134.75 45 15], ... 'String','5', ... 'Style','edit', ... 'Tag','std');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ... 'ListboxTop',0, ... 'Position',[476.25 192.25 45 15], ... 'String','km', ... 'Style','text', ... 'Tag','StaticText1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ... 'ListboxTop',0, ... 'Position',[476.25 135.5 45 15], ... 'String','km/hour', ... 'Style','text', ... 'Tag','StaticText1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',[65 285 430 111.75], ... 'String',mat2, ... 'Style','text', ... 'Tag','StaticText2');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ... 'FontSize',10, ... 'ListboxTop',0, ... 'Position',[65 400 430 15.5], ... 'String','P7-17(c): User Mobility Statistics - Mean Handoff Rate', ... 'Style','text', ... 'Tag','StaticText1');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',[65 270 430 45], ... 'String',mat3, ... 'Style','text', ... 'Tag','StaticText1');h1 = axes('Parent',h0, ... 'CameraUpVector',[0 1 0], ... 'CameraUpVectorMode','manual', ... 'Color',[1 1 1], ... 'ColorOrder',mat4, ... 'Position',[0.1448087431693989 0.09859154929577466 0.4248633879781421 0.5070422535211268], ... 'Tag','Axes1', ... 'XColor',[0 0 0], ... 'YColor',[0 0 0], ... 'ZColor',[0 0 0]);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','center', ... 'Position',[0.4967741935483871 -0.08362369337979114 9.160254037844386], ... 'Tag','Axes1Text4', ... 'VerticalAlignment','cap');set(get(h2,'Parent'),'XLabel',h2);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','center', ... 'Position',[-0.09354838709677421 0.494773519163763 9.160254037844386], ... 'Rotation',90, ... 'Tag','Axes1Text3', ... 'VerticalAlignment','baseline');set(get(h2,'Parent'),'YLabel',h2);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','right', ... 'Position',[-0.3451612903225806 1.777003484320557 9.160254037844386], ... 'Tag','Axes1Text2', ... 'Visible','off');set(get(h2,'Parent'),'ZLabel',h2);h2 = text('Parent',h1, ... 'Color',[0 0 0], ... 'HandleVisibility','off', ... 'HorizontalAlignment','center', ... 'Position',[0.4967741935483871 1.024390243902439 9.160254037844386], ... 'Tag','Axes1Text1', ... 'VerticalAlignment','bottom');set(get(h2,'Parent'),'Title',h2);h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[1 1 1], ... 'ListboxTop',0, ... 'Position',[422.25 222 45 15], ... 'String','200', ... 'Style','edit', ... 'Tag','Nms');h1 = uicontrol('Parent',h0, ... 'Units','points', ... 'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ... 'ListboxTop',0, ... 'Position',[350 221.25 50 23.25], ... 'String','Number of Samples', ... 'Style','text', ... 'Tag','StaticText1');if nargout > 0, fig = h0; end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -