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

1 visualización (últimos 30 días)
Is there any possibility that, the string what I selected from the popup menu can be displayed as a label for a figure?
  1 comentario
Jürgen
Jürgen el 17 de Ag. de 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

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 17 de Ag. de 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}))

Más respuestas (0)

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by