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)
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
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

Sign in to comment.

Accepted Answer

Walter Roberson
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}))

More Answers (0)

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!