MATLAB Creating Graphical User Interfaces
Add Components to a Programmatic UI Add Components to a Programmatic UI In this section... “User Interface Controls” on page 10- ...
10 Lay Out a Programmatic UI The first uicontrol argument, f, specifies the parent container. In this case, the parent is a figu ...
Add Components to a Programmatic UI 'String','Indent nested functions.',... 'Value',1,'Position',[30 20 150 20]); The first uico ...
10 Lay Out a Programmatic UI The first uicontrol argument, f, specifies the parent container. In this case, the parent is a figu ...
Add Components to a Programmatic UI 'Value',1,'Position',[30 20 130 20]); The first uicontrol argument, f, specifies the parent ...
10 Lay Out a Programmatic UI The first uicontrol argument, f, specifies the parent container. In this case, the parent is a figu ...
Add Components to a Programmatic UI bar, you can uses this behavior to indicate how much of the document is currently visible by ...
10 Lay Out a Programmatic UI The first uicontrol argument, f, specifies the parent container. In this case, the parent is a figu ...
Add Components to a Programmatic UI 'String','Enter your name here', specifies the default text to display. The next pair, 'Posi ...
10 Lay Out a Programmatic UI Pop-Up Menu This code creates a pop-up menu: f = figure; pm = uicontrol(f,'Style','popupmenu',... ' ...
Add Components to a Programmatic UI The first uicontrol argument, f, specifies the parent container. In this case, the parent is ...
10 Lay Out a Programmatic UI The first uicontrol argument, f, specifies the parent container. In this case, the parent is a figu ...
Add Components to a Programmatic UI If you want no initial selection, set these property values: Set the Max and Min properties ...
10 Lay Out a Programmatic UI You can change several other characteristics of the table by setting certain properties: To contro ...
Add Components to a Programmatic UI The first argument passed to uipanel, f, specifies the parent container. In this case, the p ...
10 Lay Out a Programmatic UI b1 = uicontrol(p,'Style','pushbutton','String','Button 1',... 'Units','normalized',... 'Position',[ ...
Add Components to a Programmatic UI The first argument passed to uibuttongroup, f, specifies the parent container. In this case, ...
10 Lay Out a Programmatic UI rb1 = uicontrol(bg,'Style','radiobutton','String','Red',... 'Units','normalized',... 'Position',[.1 ...
Add Components to a Programmatic UI f = figure; ax = axes('Parent',f,'Position',[.15 .15 .7 .7]); The first two arguments passed ...
10 Lay Out a Programmatic UI The default value of the NextPlot axes property, 'replace' allows the graphing functions to reset m ...
«
13
14
15
16
17
18
19
20
21
22
»
Free download pdf