?? gmvizgui1.m
字號(hào):
function fig = gmvizgui1()% 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 gmvizgui1h0 = figure('Units','characters', ... 'CloseRequestFcn','gmvizgui_callback(0)', ... 'Color',[0.8 0.8 0.8], ... 'Colormap',mat0, ... 'HandleVisibility','off', ... 'PointerShapeCData',mat1, ... 'Position',[85.80000000000001 3.153846153846154 90.2 52.15384615384615], ... 'Tag','gmvizgui');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',[12 4.615384615384615 68 10], ... 'Style','frame', ... 'Tag','Frame5');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',mat2, ... 'String','---GRAPHICS CONTROL---', ... 'Style','text', ... 'Tag','StaticText1');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',[12 41.61538461538462 68 8.461538461538462], ... 'Style','frame', ... 'Tag','Frame1');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',mat3, ... 'String','Graphics Engine Selection', ... 'Style','text', ... 'Tag','StaticText2');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat4, ... 'String','2D Graphics Engine', ... 'Style','text', ... 'Tag','StaticText3');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat5, ... 'String','3D Graphics Engine', ... 'Style','text', ... 'Tag','StaticText4');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(1)', ... 'ListboxTop',0, ... 'Position',mat6, ... 'String','Internal (Matlab)', ... 'Style','radiobutton', ... 'Tag','2dGraphicsMatlab');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(2)', ... 'ListboxTop',0, ... 'Position',mat7, ... 'String','External (VRML)', ... 'Style','radiobutton', ... 'Tag','2dGraphicsVRML');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(3)', ... 'ListboxTop',0, ... 'Position',mat8, ... 'String','Internal (Matlab)', ... 'Style','radiobutton', ... 'Tag','3dGraphicsMatlab');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(4)', ... 'ListboxTop',0, ... 'Position',[44 43.07692307692308 23.4 1.461538461538462], ... 'String','External (VRML)', ... 'Style','radiobutton', ... 'Tag','3dGraphicsVRML');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',[12 33.84615384615385 68 6.384615384615385], ... 'Style','frame', ... 'Tag','Frame2');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',mat9, ... 'String','Object Width Control', ... 'Style','text', ... 'Tag','StaticText5');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(5)', ... 'ListboxTop',0, ... 'Position',mat10, ... 'Style','slider', ... 'Tag','PointWidthSlider');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat11, ... 'String','Point width = 0', ... 'Style','text', ... 'Tag','PointWidthText');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(6)', ... 'ListboxTop',0, ... 'Position',mat12, ... 'Style','slider', ... 'Tag','LineWidthSlider');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',[48 36.92307692307693 27 1.461538461538462], ... 'String','Line width = 0', ... 'Style','text', ... 'Tag','LineWidthText');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',[12 26.92307692307692 68 6.153846153846154], ... 'Style','frame', ... 'Tag','Frame3');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',[32 29.30769230769231 32 3.076923076923077], ... 'String','Number of Bezier Subdivisions', ... 'Style','text', ... 'Tag','StaticText8');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat13, ... 'String','4 per segment; 10 per triangle', ... 'Style','text', ... 'Tag','BezierSubdivText');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(7)', ... 'ListboxTop',0, ... 'Position',mat14, ... 'Style','slider', ... 'Tag','BezierSubdivSlider');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',mat15, ... 'Style','frame', ... 'Tag','Frame4');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',mat16, ... 'String','Default Color', ... 'Style','text', ... 'Tag','StaticText10');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat17, ... 'String','Red = 1.000', ... 'Style','text', ... 'Tag','RedText');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(8)', ... 'ListboxTop',0, ... 'Position',mat18, ... 'Style','slider', ... 'Tag','RedSlider');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat19, ... 'String','Green = 1.000', ... 'Style','text', ... 'Tag','GreenText');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(9)', ... 'ListboxTop',0, ... 'Position',mat20, ... 'Style','slider', ... 'Tag','GreenSlider');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat21, ... 'String','Blue = 1.000', ... 'Style','text', ... 'Tag','BlueText');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(10)', ... 'ListboxTop',0, ... 'Position',mat22, ... 'Style','slider', ... 'Tag','BlueSlider');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat23, ... 'String','Opacity = 1.000', ... 'Style','text', ... 'Tag','OpacityText');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(11)', ... 'ListboxTop',0, ... 'Position',mat24, ... 'Style','slider', ... 'Tag','OpacitySlider');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',mat25, ... 'String','VRML File Control', ... 'Style','text', ... 'Tag','StaticText15');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat26, ... 'String','File name:', ... 'Style','text', ... 'Tag','StaticText16');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[1 1 1], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat27, ... 'Style','edit', ... 'Tag','FileNameEdit');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'HorizontalAlignment','left', ... 'ListboxTop',0, ... 'Position',mat28, ... 'String','Open mode:', ... 'Style','text', ... 'Tag','StaticText17');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(12)', ... 'ListboxTop',0, ... 'Position',mat29, ... 'String','Replace', ... 'Style','radiobutton', ... 'Tag','FileReplace');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'Callback','gmvizgui_callback(13)', ... 'ListboxTop',0, ... 'Position',mat30, ... 'String','Append', ... 'Style','radiobutton', ... 'Tag','FileAppend');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ... 'ListboxTop',0, ... 'Position',mat31, ... 'String','Notify web browser on each update', ... 'Style','checkbox', ... 'Tag','Notify');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'Callback','gmvizgui_callback(14)', ... 'ListboxTop',0, ... 'Position',mat32, ... 'String','Reset to Defaults', ... 'Tag','Pushbutton1');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'Callback','gmvizgui_callback(0)', ... 'ListboxTop',0, ... 'Position',mat33, ... 'String','Hide', ... 'Tag','Pushbutton2');h1 = uicontrol('Parent',h0, ... 'Units','characters', ... 'ListboxTop',0, ... 'Position',[38 20 12 1.538461538461538], ... 'Style','frame', ... 'Tag','ColorShowFrame');if nargout > 0, fig = h0; end
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -