📄 topgui.m
字号:
h29 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.507936507936508,...
'ForegroundColor',[1 1 1],...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.920704845814978 0.720496894409938 0.0572687224669604 0.0326086956521739],...
'String','(1:nely)',...
'Style','text',...
'Tag','text_lim_j');
h30 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.4,...
'FontWeight','bold',...
'ForegroundColor',[1 1 1],...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.851321585903084 0.597826086956522 0.121145374449339 0.0450310559006211],...
'String','Selected nodes :',...
'Style','text',...
'Tag','text26');
h31 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.627450980392157,...
'ForegroundColor',[1 1 0],...
'ListboxTop',0,...
'Position',[0.895374449339208 0.577639751552795 0.0352422907488987 0.0279503105590062],...
'String','0',...
'Style','text',...
'Tag','text_num_nodes_selected');
h32 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.56140350877193,...
'FontWeight','bold',...
'ForegroundColor',[1 1 1],...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.851321585903084 0.529503105590062 0.133259911894273 0.0326086956521739],...
'String','Constrained dofs :',...
'Style','text',...
'Tag','text29');
h33 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.711111111111111,...
'FontWeight','bold',...
'ForegroundColor',[1 1 1],...
'ListboxTop',0,...
'Position',[0.874449339207049 0.506211180124224 0.051762114537445 0.0232919254658385],...
'String','Ux :',...
'Style','text',...
'Tag','text30');
h34 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.7,...
'ForegroundColor',[1 1 0],...
'ListboxTop',0,...
'Position',[0.919603524229075 0.501552795031056 0.0594713656387665 0.0232919254658385],...
'String','0',...
'Style','text',...
'Tag','text_num_constrained_ux');
h35 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.711111111111111,...
'FontWeight','bold',...
'ForegroundColor',[1 1 1],...
'ListboxTop',0,...
'Position',[0.874449339207049 0.462732919254658 0.051762114537445 0.0232919254658385],...
'String','Uy :',...
'Style','text',...
'Tag','text32');
h36 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'CData',zeros(1,0),...
'FontSize',0.7,...
'ForegroundColor',[1 1 0],...
'ListboxTop',0,...
'Position',[0.920704845814978 0.462732919254658 0.0594713656387665 0.0232919254658385],...
'String','0',...
'Style','text',...
'Tag','text_num_constrained_uy',...
'UserData',zeros(1,0));
h37 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.56140350877193,...
'FontWeight','bold',...
'ForegroundColor',[1 1 1],...
'HorizontalAlignment','left',...
'ListboxTop',0,...
'Position',[0.851321585903084 0.409937888198758 0.118942731277533 0.0326086956521739],...
'String','Forces of dofs:',...
'Style','text',...
'Tag','text35');
h38 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.711111111111111,...
'FontWeight','bold',...
'ForegroundColor',[1 1 1],...
'ListboxTop',0,...
'Position',[0.875550660792952 0.386645962732919 0.051762114537445 0.0232919254658385],...
'String','Fx :',...
'Style','text',...
'Tag','text36');
h39 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.711111111111111,...
'FontWeight','bold',...
'ForegroundColor',[1 1 1],...
'ListboxTop',0,...
'Position',[0.875550660792952 0.352484472049689 0.051762114537445 0.0232919254658385],...
'String','Fy :',...
'Style','text',...
'Tag','text37');
h40 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.666666666666667,...
'ForegroundColor',[1 1 0],...
'ListboxTop',0,...
'Position',[0.919603524229075 0.386645962732919 0.0594713656387665 0.0232919254658385],...
'String','0',...
'Style','text',...
'Tag','text_num_force_fx');
h41 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.666666666666667,...
'ForegroundColor',[1 1 0],...
'ListboxTop',0,...
'Position',[0.919603524229075 0.349378881987578 0.0594713656387665 0.0232919254658385],...
'String','0',...
'Style','text',...
'Tag','text_num_force_fy');
h42 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0.501960784313725 0 0.250980392156863],...
'Callback','topgui(''pushbutton_OK_Callback'',gcbo,[],guidata(gcbo))',...
'FontSize',0.55,...
'FontWeight','bold',...
'ForegroundColor',[0.752941176470588 0.752941176470588 0.752941176470588],...
'ListboxTop',0,...
'Position',[0.878854625550661 0.0900621118012422 0.106828193832599 0.0496894409937888],...
'String','Finish >>',...
'TooltipString','Finish input and start optimization.',...
'Tag','pushbutton_OK');
h43 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'CData',zeros(1,0),...
'FontSize',0.6,...
'FontWeight','bold',...
'ForegroundColor',[0 1 0.250980392156863],...
'HorizontalAlignment','right',...
'ListboxTop',0,...
'Position',[0.0374449339207049 0.156832298136646 0.123348017621145 0.0326086956521739],...
'String','Selection type :',...
'Style','text',...
'TooltipString','New - starting a new selection. Add - Adding nodes to previous selection.',...
'Tag','text43',...
'UserData',zeros(1,0));
h44 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'CData',zeros(1,0),...
'FontSize',0.5,...
'FontWeight','bold',...
'ForegroundColor',[0.501960784313725 1 0],...
'HorizontalAlignment','right',...
'ListboxTop',0,...
'Position',[0.013215859030837 0.093167701863354 0.147577092511013 0.0403726708074534],...
'String','Selecting method :',...
'Style','text',...
'TooltipString','Input - Input nodes index in Matlab vector format.. Pick - PIck nodes by mouse in GUI..',...
'Tag','text44',...
'UserData',zeros(1,0));
h45 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.0867208672086721,...
'ListboxTop',0,...
'Position',[0.325991189427313 0.0714285714285714 0.257709251101322 0.175465838509317],...
'String',{ '' },...
'Style','frame',...
'Tag','frame6');
h46 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0 0.627450980392157],...
'FontSize',0.55,...
'FontWeight','bold',...
'ForegroundColor',[1 1 1],...
'ListboxTop',0,...
'Position',[0.33920704845815 0.229813664596273 0.158590308370044 0.0326086956521739],...
'String','Apply/Clear Constrains ',...
'Style','text',...
'Tag','text3');
h47 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[1 1 1],...
'FontSize',0.56140350877193,...
'ListboxTop',0,...
'Position',[0.436123348017621 0.158385093167702 0.0770925110132159 0.0372670807453416],...
'String',{ 'Ux' 'Uy' 'Ux,Uy' },...
'Style','popupmenu',...
'Value',1,...
'CreateFcn','topgui(''popupmenu_constrain_type_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','popupmenu_constrain_type');
h48 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0.501960784313725 0 0.250980392156863],...
'Callback','topgui(''pushbutton_constrain_apply_Callback'',gcbo,[],guidata(gcbo))',...
'FontSize',0.5,...
'FontWeight','bold',...
'ForegroundColor',[0.752941176470588 0.752941176470588 0.752941176470588],...
'ListboxTop',0,...
'Position',[0.436123348017621 0.093167701863354 0.0594713656387665 0.0372670807453416],...
'String','Apply',...
'TooltipString','Apply specified constrains on selected nodes.',...
'Tag','pushbutton_constrain_apply');
h49 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0.501960784313725 0 0.250980392156863],...
'Callback','topgui(''pushbutton_constrain_clear_Callback'',gcbo,[],guidata(gcbo))',...
'FontSize',0.5,...
'FontWeight','bold',...
'ForegroundColor',[0.752941176470588 0.752941176470588 0.752941176470588],...
'ListboxTop',0,...
'Position',[0.511013215859031 0.093167701863354 0.0594713656387665 0.0372670807453416],...
'String','Clear',...
'TooltipString','Clear the specified constrains on selected ndoes.',...
'Tag','pushbutton_constrain_clear');
h50 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'CData',zeros(1,0),...
'FontSize',0.5,...
'FontWeight','bold',...
'ForegroundColor',[0.501960784313725 1 0],...
'HorizontalAlignment','right',...
'ListboxTop',0,...
'Position',[0.361233480176212 0.150621118012422 0.0616740088105727 0.0434782608695652],...
'String','Dof :',...
'Style','text',...
'Tag','text45',...
'UserData',zeros(1,0));
h51 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'CData',zeros(1,0),...
'FontSize',0.5,...
'FontWeight','bold',...
'ForegroundColor',[0.501960784313725 1 0],...
'HorizontalAlignment','right',...
'ListboxTop',0,...
'Position',[0.333700440528635 0.0869565217391304 0.0892070484581498 0.0403726708074534],...
'String','Operation :',...
'Style','text',...
'Tag','text46',...
'UserData',zeros(1,0));
h52 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0.501960784313725 0.752941176470588],...
'FontSize',0.0927536231884058,...
'ListboxTop',0,...
'Position',[0.598017621145374 0.0698757763975155 0.262114537444934 0.177018633540373],...
'String',{ '' },...
'Style','frame',...
'Tag','frame7');
h53 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[1 1 1],...
'FontSize',0.6,...
'ListboxTop',0,...
'Position',[0.70704845814978 0.166149068322981 0.0759911894273128 0.0357142857142857],...
'String',{ 'Fx' 'Fy' },...
'Style','popupmenu',...
'Value',1,...
'CreateFcn','topgui(''popupmenu_force_type_CreateFcn'',gcbo,[],guidata(gcbo))',...
'Tag','popupmenu_force_type');
h54 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0.501960784313725 0 0.250980392156863],...
'Callback','topgui(''pushbutton_force_apply_Callback'',gcbo,[],guidata(gcbo))',...
'FontSize',0.5,...
'FontWeight','bold',...
'ForegroundColor',[0.752941176470588 0.752941176470588 0.752941176470588],...
'ListboxTop',0,...
'Position',[0.708149779735683 0.0978260869565217 0.0550660792951542 0.0357142857142857],...
'String','Apply',...
'TooltipString','Apply specified forces on selected nodes.',...
'Tag','pushbutton_force_apply');
h55 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0.501960784313725 0 0.250980392156863],...
'Callback','topgui(''pushbutton_force_clear_Callback'',gcbo,[],guidata(gcbo))',...
'FontSize',0.5,...
'FontWeight','bold',...
'ForegroundColor',[0.752941176470588 0.752941176470588 0.752941176470588],...
'ListboxTop',0,...
'Position',[0.784140969162996 0.0978260869565217 0.0550660792951542 0.0357142857142857],...
'String','Clear',...
'TooltipString','Clear specified forces on selected nodes.',...
'Tag','pushbutton_force_clear');
h56 = uicontrol(...
'Parent',h1,...
'Units','normalized',...
'FontUnits','normalized',...
'BackgroundColor',[0 0 0.62745098039215
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -