title from indexed variables
2 次查看(过去 30 天)
显示 更早的评论
Hello, probably this is an easy answer, but I was wondering how I can call directly the 'variable' name as the title of a plot ?. Just the exact characters, for example the one showed in the red circle, it normally changes according to the .mat file. Thanks.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/590132/image.jpeg)
4 个评论
the cyclist
2021-4-20
Suppose for first .mat file, the field names are Height, Error, vrad.
Suppose for the second .mat file, the field names are Error, vrad, Height, specWidth.
How do you decide which field you want to be part of the title?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!