GUIquestion

조회 수: 2 (최근 30일)
Pan
Pan 2012년 3월 6일
I want to ask about that "str1 = uicontrol('unit','pixel','style','text','fontsize',20,'fontsize',20,'string','Please choose the scene number',... 'position',[350 650 400 30],'units','normalized','backgroundColor',[1,0.3,0.3]);" the string of font style could be changed

채택된 답변

Thomas
Thomas 2012년 3월 6일
Your position of [350 650 400 30] is placing the box and text outside the figure.
USe:
str1 = uicontrol('unit','pixel','style','text','fontsize',20,'String','Please choose the scen1e number','position',[20 200 400 50],'units','normalized','backgroundColor',[1,0.3,0.3])

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 NaNs에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by