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?
1 个评论
Jürgen
2012-8-17
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
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!