Is there any possibility that, the string what I selected from the popup menu can be displayed as a label for a figure?

1 Ansicht (letzte 30 Tage)
Is there any possibility that, the string what I selected from the popup menu can be displayed as a label for a figure?
  1 Kommentar
Jürgen
Jürgen am 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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by