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

1 vue (au cours des 30 derniers jours)
Is there any possibility that, the string what I selected from the popup menu can be displayed as a label for a figure?
  1 commentaire
Jürgen
Jürgen le 17 Août 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

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 17 Août 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}))

Plus de réponses (0)

Catégories

En savoir plus sur Entering Commands dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by