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

1 次查看(过去 30 天)
Is there any possibility that, the string what I selected from the popup menu can be displayed as a label for a figure?

采纳的回答

Walter Roberson
Walter Roberson 2012-8-17
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 个)

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by