Customed uipanel in matlab figure.
6 views (last 30 days)
Show older comments
ehtisham asghar
on 11 Aug 2016
Answered: Geoff Hayes
on 13 Aug 2016
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)
0 Comments
Accepted Answer
Geoff Hayes
on 13 Aug 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.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!