Customed uipanel in matlab figure.

Hello everyone,
First please see the attach photo as my question will be quiet self explanatory from it. I have drawn 3D radiation pattern of an antenna and now in that figure I want to insert a box in which there will general parameter values and some text will shown as can be seen from the figure. My question is how to make that box. So far I created "uipanel" but don't know how to input different parameters in it. Any help will be appreciated. Thank you. (the picture is taken from official matlab function drawing radiation pattern)

 Respuesta aceptada

Geoff Hayes
Geoff Hayes el 13 de Ag. de 2016
ehtisham - I suspect that one or more static text controls are used to display the parameter values. For example, there may be one static text control for the output and you would update its string value as
outputType = 'Directivity';
outputString = sprintf('Output : %s', outputType);
set(handles.text1, 'String', outputString);
Or there could be just one multi-line static text control that is updated with all of the text. See adding static text programmatically for details.

Más respuestas (0)

Categorías

Más información sobre Desktop en Centro de ayuda y File Exchange.

Preguntada:

el 11 de Ag. de 2016

Respondida:

el 13 de Ag. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by