GUIquestion

2 visualizaciones (últimos 30 días)
Pan
Pan el 6 de Mzo. de 2012
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

Respuesta aceptada

Thomas
Thomas el 6 de Mzo. de 2012
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])

Más respuestas (0)

Categorías

Más información sobre NaNs en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by