正在加载图片...
He esli=uncontrol(Hf fig, 'style,'slider position;,[.92.50442], min,-90,'max,90,'val, CVIEW(2) callback,'mmview3d(992)): Place the text boxes showing the minimum and maximum values at ends of each slider, These are text displays, and cannot be edited uncontrol(Hf fig,'style,text )2.02.07.05], string, num2str(get( Hc asli,min): uncontrol(Hf fig, 'style,text pos",[.39.02.07.05], string, num2str(get(Hc esli,'min)): uncontrol(Hf fig,'style,text pos",[915.92.05 string, num2str(get(Hc esli,max) Place labels for each slider le',' te pos",[9.09508.1505] string",' Azimuth’) uncontrol(Hf fig,'style,text pos’",[.885.391105], string,' Elevation') %o Define the current value text displays for each slider These are editable text display the current value of the slider and at the same time allow the user to enter %o Note that the text is centered on XWindow Systems, but is left-justified on MS-Windows and Macintosh machines The initial value is found from the value of the sliders When text is entered into the text area and the return key is %o pressed, the callback string is evalueated He acur=uncontrol(Hf fig,'style,editHc_esli=uicontrol(Hf_fig, ' style ' , ' slider ' ,... ' position;,[.92 .5 .04 .42],... ' min ' ,-90, ' max ' ,90, ' val ' ,CVIEW(2),... ' callback ' , ' mmview3d(992) ' ); %-------------------------------------------------------------------- % Place the text boxes showing the minimum and maximum values at the % ends of each slider, These are text displays, and cannot be edited. %--------------------------------------------------------------------- uicontrol(Hf_fig, ' style ' , ' text ' ,... ' pos ' ,[.02 .02 .07 .05],... ' string ' ,num2str(get(Hc_asli, ' min ' ))); uicontrol(Hf_fig, ' style ' , ' text ' ,... ' pos' ,[.39 .02 .07 .05],... ' string ' ,num2str(get(Hc_esli, ' min ' ))); uicontrol(Hf_fig, ' style ' , ' text ' ,... ' pos ' ,[.915 .92 .05 .05],... ' string ' ,num2str(get(Hc_esli, ' max ' ))); %-------------------------------------------------------------------- % Place labels for each slider %-------------------------------------------------------------------- uicontrol(Hf_fig, ' style ' , ' text ' ,... ' pos ' ,[9.095 .08 .15 .05],... ' string ' , ' Azimuth ' ); uicontrol(Hf_fig, ' style ' , ' text ' ,... ' pos ' ,[.885 .39 .11 .05],... ' string ' , ' Elevation ' ); %-------------------------------------------------------------------- % Define the current value text displays for each slider, %-------------------------------------------------------------------- % These are editable text display the current value % of the slider and at the same time allow the user to enter % a value using the keyboard. % % Note that the text is centered on XWindow Systems,but is % left-justified on MS-Windows and Macintosh machines. % % The initial value is found from the value of the sliders. % When text is entered into the text area and the return key is % pressed, the callback string is evalueated. %-------------------------------------------------------------------- Hc_acur=uicontrol(Hf_fig, ' style ' , ' edit '
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有