Is there any possibility that, the string what I selected from the popup menu can be displayed as a label for a figure?
1 view (last 30 days)
Show older comments
Is there any possibility that, the string what I selected from the popup menu can be displayed as a label for a figure?
1 Comment
Jürgen
on 17 Aug 2012
Hello, I think you will have to give a bit more info, because to me at least it is not clear what you want to do? regards,Jürgen
Accepted Answer
Walter Roberson
on 17 Aug 2012
Take the string E{1}(E{2}) that you got from your previous question http://www.mathworks.co.uk/matlabcentral/answers/46177-how-to-get-the-data-from-a-popup-menu-and-display-the-selected-data-in-list-box, and pass it to xlabel() or ylabel() as appropriate.
ylabel(E{1}(E{2}))
0 Comments
More Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!